Apress.Expert.Oracle.Database.Architecture.9i.and.10g.Programming.Techniques.and.Solutions.Sep.2005

rekharaghuram
from rekharaghuram More from this publisher
05.11.2015 Views

Index Special Characters * character, 658 *_AREA_SIZE parameter, 122 A ACCESS PARAMETERS parameter, 683 ACCOUNTS table, 24 ACID (Atomicity, Consistency, Isolation, Durability), 255 ACTION columns, 84 ADD PARTITION statement, 597 ADD_MONTHS function, 526 address space isolation, 157 ADDRESS_TYPE object, 412 Advanced Queuing (AQ), 8, 170, 180 AFTER triggers, 302–8 AL32UTF8 character set, 499 alert file, 65, 85–88 alert.log, 313 ALL_OBJECTS dictionary view, 607, 702 ALL_OBJECTS table, 381 ALL_USERS dictionary view, 628 ALL_VIEWS dictionary view, 515 ALTER commands, 598 ALTER DATABASE command, 106 ALTER INDEX REBUILD command, 483, 627 ALTER INDEX SPLIT PARTITION command, 628 ALTER SESSION command, 134, 499 ALTER SESSION|SYSTEM command, 407 ALTER SYSTEM command, 70, 73, 76 ALTER SYSTEM SET command, 74 ALTER table, 216 ALTER TABLE command, 613, 620, 690 ALTER TABLE MOVE command, 561, 628 ALTER TABLE SPLIT|COALESCE PARTITION command, 628 analytic functions, 38 ANALYZE command, 364 ANALYZE INDEX, 426 ANALYZE INDEX VALIDATE STRUCTURE command, 364 ANOTHER_DATABASE instance, 273 ANSI compliant databases, 28 ANSI isolation levels, 233 ANSI SQL, 28 application domain indexes, 423, 469–70 AQ_TM_PROCESSES parameter, 180 arch process, 56, 284, 318 architecture, Oracle bind variables, 11–15 connecting to Oracle dedicated server, 57–58 over TCP/IP, 60, 62 overview, 57 shared server, 59–60 defining terms database and instance, 50–55 implementing locking, 16–17 overview, 9, 15–16, 49–50 preventing lost updates, 17–20 SGA and background processes, 55–57 single connection, 10 archived Redo log files, 101–2, 283–84 ARCHIVELOG mode, 101–2, 106, 309 ARCn (archive process), 176–77 artificial deadlock, 166 AS SYSDBA, 51 ASC (ascending) columns, 436 ASMB (Automatic Storage Management Background) process, 177 ASYNC I/O, 313 atomic instructions, 221 atomic transactions, 256 atomicity, 257–62 AUDIT command, 277–78 AUDIT_TAB table, 278, 280 auditing, 78 audit trail data, 613 and segment space compression, 612–13 AUTHID CURRENT_USER, 693 AUTOALLOCATE locally-managed tablespaces, 634–37, 639 AUTOALLOCATE_TEST, 636 AUTOEXTEND command, 269 automatic PGA memory management, 116 determining how memory is allocated, 124–30 overview, 123–24 using PGA_AGGREGATE_TARGET to control memory allocation, 130–33 Automatic Segment Space Management (ASSM), 341 automatic SGA memory management, 152–54 Automatic Storage Management (ASM), 89 Automatic Storage Management Background (ASMB) process, 177 automatic undo management, 328 705

706 ■INDEX autonomous transactions, 38 how they work, 275–77 when to use, 277–81 AUTONOMOUS_INSERT procedure, 275 AUTONOMOUS_TRANSACTION, 275 AUTOTRACE command, 160, 300, 357 auto-tuned SGA parameters, 153 B B*Tree indexes, 422–23 branch blocks, 424 commonly used, 423 compared to bitmap indexes, 450 compressing index, 426 descending indexes, 435–36 index key compression, 426–29 leaf nodes, 424 overview, 423, 425–26 reasons for using, 437 related to reverse key indexes, 429 reverse key indexes, 429–31, 433–35 when to use clustering factor, 444–47 physical organization, 439–42 background dump destination, 80 background processes database architecture, 56, 155, 170 focused background processes ARCn (archive process), 176–77 CKPT (checkpoint process), 175 DBWn (database block writer), 175–76 LGWR (log writer), 176 overview, 171–72 PMON (process monitor), 173 RECO (distributed database recovery), 174–75 SMON (system monitor), 173–74 overview, 170–71 and SGA, 55–57 UNIX-based systems, 56 utility background processes, 178 CJQ0 and Jnnn processes (job queues), 179–80 CTWR (change tracking processes), 181 EMNn (event monitor processes), 180 MMAN (memory manager), 180 MMON, MMNL, and Mnnn (manageability monitors), 180 overview, 179 QMNC and Qnnn (advanced queues), 180 RVWR (recovery writer), 181 Windows-based systems, 56 BACKGROUND_DUMP_DEST parameter, 80 BACKUP_TAPE_IO_SLAVES parameter, 181–82 BAD file, 653 BADFILE option, 683, 687 BEFORE triggers, 302–8 BEGIN WORK/COMMIT statement, 265 BEGINDATA option, 652 BETWEEN queries, 360 BFILE object, 671 BFILE type, 491, 540 BFILENAME( ) function, 554, 671 BIG_TABLE script, 464 BIGFILE tablespaces, 339 binary executable, 56 Binary Large Objects (BLOBs), 101, 341, 491, 540, 669 binary strings, 502–4 BINARY_DOUBLE data type, 490, 505 BINARY_FLOAT data type, 490, 504 BINARY_FLOAT/BINARY_DOUBLE type, 510–11, 512 bind variable, 11 bind variables, 223–28 bitmap indexes, 7, 422 compared to B*Tree indexes, 450 overview, 448–49 reasons for using, 449 when to use, 449–55 black box approach to developing Oracle applications, 4–8 BLOBs (Binary Large Objects), 101, 341, 491, 540, 669 block buffer cache, System Global Area managing blocks in, 142–45 multiple block sizes, 146–47 overview, 141–42 block cleanout, 314–17 delayed, 332–36 overview, 297 block header, 92 block overhead, 93 block server process (BSP), 178 blocking, 200 blocked inserts, 200–203 blocked merges, updates, and deletes, 203 DELETE statement, 203 locking policy, 200 reads, 27 SELECT FOR UPDATE statement, 200 UPDATE statement, 203 blocks, 91–93 blocks, cleanout of, 314 Commit clean out, 314 design issues, 317 ORA-01555, 325 necessary conditions for error, 332 solutions to error, 336 branch blocks, 424 breakable parse locks, 218–20 BUFFER_POOL clause, 553 BULK COLLECT, 642

