ManualiOracle.it | ||
| |||||||||||||||||||||||||
|
Glossary Oracle 11.2 access path The means by which data is retrieved from a database. For example, a query using an index and a query using a full table scan use different access paths. active transactionA transaction that has started but not yet committed or rolled back. ADDMAutomatic Database Diagnostic Monitor. An Oracle Database infrastructure that enables a database to diagnose its own performance and determine how identified problems could be resolved. ADRAutomatic Diagnostic Repository. A a file-based hierarchical data store for managing diagnostic information, including network tracing and logging. alert logA file that provides a chronological log of database messages and errors. The alert log is stored in the ADR. archived redo log fileA member of the online redo log that has been archived by Oracle Database. The archived redo log files can be applied to a database backup in media recovery. ARCHIVELOG modeA mode of the database that enables the archiving of the online redo log. Automatic Database Diagnostic Monitor (ADDM)See ADDM. Automatic Diagnostic Repository (ADR)See ADR. automatic undo management modeA mode of the database in which it automatically manages undo space in a dedicated undo tablespace. See also manual undo management mode. Automatic Workload Repository (AWR)See AWR. AWRAutomatic Workload Repository (AWR). A built-in repository in every Oracle database. Oracle Database periodically makes a snapshot of its vital statistics and workload information and stores them in AWR. background processA process that consolidates functions that would otherwise be handled by multiple Oracle programs running for each client process. The background processes asynchronously perform I/O and monitor other Oracle processes. See also instance; Oracle process. bind variableA placeholder in a SQL statement that must be replaced with a valid value or value address for the statement to execute successfully. By using bind variables, you can write a SQL statement that accepts inputs or parameters at run time. The following example shows a query that uses SELECT * FROM employees WHERE employee_id = :v_empid;bitmap index A database index in which the database stores a bitmap for each index key instead of a list of rowids. bitmap mergeAn operation that merges bitmaps retrieved from bitmap index scans. For example, if the A part of a data block that includes information about the type of block, the address of the block, and sometimes transaction information. block overheadSpace in a data block that stores metadata required for managing the block. The overhead includes the block header, table directory, and row directory. bufferA main memory address in the database buffer cache. A buffer caches currently and recently used data blocks read from disk. When a new block is needed, the database can replace an old data block with a new one. cache recoveryThe phase of instance recovery where Oracle Database applies all committed and uncommitted changes in the online redo log files to the affected data blocks. cardinalityThe ratio of distinct values to the number of table rows. A column with only two distinct values in a million-row table would have low cardinality. checkpoint1. A data structure that marks the checkpoint position, which is the SCN in the redo thread where instance recovery must begin. Checkpoints are recorded in the control file and each data file header, and are a crucial element of recovery. 2. The writing of dirty data blocks in the database buffer cache to disk. The database writer (DBWn) process writes blocks to disk to synchronize the buffer cache with the data files. clientIn client/server architecture, the front-end database application that interacts with a user. The client portion has no data access responsibilities. client processA process that executes the application or Oracle tool code. When users run client applications such as SQL*Plus, the operating system creates client processes to run the applications. See also Oracle process. client/server architectureSoftware architecture based on a separation of processing between two CPUs, one acting as the client in the transaction, requesting and receiving services, and the other as the server that provides services in a transaction. columnVertical space in a table that represents a domain of data. A table definition includes a table name and set of columns. Each column has a name and data type. commitAction that ends a database transaction and makes permanent all changes performed in the transaction. concurrencySimultaneous access of the same data by many users. A multiuser database management system must provide adequate concurrency controls so that data cannot be updated or changed improperly, compromising data integrity. See also data consistency. conditionThe combination of one or more expressions and logical operators in a SQL statement that returns a value of Communication pathway between a client process and an Oracle database instance. See also session. connection poolingA resource utilization and user scalability feature that maximizes the number of sessions over a limited number of protocol connections to a shared server. consistent backupA whole database backup that you can open with the See also inconsistent backup. contextA set of application-defined attributes that validates and secures an application. The SQL statement A binary file that records the physical structure of a database and contains the names and locations of redo log files, the time stamp of the database creation, the current log sequence number, checkpoint information, and so on. cubeAn organization of measures with identical dimensions and other shared characteristics. The edges of the cube contain the dimension members, whereas the body of the cube contains the data values. cursorA handle or name for a private SQL area in the PGA. Because cursors are closely associated with private SQL areas, the terms are sometimes used interchangeably. databaseOrganized collection of data treated as a unit. The purpose of a database is to store and retrieve related information. Every Oracle database instance accesses only one database in its lifetime. database buffer cacheThe portion of the system global area (SGA) that holds copies of data blocks. All client processes concurrently connected to the instance share access to the buffer cache. database linkIn a schema object, a schema object in one database that enables users to access objects on a different database. database userAn account through which you can log in to an Oracle database. database writer (DBWn)A background process that writes buffers in the database buffer cache to data files. data blockSmallest logical unit of data storage in Oracle Database. Other names for data blocks include Oracle blocks or pages. One data block corresponds to a specific number of bytes of physical space on disk. data consistencyA consistent view of the data by each user in a multiuser database. See also concurrency. data dictionaryA read-only collection of database tables and views containing reference information about the database, its structures, and its users. data dictionary cacheA memory area in the shared pool that holds data dictionary information. The data dictionary cache is also known as the row cache because it holds data as rows instead of buffers, which hold entire data blocks. data dictionary viewA predefined view of tables or other views in the data dictionary. Data dictionary views begin with the prefix A physical file on disk that was created by Oracle Database and contains the data for a database. The data files can be located either in an operating system file system or Oracle ASM disk group. data integrityBusiness rules that dictate the standards for acceptable data. These rules are applied to a database by using integrity constraints and triggers to prevent invalid data entry. data miningThe automated search of large stores of data for patterns and trends that transcend simple analysis. Data Recovery AdvisorAn Oracle Database infrastructure that automatically diagnoses persistent data failures, presents repair options to the user, and executes repairs at the user's request. data segmentThe segment containing the data for a nonclustered table, table partition, or table cluster. See also extent. data typeIn SQL, a fixed set of properties associated with a column value or constant. Examples include A relational database designed for query and analysis rather than for OLTP. DDLData definition language. Includes statements such as A situation in which two or more users are waiting for data locked by each other. Such deadlocks are rare in Oracle Database. dedicated serverA database configuration in which a server process handles requests for a single client process. See also shared server. deferrable constraintA constraint that permits a A structure that categorizes data to enable users to answer business questions. Commonly used dimensions are customers, products, and time. dimension tableA relational table that stores all or part of the values for a dimension in a star or snowflake schema. Dimension tables typically contain columns for the dimension keys, levels, and attributes. directory objectA database object that specifies an alias for a directory on the server file system where external binary file LOBs (BFILEs) and external table data are located. All directory objects are created in a single namespace and are not owned by an individual schema. dispatcher process (Dnnn)Optional background process present only when a shared server configuration is used. Each dispatcher process is responsible for routing requests from connected client processes to available shared server processes and returning the responses. distributed databaseA set of databases in a distributed system that can appear to applications as a single data source. distributed processingThe operations that occurs when an application distributes its tasks among different computers in a network. distributed transactionA transaction that includes statements that, individually or as a group, update data on nodes of a distributed database. Oracle Database ensures the integrity of data in distributed transactions using the two-phase commit mechanism. DMLData manipulation language. Includes statements such as Extraction, transformation, and loading (ETL). The process of extracting data from source systems and bringing it into a data warehouse. execution planThe combination of steps used by the database to execute a SQL statement. Each step either retrieves rows of data physically from the database or prepares them for the user issuing the statement. You can override execution plans by using hints. expressionA combination of one or more values, operators, and SQL functions that evaluates to a value. For example, the expression Multiple contiguous data blocks allocated for storing a specific type of information. A segment is made up of one or more extents. See also data block. external tableA read-only table whose metadata is stored in the database but whose data in stored in files outside the database. The database uses the metadata describing external tables to expose their data as if they were relational tables. extraction, transformation, and loading (ETL)See ETL. factData that represents a business measure, such as sales or cost data. fact tableA table in a star schema of a data warehouse that contains factual data. A fact table typically has two types of columns: those that contain facts and those that are foreign keys to dimension tables. fast full index scanA full index scan in which the database reads the index blocks in no particular order. The database accesses the data in the index itself, without accessing the table. fast recovery areaAn optional disk location that stores recovery-related files such as control file and online redo log copies, archived redo log files, flashback logs, and RMAN backups. foreign keyAn integrity constraint that requires each value in a column or set of columns to match a value in the unique or primary key for a related table. Integrity constraints for foreign keys define actions dictating database behavior if referenced data is altered. full index scanA scan of an index in which the database reads the entire index in order. full table scanA scan of table data in which the database sequentially reads all rows from a table and filters out those that do not meet the selection criteria. All data blocks under the high water mark are scanned. functionA schema object, similar to a procedure, that always returns a single value. grid computingA computing architecture that coordinates large numbers of servers and storage to act as a single large computer. grid infrastructureThe software that provides the infrastructure for an enterprise grid architecture. In a cluster, this software includes Oracle Clusterware and Oracle ASM. For a standalone server, this software includes Oracle Restart and Oracle ASM. Oracle Database 11g Release 2 (11.2) combines these infrastructure products into one software installation called the grid infrastructure home. hard parseThe steps performed by the database to build a new executable version of application code. The database must perform a hard parse instead of a soft parse if the parsed representation of a submitted statement does not already exist in the shared pool. hash functionA function that operates on an arbitrary-length input value and returns a fixed-length hash value. hashingA mathematical technique in which an infinite set of input values is mapped to a finite set of output values, called hash values. Hashing is useful for rapid lookups of data in a hash table. hash joinA join in which the database uses the smaller of two tables or data sources to build a hash table in memory. The database scans the larger table, probing the hash table for the addresses of the matching rows in the smaller table. hash tableAn in-memory data structure that associates join keys with rows in a hash join. For example, in a join of the A table in which the data rows are stored in no particular order on disk. By default, The boundary between used and unused space in a segment. hintAn instruction passed to the optimizer through comments in a SQL statement. The optimizer uses hints to choose an execution plan for the statement. implicit queryA component of a DML statement that retrieves data without a subquery. An A backup in which some files in the backup contain changes made after the checkpoint. Unlike a consistent backup, an inconsistent backup requires media recovery to be made consistent. indexOptional schema object associated with a nonclustered table, table partition, or table cluster. In some cases indexes speed data access. index-organized tableA table whose storage organization is a variant of a primary B-tree index. Unlike a heap-organized table, data is stored in primary key order. index segmentA segment that stores data for a nonpartitioned index or index partition. initialization parameterA configuration parameter such as A text file that contains initialization parameter settings for a database instance. instanceThe combination of the system global area (SGA) and background processes. An instance is associated with one and only one database. In an Oracle Real Application Clusters configuration, multiple instances access a single database simultaneously. instance failureThe termination of a database instance because of a hardware failure, Oracle internal error, or The automatic application of redo log records to uncommitted data blocks when an instance is restarted after a failure. integritySee data integrity. integrity constraintDeclarative method of defining a rule for a column. The integrity constraints enforce business rules and prevent the entry of invalid information into tables. joinA statement that retrieves data from multiple tables specified in the A condition that compares two columns, each from a different table, in a join. The database combines pairs of rows, each containing one row from each table, for which the join condition evaluates to Column or set of columns included in the definition of certain types of integrity constraints. key compressionThe elimination of repeated occurrence of primary key column values in an index-organized table. large object (LOB)See LOB. large poolOptional area in the SGA that provides large memory allocations for backup and restore operations, I/O server processes, and session memory for the shared server and Oracle XA. latchA low-level serialization control mechanism used to protect shared data structures in the SGA from simultaneous access. library cacheAn area of memory in the shared pool. This cache includes the shared SQL areas, private SQL areas (in a shared server configuration), PL/SQL procedures and packages, and control structures such as locks and library cache handles handles. listenerA process that listens for incoming client connection requests and manages network traffic to the database. LOBLarge object. An Oracle data type designed to hold large amounts of data. locally managed tablespaceA tablespace that uses a bitmap stored in each data file to manage the extents. In contrast, a dictionary-managed tablespace uses the data dictionary to manage space. lockA database mechanism that prevents destructive interaction between transactions accessing a shared resource such as a table, row, or system object not visible to users. The main categories of locks are DML locks, DDL locks, and latches and internal locks. log sequence numberA number that uniquely identifies a set of redo records in a redo log file. When the database fills one online redo log file and switches to a different one, the database automatically assigns the new file a log sequence number. log switchThe point at which the log writer (LGWR) stops writing to the active redo log file and switches to the next available redo log file. LGWR switches when either the active redo log file is filled with redo records or a switch is manually initiated. log writer (LGWR)The background process responsible for redo log buffer management—writing the redo log buffer to the online redo log. LGWR writes all redo entries that have been copied into the buffer since the last time it wrote. lookup tableA table containing a code column and an associated value column. For example, a job code corresponds to a job name. In contrast to a master table in a pair of master-detail tables, a lookup table is not the means to obtain a detailed result set, such as a list of employees. Rather, a user queries a table such as A data integrity problem in which one writer of data overwrites the changes of a different writer modifying the same data. manual undo management modeA mode of the database in which undo blocks are stored in user-managed undo segments. In automatic undo management mode, undo blocks are stored in a system-managed, dedicated undo tablespaces. master-detail tablesA detail table has a foreign key relationship with a master table. For example, the In a replication environment, a different database with which a materialized view shares data. master tableThe table associated with a materialized view at a master site. materialized viewA schema object that stores the result of a query. Oracle materialized views can be read-only or updatable. See also view. media recoveryThe application of redo or incremental backups to a data block or backup data file. mounted databaseAn instance that is started and has the database control file open. nullAbsence of a value in a column of a row. Nulls indicate missing, unknown, or inapplicable data. object typeA schema object that abstracts a real-world entity such as a purchase order. Attributes model the structure of the entity, whereas methods implement operations an application can perform on the entity. OLAPOnline Analytical Processing. OLAP is characterized by dynamic, dimensional analysis of historical data. OLTPOnline Transaction Processing. OLTP systems are optimized for fast and reliable transaction handling. Compared to data warehouse systems, most OLTP interactions involve a relatively small number of rows, but a larger group of tables. online redo logThe set of two or more online redo log files that record all changes made to Oracle Database data files and control file. When a change is made to the database, Oracle Database generates a redo record in the redo buffer. log writer (LGWR) writes the contents of the redo buffer to the online redo log. operator1. In memory management, operators control the flow of data. Examples include sort, hash join, and bitmap merge operators. 2. In SQL, an operator manipulates data items called operands or arguments and returns a result. The SQL operators are represented by special characters or by keywords. For example, the multiplication operator is represented by an asterisk ( Built-in database software that determines the most efficient way to execute a SQL statement by considering factors related to the objects referenced and the conditions specified in the statement. Oracle architectureMemory and process structures used by Oracle Database to manage a database. Oracle Automatic Storage Management (Oracle ASM)See Oracle ASM. Oracle ASMOracle Automatic Storage Management (Oracle ASM). A volume manager and a file system for database files. Oracle ASM is Oracle's recommended storage management solution, providing an alternative to conventional volume managers, file systems, and raw devices. Oracle ASM disk groupOne or more Oracle ASM disks managed as a logical unit. I/O to a disk group is automatically spread across all the disks in the group. Oracle ClusterwareA set of components that enables servers to operate together as if they were one server. Oracle Clusterware is a requirement for using Oracle RAC and it is the only clusterware that you need for platforms on which Oracle RAC operates. Oracle Enterprise ManagerA system management tool that provides centralized management of an Oracle database environment. Oracle homeThe operating system location of an Oracle Database installation. Oracle processA process that runs Oracle Database code. Oracle processes include server processes and background processes. Oracle RACOracle Real Application Clusters. Option that allows multiple concurrent database instances to share a single physical database. Oracle Real Application ClustersSee Oracle RAC. Oracle XAAn external interface that allows global transactions to be coordinated by a transaction manager other than Oracle Database. partitionA piece of a table or index that shares the same logical attributes as the other partitions. For example, all partitions in a table share the same column and constraint definitions. PGAProgram global area. A memory buffer that contains data and control information for a server process. See also SGA. PL/SQLProcedural Language/SQL. The Oracle Database procedural language extension to SQL. PL/SQL enables you to mix SQL statements with programmatic constructs such as procedures, functions, and packages. precompilerA programming tool that enables you to embed SQL statements in a high-level source program written in a language such as C, C++, or COBOL. predicateThe The column or set of columns that uniquely identifies a row in a table. Only one primary key can be defined for each table. primary key constraintAn integrity constraint that disallows duplicate values and nulls in a column or set of columns. private SQL areaAn area in memory that holds a parsed statement and other information for processing. The private SQL area contains data such as bind variable values, query execution state information, and query execution work areas. privilegeThe right to run a particular type of SQL statement, or the right to access an object that belongs to another user, run a PL/SQL package, and so on. The types of privileges are defined by Oracle Database. procedureA schema object that consists of a set of SQL statements and other PL/SQL constructs, grouped together, stored in the database, and run as a unit to solve a specific problem or perform a set of related tasks. processA mechanism in an operating system that can run a series of steps. By dividing the work of Oracle Database and database applications into several processes, multiple users and applications can connect to a single database instance simultaneously. See also background process; Oracle process; client process. program global area (PGA)See PGA. pseudocolumnA column that is not stored in a table, yet behaves like a table column. queryAn operation that retrieves data from tables or views. For example, See also implicit query; subquery. query planThe execution plan used to execute a query. read consistencyA consistent view of data seen by a user. For example, in statement-level read consistency the set of data seen by a SQL statement remains constant throughout statement execution. See also concurrency; data consistency. read-only databaseA database that is available for queries only and cannot be modified. Recovery Manager (RMAN)See RMAN. redo logA set of files that protect altered database data in memory that has not been written to the data files. The redo log can consist of two parts: the online redo log and the archived redo log. redo log bufferMemory structure in the SGA that stores redo entries—a log of changes made to the database. The redo entries stored in the redo log buffers are written to an online redo log file, which is used if instance recovery is necessary. redo threadThe redo generated by a database instance. referential integrityA rule defined on a key in one table that guarantees that the values in that key match the values in a key in a related table (the referenced value). replicationThe process of sharing database objects and data at multiple databases. RMANRecovery Manager. An Oracle Database utility that backs up, restores, and recovers Oracle databases. roleA set of privileges that can be granted to database users or to other roles. rowA set of column information corresponding to a single record in a table. The database stores rows in data blocks. row chainingA situation in which Oracle Database must store a row in a series or chain of blocks because it is too large to fit into a single block. rowidA globally unique address for a row in a database. row migrationA situation in which Oracle Database moves a row from one data block to another data block because the row grows too large to fit in the original block. savepointA named SCN in a transaction to which the transaction can be rolled back. schemaA named collection of database objects, including logical structures such as tables and indexes. A schema has the name of the database user who owns it. schema objectA logical structure of data stored in a schema. Examples of schema objects are tables, indexes, sequences, and database links. SCNSystem Change Number. A database ordering primitive. The value of an SCN is the logical point in time at which changes are made to a database. segmentA set of extents allocated for a specific database object such as a table, index, or table cluster. User segments, undo segments, and temporary segments are all types of segments. selectivityIn a query, the measure of how many rows from a row set pass a predicate test, for example, A schema object that generates a serial list of unique numbers for table columns. serverIn a client/server architecture, the computer that runs Oracle software and handles the functions required for concurrent, shared data access. The server receives and processes the SQL and PL/SQL statements that originate from client applications. server parameter fileA server-side binary file containing initialization parameter settings that is read and written to by the database. server processAn Oracle process that communicates with a client process and Oracle Database to fulfill user requests. The server processes are associated with a database instance, but are not part of the instance. sessionA logical entity in the database instance memory that represents the state of a current user login to a database. A single connection can have 0, 1, or more sessions established on it. SGASystem global area. A group of shared memory structures that contain data and control information for one Oracle database instance. shared poolPortion of the SGA that contains shared memory constructs such as shared SQL areas. shared serverA database configuration that enables multiple client processes to share a small number of server processes. See also dedicated server. shared SQL areaAn area in the shared pool that contains the parse tree and execution plan for a SQL statement. Only one shared SQL area exists for a unique statement. soft parseThe reuse of existing code when the parsed representation of a submitted SQL statement exists in the shared pool and can be shared. See also hard parse. SQLStructured Query Language. A nonprocedural language to access a relational database. Users describe in SQL what they want done, and the SQL language compiler automatically generates a procedure to navigate the database and perform the task. Oracle SQL includes many extensions to the ANSI/ISO standard SQL language. SQL*PlusOracle tool used to run SQL statements against Oracle Database. standby databaseAn independent copy of a production database that you can use for disaster protection in a high availability environment. statement-level rollbackA database operation in which the effects of an unsuccessful SQL statement are rolled back because the statement caused an error during execution. stored procedureA named PL/SQL block or Java program that Oracle Database stores in the database. Applications can call stored procedures by name. Structured Query Language (SQL)See SQL. subqueryA query nested within another SQL statement. Unlike implicit queries, subqueries use a An alias for a schema object. You can use synonyms to provide data independence and location transparency. system change number (SCN)See SCN. system global area (SGA)See SGA. tableBasic unit of data storage in Oracle Database. Data in tables is stored in rows and columns. table clusterA schema object that contains data from one or more tables, all of which have one or more columns in common. In table clusters, the database stores together all the rows from all tables that share the same cluster key. table compressionThe compression of data segments to reduce disk space in a heap-organized table or table partition. tablespaceA database storage unit that groups related logical structures together. The database data files are stored in tablespaces. temp fileA file that belongs to a temporary tablespace. The temp files in temporary tablespaces cannot contain permanent database objects. temporary segmentA segment created by Oracle Database when a SQL statement needs a temporary database area to complete execution. temporary tableA table that holds an intermediate result set for the duration of a transaction or a session. Only the current session can see the data in temporary tables. transactionLogical unit of work that contains one or more SQL statements. All statements in a transaction commit or roll back together. The use of transactions is one of the most important ways that a database management system differs from a file system. transaction IDAn identifier is unique to a transaction and represents the undo segment number, slot, and sequence number. transaction recoveryA phase of instance recovery in which uncommitted transactions are rolled back. transaction tableThe data structure within an undo segment that holds the transaction identifiers of the transactions using the undo segment. transportable tablespaceA tablespace that you can copy or move between databases. Oracle Data Pump provides the infrastructure for transportable tablespaces. triggerA PL/SQL or Java procedure that fires when a table or view is modified or when specific user or database actions occur. Procedures are explicitly run, whereas triggers are implicitly run. UGAUser global area. Session memory that stores session variables, such as logon information, and can also contain the OLAP pool. undo dataRecords of the actions of transactions, primarily before they are committed. The database can use undo data to logically reverse the effect of SQL statements. Undo data is stored in undo segments. undo tablespaceA tablespace containing undo segments when automatic undo management mode is enabled. user global area (UGA)See UGA. user nameThe name by which a user is known to Oracle Database and to other users. Every user name is associated with a password, and both must be entered to connect to Oracle Database. user processSee client process. viewA custom-tailored presentation of the data in one or more tables. The views do not actually contain or store data, but derive it from the tables on which they are based. virtual columnA column that is not stored on disk. The database derives the values in virtual columns on demand by computing a set of expressions or functions. whole database backupA backup of the control file and all data files that belong to a database.
|