Book description
Introduced a quarter-century ago, the Oracle database remains the leading enterprise relational database management system (RDBMS) in the world. Oracle is a complex system, offering a myriad of products, languages, and tools. Frequent updates, releases, and editions complicate the ability of Oracle users to keep up with the huge amounts of frequently changing information about the database and its capabilities.The goal of Oracle in a Nutshell is to pull together the most essential information on Oracle architecture, syntax, and user interfaces. The content and format of this book, an admirable addition to O'Reilly's respected In-a-Nutshell line, combine to boil down vital Oracle commands, language constructs, parameters, and file formats in a succinct and highly accessible desktop reference.Oracle in a Nutshell covers the information that database administrators PL/SQL and Java developers, and system, network, and security administrators need as they manage Oracle databases and write code for these databases. It includes:
- Oracle Foundations--Overview of the Oracle architecture (memory structures and fundamental concepts), Oracle's various editions and packaging options, summary of the initialization file parameters and data dictionary views, and fundamentals of Oracle's concurrency scheme, security mechanisms (privileges, profiles, roles), and networking files (TNSNAMES.ORA, SQLNET.ORA, LISTENER.ORA, DAP.ORA, NAMES.ORA, CMAN.ORA) and options.
- Oracle Languages--Syntax summary for SQL language statements, SQL function calls PL/SQL language statements and characteristics, PL/SQL built-in package headers, and Java (JDBC and SQLJ) interfaces to the Oracle database.
- Oracle Tools--Commands provided with SQLPlus, SQLLoader, Import and Export, Oracle Recovery Manager (RMAN) and other backup/recovery methods, Oracle Enterprise Manager, and various performance tuning tools (Explain Plan, TKPROF, AUTOTRACE, UTLBSTAT, UTLESTAT, Statspack).
- Appendixes--Summary of Oracle datatypes, operators, expressions, conditions, numeric and date formats, and resources for additional reading.
Publisher resources
Table of contents
- Oracle in a Nutshell
- Dedication
- Preface
-
I. Foundations
- 1. Architecture and Packaging
-
2. Configuration
- Parameter Files and Types
-
Initialization Parameters
- Auditing
- Backup and Recovery
-
Clustered Databases
- CLUSTER_DATABASE
- CLUSTER_DATABASE_INSTANCES
- CLUSTER_INTERCONNECTS
- DELAYED_LOGGING_BLOCK_CLEANOUTS
- DRS_START
- GC_DEFER_TIME
- GC_FILES_TO_LOCKS
- GC_LCK_PROCS
- GC_RELEASABLE_LOCKS
- GC_ROLLBACK_LOCKS
- INSTANCE_GROUPS
- INSTANCE_NAME
- INSTANCE_NUMBER
- LM_LOCKS
- LM_PROCS
- LM_RESS
- LOG_FILE_NAME_CONVERT
- MAX_COMMIT_PROPAGATION_DELAY
- OPS_ADMIN_GROUP
- PARALLEL_SERVER
- PARALLEL_SERVER_IDLE_TIME
- PARALLEL_SERVER_INSTANCES
- Cursors
- Database Links
- Distributed Operations and Heterogeneous Services
- I/O and Space Management
- Java
- Jobs
- Licenses
- Locking and Transactions
-
Logging and Archiving
- ARCH_IO_SLAVES
- ARCHIVE_LAG_TARGET
- CPU_COUNT
- DB_CREATE_ONLINE_LOG_DEST_n
- FAL_CLIENT
- FAL_SERVER
- LOG_ARCHIVE_BUFFER_SIZE
- LOG_ARCHIVE_BUFFERS
- LOG_ARCHIVE_DEST
- LOG_ARCHIVE_DEST_n
- LOG_ARCHIVE_DEST_STATE_n
- LOG_ARCHIVE_DUPLEX_DEST
- LOG_ARCHIVE_FORMAT
- LOG_ARCHIVE_MAX_PROCESSES
- LOG_ARCHIVE_MIN_SUCCEED_DEST
- LOG_ARCHIVE_START
- LOG_ARCHIVE_TRACE
- LOG_FILES
- REMOTE_ARCHIVE_ENABLE
- TAPE_ASYNCH_IO
-
Memory Management
- BITMAP_MERGE_AREA_SIZE
- BUFFER_POOL_KEEP
- BUFFER_POOL_RECYCLE
- CACHE_SIZE_THRESHOLD
- CREATE_BITMAP_AREA_SIZE
- DB_CACHE_ADVICE
- DB_nK_CACHE_SIZE
- DB_BLOCK_BUFFERS
- DB_CACHE_SIZE
- DB_KEEP_CACHE_SIZE
- DB_RECYCLE_CACHE_SIZE
- HASH_AREA_SIZE
- HI_SHARED_MEMORY_ADDRESS
- LARGE_POOL_MIN_ALLOC
- LARGE_POOL_SIZE
- LOCK_SGA
- OBJECT_CACHE_MAX_SIZE_PERCENT
- OBJECT_CACHE_OPTIMAL_SIZE
- PGA_AGGREGATE_TARGET
- PRE_PAGE_SGA
- SEQUENCE_CACHE_ENTRIES
- SGA_MAX_SIZE
- SHARED_MEMORY_ADDRESS
- SHARED_POOL_RESERVED_MIN_ALLOC
- SHARED_POOL_RESERVED_SIZE
- SHARED_POOL_SIZE
- SORT_AREA_RETAINED_SIZE
- SORT_AREA_SIZE
- USE_INDIRECT_DATA_BUFFERS
- WORKAREA_SIZE_POLICY
- Names
- National Language Support (NLS)
-
Optimization and Performance
- B_TREE_BITMAP_PLANS
- BLANK_TRIMMING
- FAST_FULL_SCAN_ENABLED
- HASH_JOIN_ENABLED
- OPTIMIZER_FEATURES_ENABLE
- OPTIMIZER_INDEX_CACHING
- OPTIMIZER_INDEX_COST_ADJ
- OPTIMIZER_MAX_PERMUTATIONS
- OPTIMIZER_MODE
- OPTIMIZER_PERCENT_PARALLEL
- OPTIMIZER_SEARCH_LIMIT
- PARTITION_VIEW_ENABLED
- QUERY_REWRITE_ENABLED
- QUERY_REWRITE_INTEGRITY
- READ_ONLY_OPEN_DELAYED
- SEQUENCE_CACHE_HASH_BUCKET
- STAR_TRANSFORMATION_ENABLED
- TIMED_OS_STATISTICS
- TIMED_STATISTICS
-
Parallel Execution
- PARALLEL_ADAPTIVE_MULTI_USER
- PARALLEL_AUTOMATIC_TUNING
- PARALLEL_BROADCAST_ENABLED
- PARALLEL_DEFAULT_MAX_INSTANCES
- PARALLEL_EXECUTION_MESSAGE_SIZE
- PARALLEL_INSTANCE_GROUP
- PARALLEL_MAX_SERVERS
- PARALLEL_MIN_MESSAGE_POOL
- PARALLEL_MIN_PERCENT
- PARALLEL_MIN_SERVERS
- PARALLEL_THREADS_PER_CPU
- PARALLEL_TRANSACTION_RESOURCE_TIMEOUT
- Parameters
- PL/SQL
- Remote Sites
- Rollback (Undo/Redo) Management
- Security
- Shared Server/Multi-Threaded Server
- Sorts
- Standby Databases
-
System Operations
- BACKGROUND_CORE_DUMP
- BACKGROUND_DUMP_DEST
- CONTROL_FILE_RECORD_KEEP_TIME
- CONTROL_FILES
- CORE_DUMP_DEST
- DB_BLOCK_CHECKPOINT_BATCH
- DB_BLOCK_CHECKSUM
- DB_BLOCK_LRU_EXTENDED_STATISTICS
- DB_BLOCK_LRU_LATCHES
- DB_BLOCK_LRU_STATISTICS
- DB_BLOCK_MAX_DIRTY_TARGET
- DB_WRITER_PROCESSES
- DBWR_IO_SLAVES
- MAX_DUMP_FILE_SIZE
- PROCESSES
- RESOURCE_LIMIT
- RESOURCE_MANAGER_PLAN
- SESSION_MAX_OPEN_FILES
- SESSIONS
- SHADOW_CORE_DUMP
- TEMPORARY_TABLE_LOCKS
- THREAD
- USE_ISM
- Oracle Trace
- Miscellaneous Parameters
- 3. Concurrency
-
4. Security
- Authentication
- Profiles
-
Privileges
-
System Privileges
- AUDIT
- CLUSTER
- CONTEXT
- DATABASE
- DATABASE LINKS
- DEBUG
- DIMENSION
- DIRECTORY
- INDEX
- INDEXTYPE
- LIBRARY
- MATERIALIZED VIEW
- OPERATOR
- OUTLINE
- PROCEDURE
- PROFILE
- RESOURCE COST
- ROLE
- ROLLBACK SEGMENT
- SEQUENCE
- SESSION
- SNAPSHOT
- SYNONYM
- SYSTEM
- TABLE
- TABLESPACES
- TRIGGER
- TYPES
- USER
- VIEWS
- Miscellaneous Privileges
- Special System Privileges
- Schema Object Privileges
-
System Privileges
- Privileges and Users
- Roles
- Auditing
- Other Security Features
- 5. Networking
-
6. Data Dictionary
-
Static Data Dictionary Views
- Families of Views
-
Commonly Used Static Data Dictionary Views
- Advanced Queuing
- Audit trail
- Change Data Capture
- Constraints
- Data dictionary
- External tables
- Indexes
- Jobs
- Large objects (LOBs)
- Locks
- Log groups
- Materialized views
- Networking and distributed transactions
- Objects Option
- Partitioning
- PL/SQL
- Replication
- Security
- Sequences
- Server management
- SQLJ
- Storage
- Synonyms
- Tables, clusters, and views
- Others
- Other Static Data Dictionary Views
- Dynamic Data Dictionary Views
-
Static Data Dictionary Views
-
II. Languages
-
7. SQL
- Common Keywords and Identifiers
- Common SQL Clauses
-
Data Definition Statements
- ALTER RESOURCE COST
- ALTER SYSTEM
- ASSOCIATE STATISTICS
- AUDIT (Schema Objects)
- AUDIT (SQL Statements)
- CALL
- COMMENT
- CREATE/ALTER/DROP CLUSTER
- CREATE/DROP CONTEXT
- CREATE CONTROLFILE
- CREATE/ALTER DATABASE
- CREATE/DROP DATABASE LINK
- CREATE/DROP DIMENSION
- CREATE/DROP DIRECTORY
- CREATE/ALTER/DROP FUNCTION
- CREATE/ALTER/DROP INDEX
- CREATE/DROP INDEXTYPE
- CREATE/ALTER/DROP JAVA
- CREATE/DROP LIBRARY
- CREATE/ALTER/DROP MATERIALIZED VIEW
- CREATE/ALTER/DROP MATERIALIZED VIEW LOG
- CREATE/ALTER/DROP OPERATOR
- CREATE/ALTER/DROP OUTLINE
- CREATE/ALTER/DROP PACKAGE
- CREATE/ALTER/DROP PACKAGE BODY
- CREATE/ALTER/DROP PROCEDURE
- CREATE PFILE
- CREATE/ALTER/DROP PROFILE
- CREATE/ALTER/DROP ROLE
- CREATE/ALTER/DROP ROLLBACK SEGMENT
- CREATE SCHEMA
- CREATE/ALTER/DROP SEQUENCE
- CREATE/ALTER/DROP SNAPSHOT
- CREATE/ALTER/DROP SNAPSHOT LOG
- CREATE SPFILE
- CREATE/DROP SYNONYM
- CREATE/ALTER/DROP TABLE (Relational Syntax)
- CREATE/ALTER/DROP TABLE (Object Syntax)
- CREATE/ALTER/DROP TABLE (XML Syntax)
- CREATE/ALTER/DROP TABLESPACE
- CREATE TEMPORARY TABLESPACE
- CREATE/ALTER/DROP TRIGGER
- CREATE/ALTER/DROP TYPE
- CREATE/DROP TYPE BODY
- CREATE/ALTER/DROP USER
- CREATE/ALTER/DROP VIEW
- DISASSOCIATE STATISTICS
- GRANT (Object Privileges)
- GRANT (System Privilege or Role)
- NOAUDIT (Schema Objects)
- NOAUDIT (SQL Statements)
- RENAME
- REVOKE (Object Privileges)
- REVOKE (System Privilege or Role)
- Data Manipulation Statements
-
8. Functions
- Common Keywords and Clauses
-
Aggregate and Analytic Functions
- GROUP BY
- DISTINCT and ALL
- Analytic Clause
- Parameters
- Numeric Functions
- Character Functions
-
Date and Time Functions
- ADD_MONTHS
- CURRENT_DATE
- CURRENT_TIMESTAMP
- DBTIMEZONE
- EXTRACT
- FROM_TZ
- INTERVAL DAY TO SECOND
- INTERVAL YEAR TO MONTH
- LAST_DAY
- LOCAL_TIMESTAMP
- MONTHS_BETWEEN
- NEW_TIME
- NEXT_DAY
- NUMTODSINTERVAL
- NUMTOYMINTERVAL
- ROUND
- SESSIONTIMEZONE
- SYS_EXTRACT_UTC
- SYSDATE
- SYSTIMESTAMP
- TO_DSINTERVAL
- TO_TIMESTAMP
- TO_TIMESTAMP_TZ
- TO_YMINTERVAL
- TRUNC
- TZ_OFFSET
-
Conversion Functions
- ASCIISTR
- BIN_TO_NUM
- CAST
- CHARTOROWID
- COMPOSE
- CONVERT
- DECOMPOSE
- HEXTORAW
- NUMTODSINTERVAL
- NUMTOYMINTERVAL
- RAWTOHEX
- RAWTONHEX
- ROWIDTOCHAR
- ROWIDTONCHAR
- TO_CHAR (character)
- TO_CHAR(datetime)
- TO_CHAR (number)
- TO_CLOB
- TO_DATE
- TO_DSINTERVAL
- TO_LOB
- TO_MULTI_BYTE
- TO_NCHAR (character)
- TO_NCHAR (datetime)
- TO_NCHAR (number)
- TO_NCLOB
- TO_NUMBER
- TO_SINGLE_BYTE
- TO_YMINTERVAL
- TRANSLATE . . . USING
- UNISTR
- Object Functions
- XML Functions
- Miscellaneous Functions
-
9. PL/SQL
- PL/SQL Fundamentals
- Header Section
- Declaration Section
- Execution Section
- Exception Section
- Pragmas
- Program Units
- Packages
- Triggers
- Calling PL/SQL Functions in SQL
- Native Compilation of PL/SQL
- External Procedures
- Java and PL/SQL
-
10. PL/SQL Packages
- DBMS_ALERT
- DBMS_APPLICATION_INFO
- DBMS_APPLY_ADM
- DBMS_AQ
- DBMS_AQADM
- DBMS_AQELM
- DBMS_CAPTURE_ADM
- DBMS_DDL
- DBMS_DEBUG
- DBMS_DEFER
- DBMS_DEFER_QUERY
- DBMS_DEFER_SYS
- DBMS_DESCRIBE
- DBMS_DISTRIBUTED_TRUST_ADMIN
- DBMS_FGA
- DBMS_FLASHBACK
- DBMS_HS
- DBMS_HS_PASSTHROUGH
- DBMS_IOT
- DBMS_JOB
- DBMS_LDAP
- DBMS_LIBCACHE
- DBMS_LOB
- DBMS_LOCK
- DBMS_LOGMNR
- DBMS_LOGMNR_CDC_PUBLISH
- DBMS_LOGMNR_CDC_SUBSCRIBE
- DBMS_LOGMNR_D
- DBMS_LOGSTNDBY
- DBMS_METADATA
- DBMS_MGWADM
- DBMA_MGWMSG
- DBMS_MVIEW
- DBMS_OBFUSCATION_TOOLKIT
- DBMS_ODCI
- DBMS_OFFLINE_OG
- DBMS_OFFLINE_SNAPSHOT
- DBMS_OLAP
- DBMS_ORACLE_TRACE_AGENT
- DBMS_ORACLE_TRACE_USER
- DBMS_OUTLN
- DBMS_OUTLN_EDIT
- DBMS_OUTPUT
- DBMS_PCLXUTIL
- DBMS_PIPE
- DBMS_PROFILER
- DBMS_PROPAGATION_ADM
- DBMS_RANDOM
- DBMS_RECTIFIER_DIFF
- DBMS_REDEFINITION
- DBMS_REFRESH
- DBMS_REPAIR
- DBMS_REPCAT
- DBMS_REPCAT_ADMIN
- DBMS_REPCAT_AUTH
- DBMS_REPCAT_INSTANTIATE
- DBMS_REPCAT_RGT
- DBMS_REPUTIL
- DBMS_RESOURCE_MANAGER
- DBMS_RESOURCE_MANAGER_PRIVS
- DBMS_RESUMABLE
- DBMS_RLS
- DBMS_ROWID
- DBMS_RULE
- DBMS_RULE_ADMIN
- DBMS_SESSION
- DBMS_SHARED_POOL
- DBMS_SNAPSHOT
- DBMS_SPACE
- DBMS_SPACE_ADMIN
- DBMS_SQL
- DBMS_STATS
- DBMS_STORAGE_MAP
- DBMS_STREAM_ADM
- DBMS_STREAMS
- DBMS_SYSTEM
- DBMS_TRACE
- DBMS_TRANSACTION
- DBMS_TRANSFORM
- DBMS_TTS
- DBMS_TYPES
- DBMS_UTILITY
- DBMS_WM
- DBMS_XDB
- DBMS_XDBT
- DBMS_XDB_VERSION
-
DBMS_XMLDOM
-
Calls
- General calls
- DOM node methods
- DOM named node map methods
- DOM node list methods
- DOM attribute methods
- DOM character data methods
- DOM Implementation methods
- DOM Document Type methods
- DOM Element methods
- DOM Entity methods
- DOM Notation methods
- DOM Processing Instruction methods
- DOM Text methods
- DOM Document methods
-
Calls
- DBMS_XMLGEN
- DBMS_XMLPARSER
- DBMS_XMLQUERY
- DBMS_XMLSAVE
- DBMS_XMLSCHEMA
- DBMS_XPLAN
- DBMS_XSLPROCESSOR
- DEBUG_EXTPROC
- OUTLN_PKG
- UTL_COLL
- UTL_ENCODE
- UTL_FILE
- UTL_HTTP
- UTL_INADDR
- UTL_RAW
- UTL_REF
- UTL_SMTP
- UTL_TCP
- UTL_URL
-
11. Java and Oracle
- Java Drivers
- Java in the Oracle Database
- Data Mapping
-
SQLJ
- Imports
- Compiling SQLJ Code
- Using SQL with SQLJ
- SQL Iterators
- PL/SQL in SQLJ
- Database Objects and JPublish
- SQLJ Methods
-
JDBC
- oracle.jdbc
- oracle.jdbc Interfaces
- oracle.jdbc Classes
- oracle.sql
- oracle.jdbc Interfaces
- oracle.sql Classes
-
7. SQL
-
III. Tools and Utilities
-
12. SQL*Plus
- Running SQL*Plus
- Formatting Text Reports
- SQL*Plus Format Elements
-
Commands
- /*...*/
- -- (Double Hyphen)
- @ (At Sign)
- @@ (Double At Sign)
- / (Forward Slash)
- ACCEPT
- APPEND
- ARCHIVE LOG
- ATTRIBUTE
- BREAK
- BTITLE
- CHANGE
- CLEAR
- COLUMN
- COMPUTE
- CONNECT
- COPY
- DEFINE
- DEL
- DESCRIBE
- DISCONNECT
- EDIT
- EXECUTE
- EXIT
- GET
- HELP
- HOST
- INPUT
- LIST
- PASSWORD
- PAUSE
- PROMPT
- QUIT
- RECOVER
- REMARK
- REPFOOTER
- REPHEADER
- RUN
- SAVE
- SET
- SHOW
- SHUTDOWN
- SPOOL
- START
- STARTUP
- STORE
- TIMING
- TTITLE
- UNDEFINE
- VARIABLE
- WHENEVER
- 13. Export and Import
- 14. SQL*Loader
-
15. Backup and Recovery
- Backup and Recovery Fundamentals
- User-Managed Backup and Recovery
-
Recovery Manager (RMAN)
- RMAN Fundamentals
- Running RMAN
- Using RMAN Scripts
- Using RMAN Commands
- Common RMAN Parameters and Identifiers
- Common RMAN Clauses
-
RMAN Commands
- @ (At Sign)
- @@ (Double At Sign)
- ALLOCATE CHANNEL
- ALLOCATE CHANNEL FOR MAINTENANCE
- ALTER DATABASE
- BACKUP
- BLOCKRECOVER
- CATALOG
- CHANGE
- CONFIGURE
- CONNECT
- COPY
- CREATE CATALOG
- CREATE SCRIPT
- CROSSCHECK
- DELETE
- DELETE SCRIPT
- DROP CATALOG
- DUPLICATE
- EXECUTE SCRIPT
- EXIT
- HOST
- LIST
- PRINT SCRIPT
- QUIT
- RECOVER
- REGISTER
- RELEASE CHANNEL
- REPLACE SCRIPT
- REPLICATE
- REPORT
- RESET DATABASE
- RESTORE
- RESYNC
- RUN
- SEND
- SET
- SHOW
- SHUTDOWN
- SPOOL
- SQL
- STARTUP
- SWITCH
- UPGRADE CATALOG
- VALIDATE
- 16. Enterprise Manager
- 17. Performance
-
12. SQL*Plus
- IV. Appendixes
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Oracle in a Nutshell
- Author(s):
- Release date: December 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003364
You might also like
book
Oracle
Oracle Performance Survival Guide A Systematic Approach to Database Optimization The fast, complete, start-to-finish guide to …
book
Oracle Internals: An Introduction
This concise book contains detailed information about Oracle internals -- information that's not readily available to …
book
Oracle RMAN for Absolute Beginners
Oracle RMAN for Absolute Beginners is a gentle introduction to the use of Oracle's Recovery Manager …
book
Oracle Internals
Oracle has evolved from a simple relational database into one of the most complex e-commerce platforms …