706<br />

■INDEX<br />

autonomous transactions, 38<br />

how they work, 275–77<br />

when to use, 277–81<br />

AUTONOMOUS_INSERT procedure, 275<br />

AUTONOMOUS_TRANSACTION, 275<br />

AUTOTRACE comm<strong>and</strong>, 160, 300, 357<br />

auto-tuned SGA parameters, 153<br />

B<br />

B*Tree indexes, 422–23<br />

branch blocks, 424<br />

commonly used, 423<br />

compared to bitmap indexes, 450<br />

compressing index, 426<br />

descending indexes, 435–36<br />

index key compression, 426–29<br />

leaf nodes, 424<br />

overview, 423, 425–26<br />

reasons for using, 437<br />

related to reverse key indexes, 429<br />

reverse key indexes, 429–31, 433–35<br />

when to use<br />

clustering factor, 444–47<br />

physical organization, 439–42<br />

background dump destination, 80<br />

background processes<br />

database architecture, 56, 155, 170<br />

focused background processes<br />

ARCn (archive process), 176–77<br />

CKPT (checkpoint process), 175<br />

DBWn (database block writer), 175–76<br />

LGWR (log writer), 176<br />

overview, 171–72<br />

PMON (process monitor), 173<br />

RECO (distributed database recovery),<br />

174–75<br />

SMON (system monitor), 173–74<br />

overview, 170–71<br />

<strong>and</strong> SGA, 55–57<br />

UNIX-based systems, 56<br />

utility background processes, 178<br />

CJQ0 <strong>and</strong> Jnnn processes (job queues),<br />

179–80<br />

CTWR (change tracking processes), 181<br />

EMNn (event monitor processes), 180<br />

MMAN (memory manager), 180<br />

MMON, MMNL, <strong>and</strong> Mnnn<br />

(manageability monitors), 180<br />

overview, 179<br />

QMNC <strong>and</strong> Qnnn (advanced queues), 180<br />

RVWR (recovery writer), 181<br />

Windows-based systems, 56<br />

BACKGROUND_DUMP_DEST parameter, 80<br />

BACKUP_TAPE_IO_SLAVES parameter, 181–82<br />

BAD file, 653<br />

BADFILE option, 683, 687<br />

BEFORE triggers, 302–8<br />

BEGIN WORK/COMMIT statement, 265<br />

BEGINDATA option, 652<br />

BETWEEN queries, 360<br />

BFILE object, 671<br />

BFILE type, 491, 540<br />

BFILENAME( ) function, 554, 671<br />

BIG_TABLE script, 464<br />

BIGFILE tablespaces, 339<br />

binary executable, 56<br />

Binary Large Objects (BLOBs), 101, 341, 491,<br />

540, 669<br />

binary strings, 502–4<br />

BINARY_DOUBLE data type, 490, 505<br />

BINARY_FLOAT data type, 490, 504<br />

BINARY_FLOAT/BINARY_DOUBLE type,<br />

510–11, 512<br />

bind variable, 11<br />

bind variables, 223–28<br />

bitmap indexes, 7, 422<br />

compared to B*Tree indexes, 450<br />

overview, 448–49<br />

reasons for using, 449<br />

when to use, 449–55<br />

black box approach to developing <strong>Oracle</strong><br />

applications, 4–8<br />

BLOBs (Binary Large Objects), 101, 341, 491,<br />

540, 669<br />

block buffer cache, System Global Area<br />

managing blocks in, 142–45<br />

multiple block sizes, 146–47<br />

overview, 141–42<br />

block cleanout, 314–17<br />

delayed, 332–36<br />

overview, 297<br />

block header, 92<br />

block overhead, 93<br />

block server process (BSP), 178<br />

blocking, 200<br />

blocked inserts, 200–203<br />

blocked merges, updates, <strong>and</strong> deletes, 203<br />

DELETE statement, 203<br />

locking policy, 200<br />

reads, 27<br />

SELECT FOR UPDATE statement, 200<br />

UPDATE statement, 203<br />

blocks, 91–93<br />

blocks, cleanout of, 314<br />

Commit clean out, 314<br />

design issues, 317<br />

ORA-01555, 325<br />

necessary conditions for error, 332<br />

solutions to error, 336<br />

branch blocks, 424<br />

breakable parse locks, 218–20<br />

BUFFER_POOL clause, 553<br />

BULK COLLECT, 642

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!