36
Index access control, 621, 622 access path, 427, 800 access plans, 792, 808 Command Editor and, 306308 Explain Facility and, 386. See also Explain facility Visual Explain and, 309311, 310, 311, 400, 401 access. See database access accessibility, table space, 179180 active log files. See log files, active; transaction logging Activity Monitor, 323324, 324, 343, 793794 ADD CONTACT, ADMIN_CMD() stored procedure and, 452454 ADD CONTACTGROUP, ADMIN_CMD() stored procedure and, 452454 ADMIN_CMD() stored procedure, 452454, 531, 809 admin_priority, 86t administration notification logs, 4, 37, 58, 121 124128, 126, 152154, 768769, 777. See also transaction logging Administrator, IBM Certified Database Administrator DB2 9 for Linux, UNIX, Windows, 35, 5, 6 Administrator, IBM Certified Database Administrator DB2 9 for z/OS, 67, 8 Advanced Control Center view, 301302, 302, 342 agent_stack_sz, 56t agentpri, 56t agents, 61, 62, 69 coordinating, 60, 142 idle, 62 maximum number of, 764 aggregations, 13 AIX operating systems, 8, 11, 622 aliases, 164, 495, 534 ALL PRIVILEGES, 658, 662, 663, 667, 671, 701, 825 ALLOW/DISALLOW OVERFLOW, 198 ALLOW/DISALLOW REVERSE SCANS, 295, 340, 798 alt_collate, 69t ALTER, 7, 643, 647, 651, 657, 660, 662, 666, 668, 671, 701, 702 ALTER BUFFERPOOL, 118, 150 ALTER DATABASE, 190, 236, 237, 592, 617, 788789 high available disaster recovery (HADR), 817 ALTER TABLE, 791, 792 COMPRESS YES option in, for data row compression, 215216, 242 constraint creation using, 273 Label-based Access Control (LBAC) and, 687688 Alter Table Space dialog, 188, 189 ALTER TABLESPACE, 186188, 232, 575, 592, 617, 788, 789, 817 ALTERIN, 641642, 657 analyzing DB2 activity, 347431, 799807. See also performance Database System Monitor in, 348381. event monitors in, 347, 348, 365371. Explain Facility for, 347, 356389. GET SNAPSHOT command and, 347 Health Center for, 347, 381385, 382, 383. See also Health Center optimization classes and, 406408 NOTE: Boldface numbers indicate illustrations; t indicates a table 833

Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Index

access control, 621, 622access path, 427, 800access plans, 792, 808

Command Editor and, 306–308Explain Facility and, 386. See also Explain facilityVisual Explain and, 309–311, 310, 311, 400, 401

access. See database accessaccessibility, table space, 179–180active log files. See log files, active; transaction

loggingActivity Monitor, 323–324, 324, 343, 793–794ADD CONTACT, ADMIN_CMD() stored procedure

and, 452–454ADD CONTACTGROUP, ADMIN_CMD() stored

procedure and, 452–454ADMIN_CMD() stored procedure, 452–454, 531, 809admin_priority, 86tadministration notification logs, 4, 37, 58, 121

124–128, 126, 152–154, 768–769, 777. See alsotransaction logging

Administrator, IBM Certified Database Administrator– DB2 9 for Linux, UNIX, Windows, 3–5, 5, 6

Administrator, IBM Certified Database Administrator– DB2 9 for z/OS, 6–7, 8

Advanced Control Center view, 301–302, 302, 342agent_stack_sz, 56tagentpri, 56tagents, 61, 62, 69

coordinating, 60, 142idle, 62maximum number of, 764

aggregations, 13AIX operating systems, 8, 11, 622aliases, 164, 495, 534ALL PRIVILEGES, 658, 662, 663, 667, 671, 701, 825ALLOW/DISALLOW OVERFLOW, 198ALLOW/DISALLOW REVERSE SCANS, 295, 340, 798alt_collate, 69tALTER, 7, 643, 647, 651, 657, 660, 662, 666, 668,

671, 701, 702ALTER BUFFERPOOL, 118, 150ALTER DATABASE, 190, 236, 237, 592, 617,

788–789high available disaster recovery (HADR), 817

ALTER TABLE, 791, 792COMPRESS YES option in, for data row

compression, 215–216, 242constraint creation using, 273Label-based Access Control (LBAC) and, 687–688

Alter Table Space dialog, 188, 189ALTER TABLESPACE, 186–188, 232, 575, 592,

617, 788, 789, 817ALTERIN, 641–642, 657analyzing DB2 activity, 347–431, 799–807. See also

performanceDatabase System Monitor in, 348–381.event monitors in, 347, 348, 365–371.Explain Facility for, 347, 356–389.GET SNAPSHOT command and, 347Health Center for, 347, 381–385, 382, 383. See

also Health Centeroptimization classes and, 406–408

NOTE: Boldface numbers indicate illustrations; t indicates a table 833

Page 2: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

analyzing DB2 activity, continuedsnapshot monitors in, 347, 348, 349–365. See also

snapshot monitorstroubleshooting tools for, 347, 408–416. See also

specific toolsVisual Explain for, 398–405, 807. See also Visual

Explainapp_ctl_heap_sz, 69tappgroup_mem_sz, 69tapplheapsz, 69tapplicant identification number in, 20Application Developer, IBM Certified Application

Developer – DB2 9 Family, 8–10, 11applications

active, 70concurrent, 75hanging, 70identifying using LIST APPLICATION command,

102–103identifying, using Applications dialog of Control

Center, 103, 103, 104snapshot monitor data on, 356terminating with FORCE APPLICATION,

104–105, 147, 774Applications dialog, Control Center, 103, 103, 104APPLY, 144archival logging, 142, 544, 547, 548, 562, 771. See

also transaction loggingarchiving, 69, 73, 74, 76, 78archretrydelay, 69tarithmetic operations, 75arranging to take a certification exam, 18–20arrays, in Label-based Access Control (LBAC), 677AS/400, trusted vs. untrusted clients and, 627–628ASCII. See delimited ASCII files and data movement;

non-delimited ASCII (ASC) files and datamovement

aslheapsz, 56tAssociate, IBM Certified Database Associate – DB2 9

Fundamentals, 2, 3asynchronous mode of high availability disaster

recovery (HADR), 590asynchronous page cleaners, 70, 76ATTACH to instance, 41–42, 42, 43ATTACH/DETACH PARTITION, 199attributes, XML, 204audit_but_sz, 56tauthentication, 12, 56, 57, 59, 63, 622–628, 699, 826

add on products for, 622authentication types used in, 623–626, 700, 826CLIENT type authentication in, 624

DATA_ENCRYPT type authentication in, 625DATA_ENCRYPT_CMP type authentication in, 625Database Manager configuration for (CLIENT and

SERVER), 628Distributed Computing Environment (DCE)

security services for, 622external security facility for, operating systems

supporting, 622GSS_SERVER_ENCRYPT type authentication in,

625, 627GSSPLUGIN type authentication (Generic Security

Service) in, 625, 626internal security features for, operating systems

supporting, 622KERBEROS type authentication in, 624KRB_SERVER_ENCRYPT type authentication in,

624–625, 627NULL passwords vs., 623operating system differences in handling, 622passwords in, 622–623, 626–627security plug ins for, 626–627SERVER type authentication in, 623SERVER_ENCRYPT type authentication in, 624, 626trusted vs. untrusted clients and, 627–628type of, 623–626user IDs in, 622–623, 626–627, 626

authentication parameter, 56t, 108tDatabase Administrator (DBADM), 162, 230, 785

authorities/authorization levels, 9, 57, 161, 162–163,230, 621, 628–652, 699, 785, 824–831. See alsoprivilegescommon tasks and, 673–674, 674–675t, 673Control Center to grant/revoke, 653–655, 654Database Administrator (DBADM). See Database

Administrator (DBADM)explicitly granting, 652–653GRANTing, 636, 638, 652–673hierarchy of, 629, 629implicitly granting, 652indirectly granting, 652Load (LOAD). See Load (LOAD) authorityrequirements for granting/revoking, 672, 673tREVOKE/ing, 664–672Security Administrator (SECADM). See Security

Administrator (SECADM)System Administrator (SYSADM). See System

Administrator (SYSADM)System Control (SYSCTRL). See System Control

(SYSCTRL)System Maintenance (SYSMAINT). See System

Maintenance (SYSMAINT)

834

Index

Page 3: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

System Monitor (SYSMON). See System Monitor(SYSMON)

System Monitor (SYSMON), 635–636. See alsoSystem Monitor (SYSMON)

auto_db_backup, 69tauto_maint, 69tauto_prof_upd, 70tauto_reorg, 70tauto_runstats, 70tauto_stats_prof, 70tauto_tbl_maint, 69tAUTOCONFIGURE, 85–88, 85–86t, 144, 145,

452–454, 767, 772AutoLoader (db2atld), 638AUTOMATIC keyword, 65, 80, 118Automatic Maintenance, 3, 37, 69, 111–113, 148, 163,

229, 775–776, 778backup images produced by, 111, 148, 775Configure Automatic Maintenance wizard for, 112,

113, 114Database Manager settings for, 111, 775–776defragmentation using, 111, 148, 775enabling, 149optimization of data access using RUNSTATS in,

112, 148statistics profiling using, 112, 148, 775

automatic storage table spaces, 155, 164, 166–167,173, 182, 184, 231, 237, 786, 787high availability disaster recovery (HADR) and,

592, 617size of, 167

autorestart, 70tAUTOSTART, for event monitors, 371–374, 373availability, 7avg_appls, 70t

Bbackground processing, 43–44, 48, 140, 770BACKUP

ADMIN_CMD() stored procedure and, 452–454, 452backup and recovery, 4, 12, 70, 72, 73, 74, 75, 77, 78,

537–619, 813–824Automatic Maintenance and, 111, 148, 775automatic, using autorestart parameter, 69, 560BACKUP command for, 111, 148, 775Backup utility for, 561, 562–566. See also Backup

utilityBackup Wizard for, 564, 565, 566checkpoints and, soft, 560–561Control Center crash recovery dialogs for, 559, 559

crash recovery in, 537, 551–552, 552, 609, 814cumulative backups and, 556delta, 537, 556, 563, 612–613, 612, 814differential or noncumulative backups and, 557,

613, 814DROP PENDING TABLESPACES option on,

558, 610, 820full backup in, 537, 814high availability disaster recovery (HADR) in See

high availability disaster recovery (HADR)incremental, 537, 556, 563, 564, 612–613, 814, 822invalid indexes and, rebuilding, 537, 585–587,

614–615, 822mirrored transaction logs and, 549–550, 609online vs. offline, 555–556point of consistency in, 552Recover utility for, 561, 583–585. See also

Recover utilityrecoverable vs. nonrecoverable databases and,

554–555, 555t, 598–599, 820–821recovery history files and, 582–583redirected restore and, 572–575, 611–612, 821–822RESTART DATABASE command to perform,

557–559Restore Data Wizard for, 570, 571, 572, 581, 582Restore utility for, 561, 566–575. See also Restore

utilityRoll-forward recovery in, 513–514, 537, 551, 553,

554, 613, 814Roll-forward utility for, 561, 575–582. See also

Roll-forward utilitySET TABLESPACE CONTAINERS and,

573–574, 612split mirror databases and, 537, 587–590, 616,

815–816table spaces and, 175, 234, 558, 610, 815, 820transaction logging settings and, 554–555, 555tversion recovery in, 537, 551, 552–553, 553, 815WRITE RESUME option in, 558

BACKUP command, 111, 148, 775. See also Backuputility

BACKUP DATABASE command, 562–564. See alsoBackup utility

Backup utility, 77, 78, 562–566. See also backup andrecoveryalias of backup copy in, 562authority to use (SYSADM, SYSCTRL,

SYSMAINT), 566BACKUP DATABASE command for, 562–564Backup Wizard for, 564, 565, 566buffer setup for, 563

NOTE: Boldface numbers indicate illustrations; t indicates a table 835

Index

Page 4: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Backup utility, continuedINCREMENTAL DELTA option for, 563, 613INCREMENTAL option for, 563, 613throttling of, 563, 613Tivoli Storage Manager (TSM) options in, 563transaction logging strategy used and, 562

Backup Wizard, 564, 565, 566backup_pending, 70tbase tables, 245. See also tables

indexes and, 289–290, 290Basic Control Center view, 301, 342batch mode, Command Line Processor (CLP), 325benchmark testing and db2batch utility, 515–518,

534, 813BIGINT, 276tbinary large object (BLOB), 277tBIND, 7, 163, 649, 661, 670, 700, 702, 786, 829–830Bind File Description Tool, 408–410, 409t, 429, 800bind files, 162BINDADD, 162, 230, 640, 655, 663, 664, 699, 701,

702, 785, 828, 829–830binding, 71

DB2 Bind File Description Tool, 408–410, 409t,429, 800

QUERYOPT precompile/bind option and,406–408, 406

REBIND and, 512–513, 534, 535blk_log_dskful, 70tBLOB, 277tblock based indexes, 290, 339, 798BLOCKED event monitors, 368–369, 425, 806blocking factors, for indexes, 298blocks, indexes and, 297–298books for study, 17bp_resizable, 86tbuffer pools, 11, 118, 150, 160, 180, 214

event monitors and, 367thigh availability disaster recovery (HADR) and, 597IBMDEFAULTBP, 180size of, 160snapshot monitor data on, 356table spaces and, 183, 187transaction logging and, 542–543, 543

BUFFERPOOL switch, snapshot monitor, 351t, 353buffers, 58, 62build phase of Load utility operation, 476Business Intelligence Analytics, 13BY ALL clause, 665

CC/C++

ADMIN_CMD() stored procedure and, 452–454,531, 809

snapshot monitors for, 349cached packages, 513–514CALL, ADMIN_CMD() stored procedure and, 453–454casting

data types, 10snapshot monitors and, 360

CATALOG DATABASE, 95–97CATALOG...NODE, 93–95catalog_noauth, 56tcatalogcache_sz, 70tcataloging/uncataloging, 6

communications configuration and, 93–97Configuration Assistant and, 95, 97, 317–318, 318Control Center for, 95, 97database, 161databases, using CATALOG DATABASE, 95–97Discovery for, 97nodes, using CATALOG...NODE, 93–95

Centralized Scheduler, Tools Settings Notebook and,319, 344

Certification Navigator tool, 17channels, 58character large object (CLOB), 277tcharacter strings, 276tCHARACTER, 276tcharge-back, 57check conditions, 250check constraints, 205, 243, 245, 249–251, 250, 278,

280, 796CHECK DATA/INDEX/LOB, 7Check Pending state, constraints and, 271–272checkpoints, 77

soft, Backup utility and, 560–561chngpgs_thresh, 70tcircular logging, 544–546, 546, 554, 562, 771. See

also transaction loggingCLEANUP ONLY option, REORG, 504CLI. See ODBC/CLICLIENT type authentication, 624clients, 3, 13, 37. See also server management

authentication on, 56trusted vs. untrusted, 64, 627–628

clint_krb_plugin, 56tclnt_pw_plugin, 57tCLOB, 277tcloning a database, using Restore utility, 570Close exhibit in exam, 28, 28

836

Index

Page 5: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

clustering indexes, 295–296code pages, 71

DAS instances and, 108code sets, 71, 165codepage, 71tcodeset, 71tcollate_info, 71tcollating sequence, 69, 71, 165, 231columns and rows, 244, 788

constraints used on, 245–273, 273–279. See alsoconstraints

delimiters used for, 434–436extracting data from, in external files, 437–441Label-based Access Control (LBAC) and. See

Label-based Access Control (LBAC)views and, 282XML and, 203–206

comm_bandwidth, 57tComma Separated Variable/Value (CSV) files, 434–435Command Editor, 306–311, 310, 311, 345

access plans and, 306–308SQL and SQL Assist with, 306, 308–309, 308Task Center vs., 312Tools Settings Notebook and, 320, 344Visual Explain in, 309–311, 310, 311

Command Line Processor (CLP), 325–326, 326, 345,349, 792, 809batch mode in, 325command mode in, 325error handling and, 119, 120instance commands and, 40interactive input mode in, 325, 326options available for, using LIST COMMAND

OPTIONS, 326SQL and, 345tools accessed from, 300

command mode, Command Line Processor (CLP), 325command syntax, 41COMMENT ON, 193comments, 165COMMIT, 7, 75, 538–542, 544communication protocols, 88–89, 91, 145–146communications bandwidth, 57communications configuration, 88–97.

cataloging/uncataloging objects for, 93–97database connection services (DCS) directory and, 93Database Manager startup and, protocol selection

in, 90databases in, cataloging and uncataloging

(CATALOG DATABASE) of, 95–97DB2COMM registry variable in, 90, 772–773

db2set command for, 90–91directory files and directory locations in, 92–93DRDA Application Servers and, 93instances and, protocol support in, 89iSeries (AS/400) databases and, 93Linux and, 93named pipe protocol in, 88NetBios protocol in, 88nodes in, cataloging and uncataloging

(CATALOG....NODE) of, 93–95protocols for, 88–89, 91, 145–146service file location in, 91service names (svcename) in, 91Setup dialog for manual configuration of, 89–91,

89, 90TCP/IP protocol in, 88, 89–91, 90, 145–146UNIX and, 93UPDATE DATABASE MANAGER

CONFIGURATION in, 91Windows and, 93z/OS databases and, 93

composite block indexes, 297–298comprehensive Explain data, 388, 389COMPRESS YES option, for data row compression,

215–216, 242compression dictionary, 216–217, 217, 242, 780, 785compression, data row. See data row compressionconcurrent applications, 75Configuration Advisor/Assistant, 82–84, 83, 84, 163,

317–318, 318cataloging/uncataloging databases using, 95, 97DAS instances and, 48, 146Registry management tool to view/change variables

in, 53, 53, 54Configuration dialog to view/change DBM values,

66–67, 67, 68Configure Automatic Maintenance wizard, 112, 113, 114configuring the database, 3, 12, 37, 54–88, 162

AUTOCONFIGURE command and, 85–88,85–86t, 144, 145, 767, 772

AUTOMATIC keyword in, 65, 80autorestart for automatic crash recovery of, 560Configuration Advisor for, 82–84, 83, 84Configuration Assistant and, 317–318, 318Database Configuration dialog to view/change

values in, 81, 81, 82Database Manager instance configuration in,

parameters for, 55–68, 56–64tConfiguration dialog to view/change, 66–67, 67, 68GET or view values of, 65RESET DATABASE MANAGER for, 66

NOTE: Boldface numbers indicate illustrations; t indicates a table 837

Index

Page 6: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

configuring the database, continuedUPDATE DATABASE MANAGER for, 66,

143, 144, 145–146, 149DEFERRED clause in, 66, 80Discovery and, 98, 99–100tGET DATABASE CONFIGURATION in, 79,

141, 770GET values of, 65, 79high availability disaster recovery (HADR) and,

exact match between source/standby in, 592,594, 594t, 617–618

IMMEDIATE clause in, 80, 771importance of, 55instance configuration in, 55–68parameters for, in configuration files, 68–82, 69–78tRESET DATABASE CONFIGURATION in, 80–81SHEAPTHRES parameter in, 88, 142, 145, 767UPDATE DATABASE CONFIGURATION in,

79–80, 764–765, 771configuring the DB2 system environment, 48–54

changing registry values using db2set in, 52–53db2set command to assign registry variables in,

49–53, 51t, 141, 766, 770global-level registry profile for, 49instance node-level registry profile in, 49instance-level registry profile in, 49Registry management tool to view/change variables

in, 53, 53, 54registry profiles in, 49registry variables in, 49–54stopping/restarting Database Manager to effect

changes in, 54viewing registry values using db2set in, 52–53

conn_elapse, 57tCONNECT, 162, 230, 639, 655, 664, 671, 699, 701,

785, 828, 829CONNECT_QUIESCE, 655, 664, 701, 829connections, event monitors and, 368tconnectivity, 3, 9, 12, 37, 57consistency of database and transaction processing, 538consistent state, 71constraints, 2, 4, 6, 12, 14, 243, 245–273, 790–791,

795, 796check, 243, 278, 280, 796Check Pending state in, 271–272columns and, defining, 275–279controlling checking of, with SET INTEGRITY,

477, 533creating

using ALTER TABLE, 273using CREATE TABLE, 274–281

using Create Table wizard, 273, 273, 274default, 243ENABLE QUERY OPTIMIZATION and, 278–279as individual element, 280–281informational, 243, 268–270, 269, 279, 280, 337, 795Load utility and, 476–477NOT ENFORCED clause and, 278, 337NOT NULL, 243, 279optimization/Optimizer and, 338referential integrity, 243, 278, 279, 280–281status of, using CONST_CHECKED, 273suspension of, using SET INTEGRITY, 270–273unique, 243, 280, 337, 790–791

contact_host, 108tcontainers, table space, 167, 170–171, 171, 175,

178–180, 181–182, 187, 232, 234, 788adding with ALTER DATABASE, 190, 236, 237,

575, 788–789Restore Data Wizard for, 574, 575SET TABLESPACE CONTAINERS and,

573–574, 612CONTROL privilege, 643, 644, 645, 646, 648, 649,

651, 652, 653, 657, 658, 659, 661, 662, 666, 667,668, 670, 671, 673, 700, 829

Control Center, 4, 7, 301–304, 302, 342, 433, 792,796, 809Advanced view of, 301–302, 302, 342Alter Table Space dialog in, 188, 189Applications dialog in, 103, 103, 104Attach to instance dialog in, 42, 42, 43Backup Wizard in, 564, 565, 566Basic view of, 301, 342capabilities of, 301, 342cataloging/uncataloging databases using, 95, 97Configuration dialog to view/change DBM values,

66–67, 67, 68Configure Automatic Maintenance wizard in, 112,

113, 114contents pane of, 303crash recovery screens in, 559, 559Create Database Wizard in, 168–170, 169, 170Create Event Monitor wizard in, 370, 370, 371Create Index wizard in, 293, 294Create Schema dialog in, 194, 195Create Table Space Wizard in, 184, 185Create Table wizard in, 273, 273, 274Create View dialog in, 284, 285Custom view of, 302, 342DAS instances and, 48, 146Database Configuration dialog to view/change

values in, 81, 81, 82

838

Index

Page 7: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Design Advisor Wizard in, 522, 523, 524elements of, 302–303Event Analyzer in, 376–380, 377, 378Export Table dialog in, 450–451, 450grant/revoke authorities and privileges using,

653–655, 654Health Center in, 381–385, 382, 383icons used in, Legend dialog for, 303, 304Import Table dialog in, 471, 471. 472invoking tools from, 303Legend dialog in, 303, 304Load Wizard in, 491–493, 492, 493menu bar for, 302objects detail pane of, 303objects pane of, 303Quiesce instance in, 46–47, 46, 47Reorganize Table/Reorganize Index dialog in, 505,

505, 506, 507Restore Data Wizard in, 570, 571, 572, 574, 575,

581, 582Roll forward wizard in, 579, 580, 581Run Statistics dialog in, 510, 510, 511Set Up HADR Databases Wizard in, 595, 596, 597Setup dialog for manual communications

configuration in, 89–91, 89, 90toolbar for, 302–303, 303User-Defined Functions (UDFs) and, 342views for, 301–302, 342Visual Explain and Explain Query in, 398–400, 399

control of database, 37controlling the server, 102–105

applications identification in, using Applicationsdialog of Control Center, 103, 103, 104

terminating applications using FORCEAPPLICATION in, 104–105, 147, 774

user identification (LIST APPLICATION) in,instances and databases, 102–103

coordinating agents, 60, 142core files (UNIX), 122counters

Database System Monitor and, 348RESET MONITOR for, 364–365, 424, 801

country, 71tcountry/territory code, 71CPU speed, 57cpuspeed, 57tcrash recovery, 537, 551–552, 552, 609, 814CREATE BUFFERPOOL, 118, 150CREATE DATABASE, 76, 156–170, 231, 787

aliases in, 164AUTOCONFIGURE and, 165

AUTOMATIC STORAGE in, 164automatic storage table spaces in, 166–167, 173,

182, 184, 231, 237code set in, 165collating sequence in, 165, 231comments in, 165Database Managed Space (DMS) table spaces in, 166directories and subdirectories in, 165, 229example of, 168extent size in, 165keywords in, 165, 166RESTRICTIVE clause in, 168system catalog tables in, 166, 231System Managed Space (SMS) table spaces in, 166table spaces in, 166–167territory codes in, 165XML and, for pureXML, 203

Create Database Wizard, 168–170, 169, 170Configuration Advisor started with, 84

CREATE EVENT MONITOR, 366–367, 369–370,425, 806

Create Event Monitor wizard, 370, 370, 371CREATE FUNCTION, 342, 796CREATE INDEX, 193, 292–293, 296, 340–341,

791–792, 793, 798GENERATE KEY USING XMLPATTERN in,

212–213range-partitioned tables and, 202, 240XML and, 212–213

Create Index wizard, 293, 294Create Schema dialog, 194, 195CREATE SCHEMA, 193–194, 195–196CREATE SECURITY LABEL, 680–681, 686, 693CREATE SECURITY LABEL COMPONENT,

676–678, 685CREATE SECURITY POLICY, 678–679, 686, 692–693CREATE TABLE, 193, 197–198, 274–281

ALLOW/DISALLOW OVERFLOW clause for, 198COMPRESS YES option in, for data row

compression, 215–216, 242constraint creation using, 274–281data type definitions in, 276–277tLabel-based Access Control (LBAC) and,

681–682, 686–687, 692ORGANIZE BY KEY SEQUENCE clause for, 197range-partitioning with, using PARTITION BY,

200–202, 239–240, 780–781XML tables and, 205

Create Table Space Wizard, 184, 185, 273, 273, 274CREATE TABLESPACE, 180–185, 592, 617, 789

high available disaster recovery (HADR), 817

NOTE: Boldface numbers indicate illustrations; t indicates a table 839

Index

Page 8: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

CREATE TOOLS CATALOG, 767CREATE VIEW, 193, 283–284

WITH CASCADED CHECK OPTION in, 287, 288WITH LOCAL CHECK OPTION in, 286–287,

338–339, 791Create View dialog, 284, 285CREATE_EXTERNAL, 664CREATE_EXTERNAL_ROUTINE, 640, 655, 701,

702, 829–830CREATE_NOT_FENCED, 162, 230, 699, 785, 828CREATE_NOT_FENCED_ROUTINE, 640, 655, 664,

701, 702, 829–830CREATEIN, 641–642, 657, 825CREATETAB, 162, 230, 640, 655, 664, 699, 701,

785, 828, 829cubes, cube models, 14cumulative backups, 556CURRENT DEGREE, 71CURRENT EXPLAIN MODE/EXPLAIN

SNAPSHOT, 390–391, 391t, 393tCURRENT MAINTAINED TABLE TYPES FOR

OPTIMIZATION, 72CURRENT QUERY OPTIMIZATION register,

406–408, 427–428, 802–803CURRENT REFRESH AGE, 72Cursor Stability isolation level, Export utility and, 451cursors, 9, 205Custom Control Center view, 302, 342CV Advisor, 14

DDAS Administrator (DASADM), 108DAS instance. See DB2 Administration Server (DAS)

instancedas_codepage, 108tdas_territory, 108tdasadm_group, 108tdata blocking, XML and, 206Data Control Language (DCL), 2, 6, 9Data Definition Language (DDL), 2, 6, 9, 495, 534, 810

high availability disaster recovery (HADR) and, 597PASSTHRU privilege and, 650

Data Design Project, 14Data Manipulation Language (DML), 2, 6, 9, 206

high availability disaster recovery (HADR) and, 597PASSTHRU privilege and, 650

data mining, 14data models, 14data movement utilities, 434–495

ADMIN_CMD() stored procedure and, 452–454,531, 809

Comma Separated Variable/Value (CSV) files,434–435

db2look utility for, 494–495, 534, 810db2move utility for, 494–495, 534, 810delimited ASCII files and, 434–435, 439Export utility for, 441–451. See also Export utilityextracting columnar data from external files for,

437–441file formats supported by, 434–437Import utility for, 454–472, 531. See also Import

utilityLoad utility and, 473–493, 532. See also Load utilitylocation method (Method L) for data extraction in,

437, 439–440, 439, 488name method (Method N) for data extraction in,

437, 440–441, 440, 466, 489non-delimited ASCII (ASC) files and, 436, 440PC Integrated Exchange Format (IXF) files and,

437, 439, 810position method (Method P) for data extraction in,

437, 438–439, 438, 466, 489worksheet format (WSF) files and, 437, 813

data normalization. See normalization of dataData Partition Elimination, 199Data Partitioning Feature, 199data placement, 155–242, 778–790. See also databasesdata replication, Replication Center, 304–305, 305data row compression, 155, 213–219, 215, 241, 785

buffer pools and, 214compression dictionary for, 216–217, 217, 242,

780, 785enabling, 215–216, 242estimating storage savings from, using INSPECT,

217–219, 218indexes and, 241, 788storage savings and, 213–214XML and, 206

data sharing, 7data types, 10, 276–277t

casting, 10CREATE TABLE and, 276–277tExport utility and, file type modifiers recognized

by, 443–446tImport utility and, file type modifiers recognized

by, 457–465tLoad utility and, file type modifiers recognized by,

480–488tXML and, 203–206

Data Warehouse Edition, 14

840

Index

Page 9: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Data Warehouse Project, 15Data Warehouse, IBM Certified Solution Designer –

DB2 Data Warehouse Edition V9.1, 13–15, 15data warehousing, 13DATA_ENCRYPT type authentication, 625DATA_ENCRYPT_CMP type authentication, 625database access, 243–345, 790–799. See also

databasesconstraints and. See constraintsindexes in. See indexesSystem Catalog and. See System Catalogtables in. See tablestools for, 243, 300–326views in. See views

Database Administrator (DBADM), 3, 162, 230, 630,636–637, 701, 785, 829CONTROL privilege and, 646event monitors and, 371Export utility and, 451GRANT and, 655, 659, 662, 673t, 674tgranting authorities/privileges by, 653Import utility and, 472Label-based Access Control (LBAC) and, 636,

683, 687Load utility and, 493quiescing an instance and, 47, 766REVOKE and, 664, 665, 667, 671, 673t, 674tRUNSTATS utility and, 636schemas and, 196SQL and, 636SYSADM and SYSCTRL with, 637System Administrator (SYSADM) and, 631XQuery and, 636

Database Administrator, IBM Certified AdvancedDatabase Administrator – DB2 9 for Linux, UNIX,and Windows, 11–13, 13

Database Configuration dialog to view/change values,81, 81, 82

Database Connection Services (DCS) directory, 93Database History view, Journal, 314, 315Database Managed Space (DMS) table spaces, 3, 11,

155, 166, 172–173, 172t, 179, 183, 186, 232, 237,782, 788, 789

Database Manager, 3, 12, 37authentication and, configuration for (CLIENT and

SERVER)", 628Automatic Maintenance and, 111, 775–776background processes in, 43–44, 48, 140, 770communications protocol selection on startup of, 90Configuration dialog to view/change, 66–67, 67, 68configuring the DB2 system environment in, 48–54

Discovery and, 98, 99–100terror handling and, 119, 120Explain Facility and, queries and SQL, 386First Failure Data Capture (FFDC) and, 121–129GET parameter values of, 65instance configuration for, parameters in, 55–68,

56–64tinstances and, 38invalid index rebuilding/recovery, 585–587,

614–615registry variable changes and, starting and

restarting, 54RESET DATABASE MANAGER for, 66Self-Tuning Memory Manager and configuration,

117–118snapshot monitor data on, 356START, 140System Administrator (SYSADM) and

configuration of, 631System Control (SYSCTRL) and, 632–633System Maintenance (SYSMAINT) and, 633–634table spaces and, 172throttling utilities and, configuring for, 115UDPATE, 631UPDATE DATABASE MANAGER for, 66, 115,

143, 144, 145–146, 149Database System Monitor, 348–381

counters in, 348event monitors in, 348, 349, 365–371. See also

event monitorsgauge in, 348information element in, 348monitor elements in, 348processing overhead used in, 349snapshot monitors in, 348, 349–365. See also

snapshot monitorstime element in, 349timestamp element in, 348–349water mark in, 348

database_consistent, 71tdatabase_level, 71tDATABASE_MEMORY, 150database_memory, 71tdatabases, 38, 155, 156

access control in. See access control;authentication; authorization levels; databaseaccess; privileges; security

aliases for, 164applications attached to, using Applications dialog

of Control Center, 103, 103, 104authorities in. See authorities/authorizations

NOTE: Boldface numbers indicate illustrations; t indicates a table 841

Index

Page 10: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

databases, continuedautomatic features of, 163, 229Automatic Maintenance and, 163, 229automatic storage table spaces in, 164, 166–167,

173, 182, 184, 231, 237backup and recovery of. See backup and recoverybind files in, 162BINDADD, 640buffer pool for, 160, 180cataloging and uncataloging (CATALOG

DATABASE) of, 95–97, 161cloning, using Restore utility, 570code set for, 165collating sequence for, 165, 231columns and rows in, 788comments in, 165Configuration Advisor and, 163configuration file of, 162CONNECT, 639consistency of data in, transaction processing and,

71, 538consistent state of, 71control of, 37CREATE DATABASE command complete syntax

in, 163–168, 231, 787. See also CREATEDATABASE

Create Database Wizard for, 168–170, 169, 170CREATE_EXTERNAL_ROUTINE, 640CREATE_NOT_FENCED_ROUTINE, 640CREATETAB, 640creating, 3. See also CREATE DATABASE commanddata row compression in, 213–219, 215Database Managed Space (DMS) table spaces in. See

Database Managed Space (DMS) table spacesDB2 Memory Tracker for, 410–412, 411t, 429, 807declared temporary tables and, 191, 238, 779directories and subdirectories of, 92–93, 157–158,

158, 159, 160, 165, 229Discovery and, selective enabling of, 100, 101event monitors and, 367textent size for, 165federated, 10, 12, 59files of (db2xxx and SQLxxx), 159–160Health Monitor and, 163, 229heap size for, 71hierarchy of objects in DB2 worldview and, 38, 39I/O in, suspend/resume, 537IMPLICIT_SCHEMA, 639instances and, 156keywords for, 165, 166LOAD, 640

local, 62logical vs. physical design of, 6multidimensional, 13naming of, 157, 191page size, 76partitioned, 12privileges for, 162–163, 230, 639–640, 639, 699,

702, 828–829GRANTing, 655–656REVOKE/ing, 664–665

QUIESCE_CONNECT, 639range-clustering and range partitioning in. See

range-clustered tables; range-partitioned tablesrecoverable vs. nonrecoverable, 554–555, 555t,

598–599, 820–821relational, 13RESTRICTIVE clause for, 168role of, 73schemas in, 162, 191–196. See also schemasSelf-Tuning Memory and, 163, 229servers and, 156snapshot monitor data on, 356split mirror copy of, 537, 587–590, 616, 815–816standby, 12System Administrator (SYSADM), 630system catalog tables in, 161, 166, 231System Managed Space (SMS) table spaces. See

System Managed Space (SMS) table spacestable spaces in, 160, 166–167, 170–191. See also

table spacesterritory codes for, 165throttling of utilities and, 163, 229tools for, 300–326user identification (LIST APPLICATION) of, 102–103user temporary tables and, 191, 238utilities for, 162XML and, 202–213

Dataflow Operators, SQL Warehousing, 15DATE, 276tdates, 276tdb_mem_thresh, 71tDB2 9 Family Application Development exam (Exam

733), 10, 17DB2 9 Family Fundamentals exam (Exam 730), 2, 7DB2 9 for Linux, UNIX, and Windows Advanced

Database Administration exam (Exam 734), 13DB2 9 for Linux, UNIX, and Windows Database

Administration exam (Exam 731), 4–5, 16–17, 37,155, 707–710objectives of, by subject, 707–710

842

Index

Page 11: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

DB2 9 for Linux, UNIX, and Windows DatabaseAdministration Upgrade exam (Exam 736), 5, 20, 22

DB2 9 for z/OS Database Administration exam (Exam732), 7

DB2 Administration Server (DAS) instance, 47–48,146, 765authentication in, 108change configuration of, using UPDATE ADMIN

CONFIGURATION, 111code page for, 108Configuration Assistant and, 146Control Center and, 146DAS Administrator (DASADM) for, 108Discovery and, 98, 99–100t, 109KNOWN, 146notification message location for, 108Scheduler and, 109, 110, 766SEARCH, 146show configuration of, using GET ADMIN

CONFIGURATION, 110–111Software Developers Kit (SDK) and, 109Task Center and, configuration parameters for,

108–111, 108–110tterritory code for, 108

DB2 Bind File Description Tool. See Bind FileDescription Tool

DB2 Data Warehouse Edition V9.1 exam (Exam 716), 15DB2 Everyplace, 300DB2 for i5/OS, 300DB2 for z/OS, 300DB2 Memory Tracker. See Memory TrackerDB2 Problem Determination Tool. See Problem

Determination ToolDB2 utilities, 433–536. See also specific utilitiesDB2 V8.1 Family Fundamentals exam (Exam 700), 4,

7, 10db2advis command, 519–520, 520t, 536, 809. See also

Design Advisordb2atld. See AutoLoaderdb2batch utility, 433, 515–518, 534, 813db2bfd, DB2 Bind File Description Tool, 408–410,

409t, 429DB2COMM registry variable, 90, 772–773db2diag utility, 129, 773db2evmon command, 379–380, 379db2exfmt tool, 396–397, 427, 807db2expln tool, 395–396, 427, 807db2GetSnapshot(), 354–357db2hist.asc, 159DB2I, 7db2icrt, 40t

db2idrop, 40tdb2ilist, 40tdb2imigr, 40tdb2inidb

high availability disaster recovery (HADR) and, 594initializing split mirror databases with, 589–590,

616DB2INSTANCE variable, 41, 140, 764db2iupdt, 40tDB2LBACRULES, 678–679, 688–689, 689tdb2look utility, 4, 433, 494–495, 534, 810db2ls command, 341, 798–799db2MonitorSwitches() API, 353db2move utility, 4, 433, 494–495, 534, 810db2mtrk, DB2 Memory Tracker, 410–412, 411t, 429, 807db2pd, DB2 Problem Determination Tool, 4, 412–416,

414–415t, 429–431, 800, 803–805DB2SECURITYLABEL, 277tdb2set, 49–53, 51t, 141, 345, 766, 770, 795

command options for, 51tcommunications configuration using, 90–91

db2start, 40tdb2stop, 40tdb2system, 109tdbheap, 71tdeadlocks, 72

event monitors and, 365–366, 367t, 425, 805–806decimal, 276tDECIMAL, 276tdeclaration, XML, 203–204declared temporary tables, 191, 238, 245, 779default constraints, 243, 245, 247–249, 247–248t,

249, 247DEFERRED clause, 66, 143defragmentation, 111, 148, 775DEGREE, 71DELETE, 643, 651, 652, 657, 662, 663, 666, 667,

671, 701, 702, 825, 826SQL Assist and, 308XML data and, 206–210

DELETE operator, Visual Explain, 402t, 402delete phase of Load utility operation, 476–477, 533, 808Delete Rule for referential integrity constraints,

263–268, 264–267delimited ASCII (DEL) files, 434–435, 439

Export utility and, 441, 443–446t, 447Load utility and, 490–491

delta backup, 537, 556, 563, 612–613, 814dependent or child tables and rows, referential

integrity constraints and, 255–256t

NOTE: Boldface numbers indicate illustrations; t indicates a table 843

Index

Page 12: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

descendant tables and row, referential integrityconstraints and, 256t

Design Advisor, 14, 320–322, 323 343, 433, 518–524,536, 794–795, 809, 810–811AUTOCONFIGURE command and, 85–88,

85–86t, 144, 145, 767, 772db2advis command to invoke, 519–520, 520t, 536db2set command and, 345Design Advisor Wizard for, 522, 523, 524indexes and, 320–322, 323materialized query tables (MQTs) and, 321–322,

345, 810–811multidimensional clustering (MDC) tables and,

321–322, 345, 810–811SQL and, 321–322, 345, 810–811tables and, 320–322, 323uses for, 518, 536

Design Advisor Wizard, 522, 523, 524, 522Design Studio, DWE, 15DESCRIBE, ADMIN_CMD() stored procedure and,

452–454DETACH from instance, 43Developer Workbench, 10dft_account_str, 57tdft_degree, 71tdft_extent_sz, 71tdft_loadrec_ses, 72tdft_mon_bufpool, 57tdft_mon_lock, 57tdft_mon_sort, 57tdft_mon_stmt, 57tdft_mon_table, 57tdft_mon_uow, 57tdft_mttb_types, 72tdft_prefetchsz, 72tdft_refresh_age, 72tdft_sqlmathwarn, 72tdft_ueryopt, 72tdftdpath, 57tdiagnostic logs, 121, 123–124, 126–128, 126, 152. See

also transaction loggingdiagpath, 58tdialglevel, 58tdib2rhist.back, 159dictionary, compression, 216–217, 217, 242, 780, 785differential or noncumulative backups, 557, 613, 814dift_mon_timestap, 57t, 57dimension objects, 14dir_cache, 58tdirectories and subdirectories, 6, 58, 92–93, 160,

157–158, 158, 159, 165, 229, 782

Recover utility and, 585Restore utility and, 568, 569Roll-forward utility and, 577

directory cache, 58directory files and directories, 92–93Disaster Recovery, 7discover, 58t, 109tdiscover_db, 72tdiscover_inst, 58tDiscovery, 37, 58, 72, 97–101, 146

cataloging/uncataloging objects using, 97DAS instance configuration for, 98, 99–100tDAS instances and, 48, 109database configuration for, 98, 99–100tDatabase Manager configuration for, 98, 99–100tdatabases enabled for, 100, 101ENABLE/DISABLE, 100, 101, 773instances enabled for, 100, 101, 773request processing in, 98search discovery in, 98

disk-full errors in logging, 550, 609, 819–820DISPLAY, 7Distributed Computing Environment (DCE) security

services, 622Distributed Connection Services (DCS), System

Control (SYSCTRL) and, 632Distributed Unit Of Work (DUOW), 12, 62, 127division, 75DLCHKTIME, 143, 771dlchktime, 72tDMS. See Database Managed Space (DMS) table spacesdocumentation, Tools Settings Notebook and, 319, 344documentation, product, 17DOUBLE FLOAT, 276tdouble-byte character large object (DBCLOB), 277tDRDA Application Servers, 57

communications configuration and, 93drive assignment, 57DROP, event monitors and, 375–376DROP CONTACT, ADMIN_CMD() stored procedure

and, 452–454DROP CONTACTGROUP, ADMIN_CMD() stored

procedure and, 452–454DROP TABLESPACE, 592, 617

high available disaster recovery (HADR), 817DROP VIEW, 289, 339, 795DROPIN, 641–642, 657dual logging strategy, 549–550dump files, 121DWE, 14DWE Administrator, 15

844

Index

Page 13: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

DWE Design Studio, 15dyn_query_mgmt, 72tdynamic bitmap indexes, 290, 339, 798dynamic SQL, 6, 9, 76, 513–514

optimization/Optimizer, 808–809snapshot monitor data on, 356

EEISCAN operator, Visual Explain, 402telements, XML, 204embedded SQL, 8, 9

ADMIN_CMD() stored procedure and, 452–454,531, 809

ENABLE QUERY OPTIMIZATION, constraints and,278–279

ENABLE/DISABLE, 100, 101, 773encryption, 12End the exam, 32–33, 32environment variables, 49. See also registry variablesenvironment. See configuring the DB2 system

environmenterror codes, 119–121error handling, 58, 72, 119–129

administration notification logs and, 121, 124–128,126, 152–154, 768–769

Command Line Processor (CLP) and, 119, 120core files (UNIX) and, 122Database Manager action in, 119, 120db2diag utility and, 129, 773diagnostic logs and, 121, 123–128, 126, 152dump files and, 121error codes and, 119–121event logs and, 121, 125–126, 125First Failure Data Capture (FFDC) and, 121–129function/activity codes used in logs/FFDC (b, c, d,

etc.), 128, 151, 777GET ERROR MESSAGE API for, 119interpreting logs for, 126–128, 126reason codes and, 120–121trap files and, 122Windows Event Logs and, 121, 125–126, 125

error log, JDBC, 10Event Analyzer, 376–380, 377, 378event logs, 121, 125–126, 125Event Monitor Productivity Tool, 376, 379–380event monitors, 4, 313, 347, 348, 349, 365–371, 800

activating/deactivating, AUTO/MANUALSTARTfor, 371–374, 373

activating/deactivating, with SET EVENTMONITOR, 371–374, 373

authority to create, 371BLOCKED, 368–369, 425, 806BUFFERPOOL, 367tCONNECTIONS, 368tCreate Event Monitor wizard for, 370, 370, 371creating, with CREATE EVENT MONITOR,

366–367, 369–370, 425, 806DATABASE, 367tdb2evmon command and, 379–380deadlock cycles and, 365–366, 425, 805–806DEADLOCKS, 367tdeleting, with DROP or Control Center, 375–376, 376Event Analyzer to view, 376–380, 377, 378Event Monitor Productivity Tool to view, 376,

379–380forcing output from, with FLUSH EVENT

MONITOR, 374–375NONBLOCKED, 369, 425, 806numbers of, vs. number active, 374, 425output from, location for, 368, 425recovery history files and, 583STATEMENTS, 368tTABLES, 367tTABLESPACES, 367tTRANSACTIONS, 368ttypes of, 367, 367–368tviewing data from, 376–380

Everyplace, DB2, 300environment variables, 3Exam Objectives, 18Exam Results panel, 33–34, 33exceptions, SQL, 10exec_exp_task, 109tEXECUTE, 162, 163, 230, 647–648, 649, 660, 661, 663,

669, 670, 672, 700, 701, 703, 786, 826–828, 829EXECUTE WITH GRANT, 163execution priorities, 56Exhibit illustrations or output accompanying

questions, 26–27, 27Exhibit panels with exam question, 27–28, 28Exit from the exam, 22exit programs, 78EXPLAIN, 388–389, 392–393, 393t, 799Explain Facility, 4, 7, 347, 356–389, 799, 801, 807

access plans and, 386bind options and, EXPLAIN and EXPLSNAP in,

392–393, 393tcomprehensive data from, 388, 389data collection using, 388–389, 427db2exfmt tool to evaluate data from, 396–397, 427, 807

NOTE: Boldface numbers indicate illustrations; t indicates a table 845

Index

Page 14: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Explain Facility, continueddb2expln tool to evaluate data from, 395–396, 427,

807evaluating data from, 393–397EXPLAIN statement and, 388–389optimization/Optimizer and, 386snapshot data from, 388, 389special registers in, with CURRENT EXPLAIN

MODE/EXPLAIN SNAPSHOT in, 390–391,391t, 393, 394t

SQL and, 386tables in, and creation of, 387–388, 387Visual Explain use and, 398–405, 807

Explain Query Statement dialog, 399–400, 400Explain tables, 387–388, 387explicitly granting authorities/privileges, 652–653EXPLSNAP bind option, 392–393, 394tEXPORT, 411–443, 452–454Export Table dialog, 450–451, 450Export utility, 4, 14, 433, 441–451

authorities (SYSADM, DBADMN) for use of, 451column names in, 442Cursor Stability isolation level for, 451EXPORT command to invoke, 441–443Export Table dialog for, 450–451, 450external file location for, 442, 450–451, 450file formats supported by, 441, 443–446tfile names in, 442file type modifiers recognized by, 443–446tlarge object (LOB) values and, 447, 448packed character data and, 446SELECT and, 443XML files and, 442, 449, 449XQuery and, 443

extents, 296table space, 71, 165, 167, 175, 182, 233

Extraction Transform Load (ETL) operations, 638

Ffailarchpath, 73tfailback operation using HADR, 591failover, 12FAT clients, 13fault monitoring, 12fcm_num_buffers, 58tfcm_num_channels, 58tfed_noauth, 59tfederated databases, 10, 12, 59federated parameter, 59tfederated servers, 649

nicknames and, 650fenced processes, 59, 60, 62, 63fenced_pool, 59tFETCH operator, Visual Explain, 402tfile formats for data movement, 434–437

Comma Separated Variable/Value (CSV) files,434–435

delimited ASCII files and, 434–435, 439Export utility, 441, 443–446tnon-delimited ASCII (ASC) files and, 436, 440PC Integrated Exchange Format (IXF) files and,

437, 439, 810worksheet format (WSF) files and, 437, 813

file handles, 75files

database management, 159–160number open, 61

FILTER operator, Visual Explain, 402tFirst Failure Data Capture (FFDC), 121–129

administration notification logs and, 121, 124–128,126, 152–154

amount of information collected by, control of, 123cleanup of, by SYSADM, 122core files (UNIX) and, 122db2diag utility and, 129, 773diagnostic logs and, 121, 123–124, 126–128, 126, 152dump files and, 121function/activity codes used in (b, c, d, etc.), 128,

151, 777interpreting logs from, 126–128, 126storage locations for information in, 122trap files and, 122

FLOAT, 276tfloating points, 276tFLUSH EVENT MONITOR, 374–375FLUSH PACKAGE CACHE, 433fonts, Tools Settings Notebook and, 319FORCE APPLICATION, 104–105, 147, 774

ADMIN_CMD() stored procedure and, 452–454foreign key constraints, 253. See also referential

integrity constraintsFormula F1, F2, etc. REORGCHK, 498–502front-end analytics, 13front-end management, 13full backup, 537, 814fully qualified paths, 58function/activity codes used in FDDC, 128, 151, 777functions, 9

846

Index

Page 15: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Ggauge, in Database System Monitor, 348GENERATE KEY USING XMLPATTERN clause,

212–213Generic Security Service (GSS) API, authentication

and, 625, 626GET, 65, 79GET ADMIN CONFIGURATION, 110–111GET DATABASE CONFIGURATION, 79, 119, 141, 770GET ERROR MESSAGE API, 119GET MONITOR SWITCHES, 351–352GET SNAPSHOT, 347, 349, 354–357, 423, 424, 799,

805GET SNAPSHOT FOR APPLICATION, 127global-level registry profile, 49GRANT, 193, 636, 638, 652–673, 701, 703, 825, 827, 830

ALL PRIVILEGES, 663, 658, 662, 701, 825ALTER, 657, 660, 662ALTERIN, 657BIND, 661BINDADD, 655, 663CONNECT, 655CONNECT_QUIESCE, 655CONTROL, 652, 653, 657, 658, 659, 661, 662, 673tCREATE_EXTERNAL_ROUTINE, 655CREATE_NOT_FENCED_ROUTINE, 655CREATEIN, 657CREATETAB, 655Database Administrator (DBADM) authority and,

655, 659, 662, 673t, 674tdatabase privilege using, 655–656DELETE, 652, 657, 662, 663DROPIN, 657examples of, 662–664EXECUTE, 660, 661, 663IMPLICIT_SCHEMA, 655INDEX, 657, 662index privileges using, 659INSERT, 657, 662, 663Label-based Access Control (LBAC) and, 682,

683–685, 687LOAD, 655Load (LOAD) authority and, 673tnickname privileges using, 662package privileges using, 661PASSTHRU, 661PUBLIC option and, 656, 659, 660REFERENCES, 657, 658, 662, 663requirements for, 672, 673troutine privileges using, 660schema privileges using, 657

Security Administrator (SECADM) authority and,655, 673t, 674t

SELECT, 657, 662, 663sequence privileges using, 659–660server privileges using, 661System Administrator (SYSADM) authority and,

659, 662, 673t, 674tSystem Control (SYSCTRL) and, 673t, 674tSystem Maintenance (SYSMAINT) and, 673t, 674tSystem Monitor (SYSMON), 673t, 674ttable privileges using, 657–658table space privileges using, 656–657UPDATE, 657, 658, 662, 663, 664USAGE, 660view privilege using, 658–659WITH GRANT OPTION clause and, 657

GRANT/REVOKE SECURITY LABEL, 637GRAPHIC, 276tgraphical user interface (GUI), tools using, 300GRECP, 7group_plugin, 59tgroupheap_ratio, 73tgrouping tasks, 107GRPBY operator, Visual Explain, 402tGSS plug-ins, 60, 63GSS_SERVER_ENCRYPT type authentication, 625, 627GSSPLUGIN type authentication (Generic Security

Service), 625, 626

HHADR, 59hadr_db_role, 73thadr_local_host, 73thadr_local_svc, 73thadr_remote_host, 73thadr_remote_inst, 73thadr_remote_svc, 73thadr_syncmode, 73thadr_timeout, 73thandles, file, 75hanging applications, 70hash join, 427, 807Health Center, 59, 313–314, 314, 347, 381–385, 382,

383, 426, 806–807changes made to, 384, 426Configure Health Indicator in, 384, 385, 426event monitors in, 313Health Indicator Configuration Launchpad for,

383–384, 383, 384health indicator settings in, 384, 385, 426

NOTE: Boldface numbers indicate illustrations; t indicates a table 847

Index

Page 16: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Health Center, continuedhealth indicators in, 313, 801–802, 806instance level settings/changes to, 384, 385, 426snapshot monitors in, 313status beacons in, Tools Setting Notebook for, 319,

344Health Indicator Configuration Launchpad, 383–384,

383, 384health indicators, 313, 801–802, 806Health Monitor, 59, 163, 229, 343, 426, 778, 806–807health_mon, 59theap, 71heap size, 77Help on the exam, 22hierarchy of authorities/privileges, 629, 629hierarchy of objects in DB2 worldview, 14, 38, 39high availability, 74high availability disaster recovery (HADR), 73, 537,

590–600, 816–817. See also backup and recoveryasynchronous mode in, 590automatic storage databases and, 592, 617automatically replicated operations on standby

server using, 597–598backup operations and, 593buffer pool operations and, 597client redirect/reroute using, 590Data Definition Language (DDL) statements

replicated using, 597Data Manipulation Language (DML) statements

replicated using, 597database configurations for source/standby servers

in, 592, 594, 594t, 617–618DB2 software requirements for source/standby

servers in, 592db2inidb utility and, 594failback operation using, 591host names/addresses for, 593indexes and, 819

invalid, 587, 615, 618–619using load operations in, 599–600

Load operations using COPY NO option and, 593,598–600, 618–619, 823–824

near synchronous mode in, 590redirected restore and, 593reorganization of tables and, 597replication of data using, 590requirements for, 591–593, 617RESTORE DATABASE command and, 593restrictions to, 592–593ROLLFORWARD DATABASE command and, 593Self-Tuning Memory Manager (STMM) and, 593

Set Up HADR Databases Wizard for, 595, 596, 597setting environment for, 593–598, 617–618, 823source (primary) server for, 590–593, 617–618split mirror databases for, 593standby (target) server for, 590–593, 617–618START HADR command to execute, 595stored procedures and, 598switching roles between source and standby servers

in, as failback, 591synchronous mode in, 590table space configurations for source/standby

servers in, 592, 617table spaces and, 597TCP/IP communications between source and

standby servers in, 591, 617–618user defined functions (UDFs) and, 598

high water mark, table space, 175, 233Historical Analysis, 15history files. See recovery history fileshistory. See JournalHP-UX, 8, 11

authentication and, 622HSJOIN operator, Visual Explain, 402t, 427, 807

II/O controller, table space, 167I/O prefetch, 77I/O servers, 76I/O, suspend and resume, 537i5/OS, 300IBM, 18IBM Certified Advanced Database Administrator –

DB2 9 for Linux, UNIX, and Windows, 11–13, 13IBM Certified Application Developer – DB2 9

Family, 8–10, 11IBM Certified Database Administrator – DB2 9 for

Linux, UNIX, Windows, 3–5, 5, 6IBM Certified Database Administrator – DB2 9 for

z/OS, 6–7, 8IBM Certified Database Associate – DB2 9

Fundamentals, 2, 3IBM Certified Solution Designer – DB2 Data

Warehouse Edition V9.1, 13–15, 15IBM DB2 9 certification, 1–35

applicant identification number in, 20arranging to take an exam for, 18–20IBM Certified Advanced Database Administrator –

DB2 9 for Linux, UNIX, and Windows in,11–13, 11

848

Index

Page 17: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

IBM Certified Application Developer – DB2 9Family in, 8–10, 11

IBM Certified Database Administrator – DB2 9 forLinux, UNIX, Windows in, 3–5, 5, 6

IBM Certified Database Administrator – DB2 9 forz/OS in, 6–7, 8

IBM Certified Database Associate – DB2 9Fundamentals in, 2, 3

IBM Certified Solution Designer – DB2 DataWarehouse Edition V9.1 in, 13–15, 15

identification needed before taking exam in, 19, 21materials to take to test site with you for, 19–20preparing for certification exams in, 16–18process of certification in, 16–35receiving your certification from IBM and, 35roles in, 1–15taking the exam in, 20–35. See also taking

certification examsIBM Learning Services, 16IBM Web site, 17IBMDEFAULTBP, 160, 180identification needed before taking exam, 19, 21identification number, applicant, 20IDs, transaction, 543–544illustrations or output accompanying questions, 26–27, 27IMMEDIATE, 80, 143, 144, 771impact analysis, 14IMPLICIT_SCHEMA, 162, 230, 639, 655, 664, 699,

701, 785, 828, 829implicitly granting authorities/privileges, 652IMPORT, 454–470, 531. See also Import utility

ADMIN_CMD() stored procedure and, 452–454, 452Import Table dialog, 471, 471. 472, 471Import utility, 4, 14, 433, 454–472, 531, 808, 809,

810, 811authorities to use (SYSADM, DBADMN), 472CREATE option for target table of, 467, 472, 531external files and, location of, 455, 456, 465–466file type modifiers recognized by, 457–465tIMPORT command for, 454–470Import Table dialog and, 471, 471. 472INSERT option for target table of, 467, 472, 531INSERT_UPDATE option for target table of, 467,

472, 531invoking, with IMPORT command, 531, 532large object (LOB) data and, 455, 468–469, 469Load utility and vs., differences between, 473,

473–475t, 475, 533, 813name method (Method N) in, 466output locations of data for, options to set, 456position method (Method P) in, 466

REPLACE option for target table of, 467, 472, 531REPLACE_CREATE option for target table of,

467, 472target table modifications and, options for, 466–468transaction processing, commit and locking in, 472XML files and, 455, 470, 470

IMS, Tools Settings Notebook and, 320, 344incremental backup, 537, 556, 563, 564, 612–613,

814, 822INDEX, 643, 651, 657, 662, 666, 671, 701index copy phase of Load utility operation, 477indexes, 7, 12, 59, 74, 243, 289–299, 290, 788, 793, 798

base table for, 289–290, 290benefits of, 291block based, 290, 339, 798block, composite block, 297–298blocking factors in, 298clustering, 295–296CONTROL privilege, 646Create Index wizard for, 293, 294, 293creating, using CREATE INDEX, 292–293, 296,

340–341, 791–793, 798data row compression and, 241, 788Design Advisor and, 320–322, 323, 518–524, 536drawbacks to, 291dynamic bitmap, 290, 339, 798high availability disaster recovery (HADR) and,

587, 599–600, 615, 618–619, 819INDEX privilege, 643, 651invalid, rebuilding, 537, 585–587, 614–615, 822keys for, 289–290, 290Load utility and, using ALLOW READ ACCESS

and USE options for, 291, 477LOG INDEX BUILD attribute and, 587, 599–600,

615, 618–619multidimensional clustering (MDC) tables and,

290, 297–298, 298, 339next key locking in, 298–299On-Line Transactional Processing (OLTP) and, 295optimization/Optimizer and, 291PCTFREE option for, 296performance and, 291privileges for, 645–646, 646

GRANTing, 659REVOKE/ing, 668

range-partitioned tables and, 199, 202, 240, 790relational, 290, 339, 798REORG utility for, 502–507Reorganize Table/Reorganize Index dialog for,

505, 505, 506, 507reorganizing tables and, 70, 296

NOTE: Boldface numbers indicate illustrations; t indicates a table 849

Index

Page 18: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

indexes, continuedREORGCHK utility and, 495–502scanning, ALLOW/DISALLOW REVERSE

SCANS on, 295, 340, 798slices, in dimensional block, 298spatial grid, 290, 339, 798type 1 vs. type 2, 298–299types of, 290, 339UNIQUE clause for, 292–293unique constraints and, 252, 337XML and, 155, 205, 206, 211–213, 211, 241, 290,

339, 790, 798indexrec, 59tindexrec, 74tindirectly granting authorities/privileges, 652infinite logging strategy, 548–549Information Center, 17information element, in Database System Monitor, 348informational constraints, 243, 246, 268–270, 269,

279, 280, 337, 795ignoring, by Optimizer, setting for, 270optimization/Optimizer and, 268–269, 270

INITIALIZE TAPE, ADMIN_CMD() storedprocedure and, 452–454

inoperative views, 289, 795INSERT, 643, 645, 651, 657, 662, 663, 666, 667, 671,

701, 702SQL Assist and, 308XML data and, 206–210, 206

INSERT operator, Visual Explain, 402tInsert Rule, for referential integrity constraints,

257–260, 258, 259, 338INSPECT, 218–219, 218instance node-level registry profile, 49instance_memory, 59tinstance-level registry profile, 49instances, 3, 4, 37, 38–48

applications attached to, using Applications dialogof Control Center, 103, 103, 104

ATTACH to, 41–42, 42, 43commands for, 40, 40tcommunication protocol support in, 89configuring, 55–68Database Manager, configuration parameters for,

38, 55–68, 56–64tdatabases and, 156DB2 Administration Server (DAS), 47–48, 146, 765DB2 Memory Tracker for, 410–412, 411t, 429, 807default, DB2INSTANCE variable to define, 41,

140, 764DETACH from, 43

Discovery and, selective enabling of, 100, 101GET parameter values for, 65hierarchy of objects in DB2 worldview and, 38, 39instance node-level registry profile in, 49instance-level registry profile in, 49multiple, uses for, 40QUIESCE or restrict access to, 44–47, 46, 47, 106,

140, 766starting, using START DATABASE MANAGER

command, 43–44, 770stopping, using STOP DATABASE MANAGER

command, 44terminating applications using FORCE

APPLICATION in, 104–105, 147, 774user identification (LIST APPLICATION) of, 102–103

INTEGER/INT, 276tintegers, 276tinteractive input mode, Command Line Processor

(CLP), 325, 326intra_parallel, 60tinvalid indexes, rebuilding/recovering, 537, 585–587,

614–615, 822is_populated, 86tiSeries (AS/400), 2, 8

communications configuration and, databases and, 93isolation levels, 86, 542

Export utility and, 451isolation, 86tItem Review panel in exam, 28–30, 29IXAND operator, Visual Explain, 402tIXF. See PC Integrated Exchange Format (IXF) and

data movementIXSCAN operator, Visual Explain, 402t

JJava, 60

ADMIN_CMD() stored procedure and, 452–454,531, 809

Java database connectivity. See JDBCjava_heap_sz, 60tJDBC, 8, 9, 10jdk_64_path, 109tjdk_path, 60t, 109tjoins

Hash and nested loop, 427, 800, 807Journal, 314–316, 316

Database History view in, 314, 315Messages view in, 314, 315, 316Notification Log view in, 314, 315Task History view in, 314, 315

850

Index

Page 19: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Kkeepfenced, 60tKerberos, 56, 63KERBEROS type authentication, 624keys

foreign, 255foreign, referential integrity constraints and, 255indexes and, 289–290, 290next key locking, 298–299parent, 255parent, referential integrity constraints and, 255primary, 255primary, unique constraints as, 252referential integrity constraints and, 255tunique, 255XML and, 205, 206

keywords, 165, 166AUTOCONFIGURE command for, 85–88, 85–86t,

144, 145, 767, 772KNOWN, 146KRB_SERVER_ENCRYPT type authentication,

624–625, 627

LLabel-based Access Control (LBAC), 12, 277t, 621,

675–693, 704, 825–826activating, 683–685, 691–692arrays in, 677column level, 685–692columns protected by, using ALTER TABLE

command, 687–688, 687components of security labels in, CREATE

SECURITY LABEL COMPONENT commandin, 676, 685

Database Administrator (DBADM) and, 636, 683, 687defining security labels for, CREATE SECURITY

LABEL command in, 680–681, 686, 693exemptions to, granting, 689–691, 705, 827–828granting security labels to users in, GRANT

command in, 682, 683–685, 687label classifications used in, 675–678, 680–681OVERRIDE/RESTRICT options for, 679policy for security in, CREATE SECURITY

POLICY and, 678–679, 686row- and column-level combined, using CREATE

SECURITY POLICY, 692–693row-level, 676–685rules for security (DB2LBACRULES) and,

678–679, 688–689, 689t

Security Administrator (SECADM) and, 637, 676,687, 688, 704, 831

security requirements evaluation for, 676sets in, 677System Administrator (SYSADM) and, 630, 683,

687, 688table creation in, CREATE TABLE for, 681–682,

686–687, 692trees in, 677

large object (LOB) dataExport utility and, 447, 448Import utility and, 455, 468–469, 469Load utility and, 478

latency, table space, 167Learning Services, IBM, 16Legend dialog, Control Center, 303, 304levels, 14License Center, 316, 317Linux, 2, 3, 8, 11

authentication and, 622buffer pool size for, 160communications configuration and, 93

LIST APPLICATION, 102–103, 127LIST COMMAND OPTIONS, 326LIST DCS APPLICATIONS, 127LIST HISTORY, 583LIST TABLESPACE CONTAINERS, 178–180LIST TABLESPACES, 173–178, 232–234, 573, 782–784LIST UTILITIES, 115–116, 117LOAD, 7, 162, 230, 477–479, 480–488t, 490, 532,

638, 640, 655, 664, 699, 701, 811–812, 828, 829.See also Load utilityADMIN_CMD() stored procedure and, 452–454, 452

Load (LOAD) authority, 630, 638AutoLoader (db2atld) and, 638Extraction Transform Load (ETL) operations and, 638GRANTing, 638, 673tREVOKE/ing, 673tRUNSTATS utility and, 638

load phase of Load utility operation, 476LOAD QUERY, 476, 533, 813Load utility, 4, 78, 433, 473–493, 532, 808, 811–812

authorities to use (SYSADM, DBADMN), 493build phase of, 476constraints on, 476–477db2move and db2look utilities in, 494–495, 534, 810delete phase of, 476–477, 533, 808deleting records using, 491delimited ASCII (DEL) files and, 490–491external files and, location of, 478file type modifiers recognized by, 480–488t

NOTE: Boldface numbers indicate illustrations; t indicates a table 851

Index

Page 20: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Load utility, continuedhigh availability disaster recovery (HADR) and,

593, 598–600, 618–619, 823–824Import utility vs., differences between, 473,

473–475t, 475, 533, 813index copy phase of, 477indexes and, ALLOW READ ACCESS and USE

options for, 291, 477INSERT option for, 489, 493invoking, with LOAD command, 477–479,

480–488t, 490, 532large object (LOB) data and, 478load phase of, 476Load Wizard and, 491–493, 492, 493location method (Method L) for, 488name method (Method N) for, 489PC Integrated Exchange Format (IXF) files and, 490phases of, 476position method (Method P) for, 489REPLACE option for, 489, 493, 532, 533RESTART option for, 489, 493restricting table space access and, using QUIESCE

TABLESPACES FOR TABLE, 475SET INTEGRITY and, to control constraint

checking in, 477, 533status of operations in, LOAD QUERY and, 476,

533, 813TERMINATE option for, 490, 493

Load Wizard, 491–493, 492, 493local database directory, 92local databases, 62local_gssplugin, 60t, 60location method (Method L) for data extraction, 437,

439–440, 439, 488lock lists, 74, 75, 143LOCK switch, snapshot monitor, 351t, 353, 356, 424locking memory, 118, 150LOCKLIST, 143, 150, 771locks, locking, 74, 143, 771

Activity Monitor and, 323–324, 343Import utility and, 472next key/Next-key Exclusive (NX), 298–299snapshot monitor data on, 356

LOCKTIMEOUT, 143, 771locktimeout, 74tloclist, 74tlog files. See transaction loggingLOG INDEX BUILD attribute, 587, 599–600, 615,

618–619log retention logging, 547. See archival logging

strategy; transaction logging

log shipping, 12log_retain_status, 74tLOGARCHMETH1, 142logarchmeth1, 74tLOGARCHMETH2, 142logarchmeth2, 74tlogarchopt1, 74tlogarchopt2, 74tlogbufsz, 74tlogfilsz, 74tlogging. See transaction loggingloghead, 74tlogical database design, 6logindexbuild, 74tlogpath, 74tlogprimary, 75tLOGRETAIN, 142logretain, 75tlogs, log files, 74, 75, 76. See also transaction loggingLOGSECOND, 142logsecond, 75tLONG VARCHAR, 276tLONG VARGRAPHIC, 276tLPL, 7

Mmaintenance utilities, 495–514. See also Automatic

Maintenancebenchmark testing and db2batch utility, 515–518,

534, 813Design Advisor in, 518–524, 536REORG utility in, 502–507REORGCHK utility in, 495–502RUNSTATS utility in, 507–514

MANUALSTART, event monitors and, 371–374, 373Mark check box of exam software, 24, 25, 29Materialized Query Tables (MQTs), 9, 14, 245

Design Advisor and, 321–322, 345, 518–524, 536,810–811

materials to take to test site with you, 19–20max_connections, 60tmax_connretries, 60tmax_coordagents, 60tmax_log, 75tmax_querydegree, 60tmax_time_diff, 61tmaxagents, 61tmaxappls, 75tmaxcagents, 61tmaxfilop, 61t, 75tMAXLOCKS, 143, 150, 771

852

Index

Page 21: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

maxlocks, 75tmem_percent, 85tmemory

locking, 118, 150Self-Tuning Memory Manager for. See Self-Tuning

Memory Managershared, 118, 150sort, 118, 150

memory allocation, 56, 59, 60, 61, 62, 69, 71, 73, 74,76, 77DB2 Memory Tracker and, 410–412, 411t, 429, 807DB2 Problem Determination Tool for, 412–416,

414–415t, 429–431transaction logging and, 542–543, 543

Memory Tracker, 410–412, 411t, 429, 807message buffers, 58message channels, 58messages, 61

GET ERROR MESSAGE API for, 119MESSAGES ON SERVER, ADMIN_CMD() stored

procedure and, 453–454Messages view, Journal, 314, Journal, 315, 316metadata, 13min_dev_div_3, 75tmirroring, log, 537, 549–550, 609, 817. See also

transaction loggingMIRRORLOGPATH, 142mirrorlogpath, 75tmncommit, 75tMODIFY, 7mon_heap_sz, 61tmonitor elements, 348moving data. See data movement utilitiesMSJOIN operator, Visual Explain, 402tMultidimensional Clustering (MDC) tables, 12

Design Advisor and, 321–322, 345, 518–524, 536,810–811

indexes and, 290, 297–298, 298, 339On-Line Transactional Processing (OLTP) and, 297XML and, 205

multidimensional databases, 13multipage_alloc, 75tmultiple correct answers to exam question, 25–26, 26MVS operating systems, trusted vs. untrusted clients

and, 627–628

Nname method (Method N) for data extraction, 437,

440–441, 440, 466, 489named pipe protocol, 88

naming the database, 157, 191near synchronous mode, in high availability disaster

recovery (HADR), 590nested-loop joins, 427, 800NetBIOS, 61, 88.NET, 9, 10NEWLOGPATH, 142newlogpath, 75tNext question selection in exams, 25Next-key Exclusive (NX) locks, 298–299next-key locking, indexes and, 298–299nicknames, 650

ALTER privilege, 651CONTROL privilege, 651, 652DELETE privilege, 651INDEX, 651INSERT privilege, 651privileges for, 650–652, 650

GRANTing, 662REVOKE/ing, 670–671

REFERENCES privilege, 651SELECT privilege, 651UPDATE privilege, 651

NLJOIN operator, Visual Explain, 402t, 427, 800nname, 61tnode directory, 92nodes, 61

cataloging and uncataloging (CATALOG....NODE)of, 93–95

Visual Explain and, 310–311, 401–405, 402t, 403nodetype, 61tNONBLOCKED event monitors, 369, 425, 806noncumulative backups, 557, 613, 814nondelimited ASCII (ASC) files and data movement,

436, 440nonrecoverable databases, 554–555, 555t, 820–821

high availability disaster recovery (HADR) and,598–599

normalization of data, referential integrity constraintsand, 253

NOT ENFORCED clause, 278, 337NOT NULL constraint, 245, 246–247, 246, 279Notification Log view, Journal, 314, 315notification logs. See administration notification logsnotification messages, 61notifylevel, 61tNULL, XML and, 205NULL passwords, 623null values

NOT NULL constraint and, 246–247, 246unique constraints and, 252

NOTE: Boldface numbers indicate illustrations; t indicates a table 853

Index

Page 22: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

num_db_backups, 75tnum_freqvalues, 75tnum_initagents, 62tnum_initfenced, 62tnum_iocleancers, 76tnum_ioservers, 76tnum_local_apps, 86tnum_log_span, 76tnum_poolagents, 62tnum_quantiles, 76tnum_remote_apps, 86tnum_stmts, 85tnumarchretry, 76tnumdb, 62tnumsegs, 76t

Oobject privileges, 640–652. See also privilegesObjectives, Exam, 18objects, 3, 6, 7, 9, 14ODBC/CLI, 8, 9

ADMIN_CMD() stored procedure and, 452–454,531, 809

ON DELETE CASCADE (referential constraints),263–268, 264

ON DELETE NO ACTION (referential constraints),263–268, 267

ON DELETE RESTRICT (referential constraints),263–268, 266

ON DELETE SET NULL (referential constraints),263–268, 265

ON UPDATE NO ACTION (referential constraints),260–262, 261, 262

ON UPDATE RESTRICT (referential constraints),260–262, 261, 262

On-Line Transactional Processing (OLTP)indexes and, 295multidimensional clustering (MDC) tables and, 297

online tutorials, 16–17online vs. offline backup and recovery, 555–556open database connectivity. See ODBC/CLIoperands and operators, in Visual Explain, 310–311,

401–405, 402toptimization/Optimizer, 12, 57, 72, 112, 148, 433,

775, 792, 796, 802, 809constraints and, 338CURRENT QUERY OPTIMIZATION register for,

406–408, 427–428, 802–803data access, using RUNSTATS, 112, 148, 775Design Advisor in, 518–524, 536

dynamic SQL and, 808–809ENABLE QUERY OPTIMIZATION and, 278–279indexes and, 291informational constraints and, 268–269, 270optimization classes and, 406–408QUERYOPT precompile/bind option and, 406–408REBIND and, 512–513, 534, 535REOPTxxx options for, 512–513RUNSTATS utility and, 507–514, 535SET CURRENT QUERY OPTIMIZATION in,

406–408, 427–428, 802–803SQL, 386

ORGANIZE BY KEY SEQUENCE clause, 197, 198OS/390

Tools Settings Notebook and, 319, 344trusted vs. untrusted clients and, 627–628

overflow, ALLOW/DISALLOW OVERFLOW clausefor, 198

overflowlogpath, 76t

Ppackage cache, 118, 150packages, 161, 386

BIND privilege, 649CONTROL privilege, 648, 649EXECUTE privilege, 649privileges for, 648–649, 648, 701, 702

GRANTing, 661REVOKE/ing, 669–670

RUNSTATS utility and, 513–514packed character data, Export utility and, 446page cleaners, transaction logging and, 542–543pages, table space, 167, 175, 179, 181, 187, 233pagesize, 76tparallelism, 12, 60parsing, XML, 9PARTITION BY clause, 200–202, 239–240, 780–781partitioned databases, 12partitioning, 60, 199. See also range-partitioned tablespassing the exam, 35PASSTHRU, 650, 661, 670passwords, 57, 63

authentication and, 622–623, 626–627NULL as, 623

pattern, XML, 211–213PC Information Exchange Format (IXF) and data

movement, 437, 439, 810db2move and db2look utilities for, 494–495, 534, 810Export utility and, 441, 443–446tLoad utility and, 490

854

Index

Page 23: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

PCKCACHESZ, 150pckcachesz, 76tPCTFREE option, 296Pearson VUE, 18performance, 12, 799–807. See also analyzing DB2

activitybenchmark testing and db2batch utility for,

515–518, 534, 813Design Advisor and, 320–322, 323, 518–524, 536Health Center and, 313–314, 314indexes and, 291Run Statistics dialog for, 510, 510, 511RUNSTATS utility for, 507–514. See also

RUNSTATS utilityVisual Explain and, 309–311, 310, 311. See also

Visual ExplainPERL, 9PHP, 9physical database design, 6plug-in libraries, 56, 57, 59plug-ins, 63point of consistency, in recovery, 552policies, security, in Label-based Access Control

(LBAC), 678–679, 686port numbers, 73position method (Method P) for data extraction, 437,

438–439, 438, 466, 489prefetch, 72

I/O, 77table space, 167, 175, 182–183, 187, 234

preparing for certification exams, 16–18Previous question selection in exams, 25PRIMARY database role, 73primary key. See keys, primaryprimary log files. See transaction loggingprivileges, 9, 161, 162–163, 230, 621, 639–652, 699,

785, 824–831. See also authorities/authorizationlevelsALL PRIVILEGES clause and, 658, 662, 663, 667,

671, 701, 825ALTER, 643, 647, 651, 657, 660, 662, 666, 668,

671, 701, 702ALTERIN, 196, 641–642, 657BIND, 163, 649, 661, 670, 700, 786, 829–830BINDADD, 162, 230, 655, 663, 664, 699, 701,

702, 785, 828, 829–830BY ALL clause and, 665common tasks and, 673–674, 674–675tCONNECT, 162, 230, 655, 664, 671, 699, 701,

785, 828, 829CONNECT_QUIESCE, 655, 664, 701, 829

CONTROL, 643, 644, 645, 646, 648, 649, 651,652, 653, 657, 658, 659, 661, 662, 666, 667,668, 670, 671, 673t, 700, 829

Control Center to grant/revoke, 653–655, 654CREATE_EXTERNAL, 664CREATE_EXTERNAL_ROUTINE, 655, 701,

702, 829–830CREATE_NOT_FENCED, 162, 230, 699, 785,

828CREATE_NOT_FENCED_ROUTINE, 655, 664,

701, 702, 829–830CREATEIN, 196, 641–642, 657, 825CREATETAB, 162, 230, 655, 664, 699, 701, 785,

828, 829database, 639–640, 639, 655–656, 664–665, 699,

702, 828–829DELETE, 643, 651, 652, 657, 662, 663, 666, 667,

671, 701, 702, 825, 826DROPIN, 196, 641–642, 657EXECUTE, 162, 163, 230, 647–649, 660, 661,

663, 669, 670, 672, 700, 701, 703, 786,826–828, 829

EXECUTE WITH GRANT, 163explicitly granting, 652–653GRANT, 653, 652–673, 701, 703, 825, 827, 830hierarchy of, 629, 629IMPLICIT_SCHEMA, 162, 230, 655, 664, 699,

701, 785, 828, 829implicitly granting, 652index, 645–646, 646, 659, 668INDEX, 643, 651, 657, 662, 666, 671, 701indirectly granting, 652INSERT, 643, 645, 651, 657, 662, 663, 666, 667,

671, 672, 701LOAD, 162, 230, 655, 664, 699, 701, 828, 829nickname, 650–652, 650, 662, 670–671object, 640–652package, 648–649, 648, 661, 669–670, 701, 702PASSTHRU, 650, 661, 670PUBLIC group option for, 162, 230, 656, 659, 660,

665, 667, 668, 669, 670, 672, 699, 700, 828, 829REFERENCES, 643–644, 651, 657, 658, 662, 663,

666, 671, 701, 825requirements for granting/revoking, 672, 673tRESTRICT clause and, 669REVOKE/ing, 664–672, 703routine, 647–648, 647, 660, 669, 701ROUTINE, 664schema, 641–642, 641, 657, 666SELECT, 162, 230, 643, 645, 651, 657, 662, 663,

666, 667, 671, 672, 700, 701, 786, 827, 828

NOTE: Boldface numbers indicate illustrations; t indicates a table 855

Index

Page 24: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

privileges, continuedsequence, 646–647, 646, 659, 668server, 649–650, 650, 661, 670table, 642–644, 642, 657–658, 666–667, 702, 825, 826table space, 640–641, 641, 656–657, 665UPDATE, 643, 645, 651, 657, 658, 662, 663, 664,

666, 667, 671, 672, 701, 702, 825USAGE, 647, 660, 668USE, 162, 230, 641, 652, 699, 828view, 289, 644–645, 644, 658–659, 667, 700, 825WITH GRANT OPTION clause and, 657

problem determination, 119–129. See also error handlingProblem Determination Tool. 412–416, 414–415t,

429–431, 800, 803–805processes, fenced, 59, 60, 62, 63product information, DB2, 61Professional Certification Program, 1profiles, registry. See registry profilesProject Engineer, 14Project Explorer, 14protocols, communication, 88–89, 91, 145–146PRUNE HISTORY/LOGFILE, 583

ADMIN_CMD() stored procedure and, 452–454PUBLIC, 162, 168, 230, 656, 659, 660, 665, 667, 668,

669, 670, 672, 699, 700, 828, 829publications for study, 17pureXML, 202–203. See also XMLPYTHON, 9

Qqueries, 9, 10, 13, 72

Command Editor and, 306–311, 307CURRENT QUERY OPTIMIZATION register for,

406–408, 427–428, 802–803Data Partition Elimination and, 199Design Advisor for, 518–524, 536Explain Facility and, 386. See also Explain Facilityoptimization classes and, 406–408optimizing. See optimization/OptimizerQUERYOPT precompile/bind option and, 406–408range-partitioned tables and, 199SET CURRENT QUERY OPTIMIZATION in,

406–408, 427–428, 802–803XML and, and XQuery, 208–210. See also XML

Query Patroller, 14, 15, 72QUERY STATUS option, in Roll-forward utility, 578Query Workload Management, 15query_heap_sz, 62tQUERYOPT precompile/bind option, 72, 406–408question panel of exam software, 23–24, 23

questions and answers, samples, 18, 711–813QUIESCE DATABASE, ADMIN_CMD() stored

procedure and, 452–454QUIESCE TABLESPACES FOR TABLE, 475

ADMIN_CMD() stored procedure and, 452–454QUIESCE/UNQUIESCE access to instance, 44–47,

46, 47, 106, 140, 766QUIESCE_CONNECT privilege, 639quiescing a table space, 176, 234, 452–454, 475

RRANGE, 76range-clustered tables, 155, 196–198, 238, 790

ALLOW/DISALLOW OVERFLOW clause for, 198ORGANIZE BY KEY SEQUENCE clause for, 197, 198XML and, 205

range-partitioned tables, 155, 196, 199–202, 790ATTACH/DETACH PARTITION for, 199CREATE INDEX and, 202, 240CREATE TABLE for, using PARTITION BY

clause, 200–202, 239–240, 780–781Data Partition Elimination and, 199Data Partitioning Feature and, 199indexes and, 199, 202, 240, 790query processing and, 199XML and, 205

REAL FLOAT, 276treason codes, for errors, 120–121REBIND, 4, 433, 809, 813

RUNSTATS utility and, 512–513, 534, 535rec_his_retentn, 76treceiving your certification from IBM, 35records, 337RECOVER, 7, 817–818. See also Recover utilityRECOVER DATABASE command, 584–585, 610–611Recover utility, 561, 583–585, 817–818. See also

backup and recoveryalias for databases in, 584directories for, 585RECOVER DATABASE command for, 584–585,

610–611RESTART option and, restarting from failure, 585time point for, setting, 584

recoverable vs. nonrecoverable databases, 554–555,555t, 598–599, 820–821

recovery history files, 76, 582–583, 771high availability disaster recovery (HADR) and, 593LIST HISTORY command for, 583PRUNE HISTORY command for, 583Restore utility and, 570

856

Index

Page 25: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

recovery log files, 771RECP, 7RedBooks, 17REDIRECT GENERATE SCRIPT, 574REDIRECT option, for RESTORE, 573redirected restore, 572–575, 611–612, 821–822

high availability disaster recovery (HADR) and, 593SET TABLESPACE CONTAINERS and,

573–574, 612REDISTRIBUTE, ADMIN_CMD() stored procedure

and, 453–454REFERENCES, 643–644, 651, 657, 658, 662, 663,

666, 671, 701, 825referential constraints, 253. See also referential

integrity constraintsreferential cycle, for referential integrity constraints, 256treferential integrity, 246, 253–268referential integrity constraints, 243, 246, 253–268,

278, 279, 280–281Delete Rule for, 263–268, 264–267dependent or child tables and rows with, 255–256tdescendant tables and row with, 256tforeign key and, 255, 255timportance of, 256–257Insert Rule for, 257–260, 258, 259, 338keys used with, 255tnormalization of data and, 253parent key and, 255, 255tparent tables/rows and, 255tprimary key with, 255treferential cycle in, 256tself-referencing tables/rows with, 256ttable relationships using, 253–255, 254terminology of, 255–256tunique key with, 255tUpdate Rule for, 260–262, 261, 262

refresh, 72Registry management tool to view/change variables,

53, 53, 54registry profiles, 49registry variables, 3, 37, 49–54

changing, using db2set, 52–53DB2COMM, 90, 772–773db2set command to assign, 49–53, 51t, 141, 766, 770stopping/restarting Database Manager to effect

changes in, 54viewing, using db2set, 52–53

relational databases, 13relational indexes, 290, 339, 798release levels, 62, 71, 76release, 62t, 76t

remote servers, 73REOPTxxx options, 512–513REORG INDEXES/TABLE, ADMIN_CMD() stored

procedure and, 453–454REORG utility, 4, 7, 296, 433, 502–507, 534,

812–813CLEANUP ONLY option for, 504invoking, with REORG command, 503–507recovery history files and, 583Reorganize Table/Reorganize Index dialog for,

505, 505, 506, 507reorganization of tables, 70

high availability disaster recovery (HADR) and,597

Reorganize Table/Reorganize Index dialog, 505, 505,506, 507

REORGCHK utility, 4, 433, 495–502, 811, 812–813formulas F1, F2, etc. in, 498–502interpreting output of, 498–502invoking, with REORGCHK command, 495–497RUNSTATS utility and, 511, 535

REPAIR, 7replication, 12Replication Center, 304–305, 305, 344, 797RESET ALERT CONFIGURATION,

ADMIN_CMD() stored procedure and, 453–454RESET DATABASE CONFIGURATION, 80–81

ADMIN_CMD() stored procedure and, 453–454RESET DATABASE MANAGER, 66RESET DATABASE MANAGER

CONFIGURATION, ADMIN_CMD() storedprocedure and, 453–454

RESET MONITOR, 364–365, 424, 801Resource Manager, 62RESTART DATABASE, 70, 557–559Restore Data Wizard, 570, 571, 572, 574, 575, 581, 582RESTORE DATABASE, 566–570. 574, 576, 578,

583, 612. See also Restore utilityhigh availability disaster recovery (HADR) and, 593

Restore Pending state, 76, 573Restore utility, 78, 561, 566–575. See also RESTORE

DATABASEalias of database for, 568, 569authority to use (SYSADM, SYSCTRL,

SYSMAINT), 572buffer pages for, 569cloning a database using, 570directories for, 568, 569recovery history file and, 570REDIRECT GENERATE SCRIPT and, 574REDIRECT option in, 573

NOTE: Boldface numbers indicate illustrations; t indicates a table 857

Index

Page 26: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Restore utility, continuedredirected restore and, 572–575, 821–822Restore Data Wizard for, 570, 571, 572, 574, 575RESTORE DATABASE command for, 566–570,

574, 576, 578, 583, 612Restore Pending state and, 573table spaces and, 568, 569–570, 614timestamps in, 568Tivoli Storage Manager (TSM) and, 568

restore. See backup and recoveryrestore_pending, 76tRESTP, 7RESTRICT clause, 669restrict_access, 76tRESTRICTIVE clause, 76, 168, 786result table, 245resync_interval, 62tresynchronization, 62RETURN operator, Visual Explain, 402treverse-engineering, 14Review Incomplete questions in exam, 30–31Review Item in exam, 30–31, 31Review Marked questions in exam, 30–31reviewing your work in exam taking, 24, 28–30, 29REVOKE, 664–672, 703

ALL PRIVILEGES clause and, 667, 671ALTER, 666, 668, 671BIND, 670BINDADD, 664BY ALL clause and, 665CONNECT, 664, 671CONNECT_QUIESCE, 664CONTROL, 666, 667, 668, 670, 671, 673tCREATE_EXTERNAL, 664CREATE_NOT_FENCED_ROUTINE, 664CREATETAB, 664Database Administrator (DBADM) and, 664, 665,

667, 671, 673t, 674tdatabase privileges using, 664–665DELETE, 666, 667, 671examples of, 671–672EXECUTE, 669, 670, 672IMPLICIT_SCHEMA, 664INDEX, 666, 671index privileges using, 668INSERT, 666, 667, 671, 672LOAD, 664Load (LOAD) authority, 673tnickname privileges using, 670–671package privileges using, 669–670PASSTHRU, 670

PUBLIC, 665, 667, 668, 669, 670, 672REFERENCES, 666, 671requirements for, 672, 673tRESTRICT clause and, 669ROUTINE, 664routine privileges using, 669schema privileges using, 666Security Administrator (SECADM) and, 664, 673t, 674tSELECT, 666, 667, 671, 672sequence privileges using, 668server privileges using, 670System Administrator (SYSADM) and, 667, 671,

673t, 674tSystem Control (SYSCTRL) and, 673t, 674tSystem Maintenance (SYSMAINT), 673t, 674tSystem Monitor (SYSMON), 673t, 674ttable privileges using, 666table spaces using, 665UPDATE, 666, 667, 671, 672USAGE, 668view privileges using, 667–668

REWIND TAPE, ADMIN_CMD() stored procedureand, 453–454

RIDSCN operator, Visual Explain, 402trole of database, 73roles in DB2 9 certification, 1–15roll-forward recovery, 4, 12, 59, 74, 76, 77, 513–514,

537, 551, 553, 554, 815, 822Roll-forward utility, 575–582

alias of databases in, 577AND COMPLETE option for, 578AND STOP option for, 578authority to use (SYSADM, SYSCTRL,

SYSMAINT), 582COMPLETE option for, 578directories for, 577QUERY STATUS option in, 578recovery history files and, 582–583Restore Data Wizard for, 581, 582RESTORE DATABASE and the ROLLING

FORWARD option in, 576, 578Roll-forward pending state and, 576, 578Roll forward wizard for, 579, 580, 581ROLLFORWARD DATABASE command and,

576–579, 583, 614, 819Set integrity pending state in, 579STOP option for, 578table spaces for, 577, 578–579tables and, 577time point for, setting, 577, 578–579transaction logging strategies and, 576, 577

858

Index

Page 27: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Roll forward wizard, 579, 580, 581rollback, 76ROLLBACK command, 538–542, 540, 544ROLLFORWARD DATABASE, 576–579, 583, 614,

819high availability disaster recovery (HADR) and,

593rollfwd_pending, 77tROUTINE privilege, 664routines

EXECUTE privilege, 647–648, 647privileges for, 647–648, 647, 701

GRANTing, 660REVOKE/ing, 669

rows, in table, 244rqribli, 62trules for security (DB2LBACRULES) and, 678–679,

688–689, 689tRun Statistics dialog, 510, 510, 511RUNSTATS utility, 4, 7, 70, 75, 76, 77, 112, 148,

433, 507–514, 534, 775, 809, 810, 812–813ADMIN_CMD() stored procedure and, 453–454authority for, 633, 634, 636, 638cached packages and, 513–514columns amenable to, 509dynamic SQL and, 513–514invoking, with RUNSTATS command, 508–509optimization/Optimizer and, 507, 512, 535output of, 510REBIND and, 512–513, 534, 535recovery history file and, 583REOPTxxx options for, 512–513REORGCHK utility and, 511, 535Run Statistics dialog for, 510, 510, 511when to use, 511, 535

Ssample exams, 18, 711–813Satellite Administration Center, 305–306scanning an index, ALLOW/DISALLOW REVERSE

SCANS on, 295, 340, 798sched_enable, 109tsched_userid, 109tScheduler, Task Center, 147, 148

DAS instances and, 109, 110, 766Tools Settings Notebook and, 319, 344

scheduling jobs, 37scheduling tasks with Task Center, 107schemas, 13, 14, 155, 162, 191–196, 238, 785, 789

ALTERIN privilege, 196, 641–642

Create Schema dialog for, 194, 195CREATE SCHEMA for, 193–194, 195–196CREATEIN privilege, 196, 641–642Database Administrator (DBADM) and, 196DROPIN privilege, 196, 641–642naming of, 191–192, 193, 238naming the database and, 191, 789privileges for, 641–642, 641

GRANTING, 657REVOKE/ing, 666

SQL statements and, 193SYSCAT, 162, 192SYSFUN, 162, 163, 192SYSIBM, 162, 192SYSSTAT, 162, 192System Administrator (SYSADM) and, 196tables assigned to, 191–192, 192user of, 193

scripts for Task Center, 107SEARCH, 146searches, Discovery and, search discovery, 98secondary log files. See transaction loggingSection Scores panel, 34–35, 34security, 2, 4, 7, 621–706, 824–831

access control in, 621, 622authentication in, 622–628. See also authenticationauthorities/authorization levels in. See

authorities/authorization levels; privilegesLabel-based Access Control (LBAC) and. See

Label-based Access Control (LBAC)privileges in. See privilegessecurity plug ins for authentication in, 626–627

Security Administrator (SECADM), 630, 637–638,831GRANT and, 638, 655, 673t, 674tGRANT/REVOKE SECURITY LABEL, 637Label-based Access Control (LBAC) and, 637,

676, 687, 688, 704, 831REVOKE and, 664, 673t, 674tSETSESSIONUSER privileges and, 637System Administrator (SYSADM) and, 631TRANSFER OWNERSHIP and, 637

security plug ins, for authentication, 626–627SELECT, 162, 230, 643, 645, 651, 657, 662, 663, 666,

667, 671, 672, 700, 701, 786, 827, 828Export utility and, 443SQL Assist and, 308XML data and, 206–210

self_tuning_mem, 77tself-referencing tables/rows, referential integrity

constraints and, 256t

NOTE: Boldface numbers indicate illustrations; t indicates a table 859

Index

Page 28: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Self-Tuning Memory Manager, 3, 37, 77, 117–119,150, 163, 229, 766, 776–777, 778buffer pool settings using, ALTER/CREATE

BUFFERPOOL, 118, 150Database Manager configuration for, 117–118enabling, and AUTOMATIC value, 118high availability disaster recovery (HADR) and, 593locking memory setting using, 118, 150log files, 151package cache setting using, 118, 150shared memory setting using, 118, 150sort memory setting using, 118, 150viewing, using GET DATABASE

CONFIGURATION command, 119seqdetect, 77tsequences

ALTER privilege, 647privileges for, 646–647, 646

GRANTing, 659–660REVOKE/ing, 668

USAGE privilege, 647serialization, XML, 9server management, 12, 37–154, 764–777

answers to test questions on, 140–154, 140authentication and, 623AUTOCONFIGURE command and, 85–88, 85–86tAutomatic Maintenance and, 111–113, 148, 149,

775–776CLIENT type authentication in, 624communication configuration in, 88–97. See also

communications configurationConfiguration Advisor for, 82–84, 83, 84configuring the database in, 54–88. See also

configuring the databaseconfiguring the DB2 system environment in,

48–54. See also configuring the DB2 systemenvironment

controlling, 102–105DATA_ENCRYPT type authentication in, 625DATA_ENCRYPT_CMP type authentication in, 625databases and, 156Discovery in, 97–101, 146federated servers and, 649GSS_SERVER_ENCRYPT type authentication in,

625, 627GSSPLUGIN type authentication (Generic Security

Service) in, 625, 626instances in, 38–48KERBEROS type authentication in, 624KRB_SERVER_ENCRYPT type authentication in,

624–625, 627

PASSTHRU privilege and, 650, 661privileges for, 649–650, 650, 649

GRANTing, 661REVOKE/ing, 670

problem determination in, 119–129. See also errorhandling

satellites in, and Satellite Administration Center,305–306

Self-Tuning Memory Manager and, 117–119, 150,151, 766

SERVER authentication and, 623SERVER_ENCRYPT type authentication in, 624, 626synchronization in, 306Task Center for, 106–111, 106, 147, 774–775throttling utilities and, 114–117trusted vs. untrusted clients and, 627–628

SERVER_ENCRYPT type authentication, 624, 626servers, I/O, 76service file location, communications configuration

and, 91service names (svcename), communications

configuration and, 91service names, TCP, 73SET CURRENT QUERY OPTIMIZATION, 72,

406–408, 427–428, 802–803SET EVENT MONITOR, 371–374, 373SET INTEGRITY, 270–273, 477, 533, 813Set integrity pending state, in Roll-forward utility, 579SET TABLESPACE CONTAINERS, 573–574, 612SET TAPE POSITION, ADMIN_CMD() stored

procedure and, 453–454Set Up HADR Databases Wizard, 595, 596, 597SET WRITE, split mirror databases and, 588–589SET WRITE SUSPEND/RESUME FOR DATABASE

command, split mirror databases and, 588–589sets, in Label-based Access Control (LBAC), 677SETSESSIONUSER privileges, 637Setup dialog for manual communications

configuration, 89–91, 89, 90shared memory, 118, 150sharing data. See data sharingSHEAPTHRES, 88, 142, 145, 150, 767sheapthres, 62tsheapthres_shr, 77tSHIP operator, Visual Explain, 402t, 402SHOW DETAIL option of LIST TABLESPACES,

175–178, 233slices, in dimensional block indexes, 298SMALLINT, 276tSMS. See System Managed Space (SMS) table spacessmtp_server, 110t

860

Index

Page 29: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

snapshot Explain data, 388, 389snapshot monitor, 4, 57snapshot monitors, 4, 57, 313, 347, 348, 349–365,

799–800, 801administrative tables in, and SQL functions for,

360, 360–363t, 364APIs to execute, 349BUFFERPOOL switch in, 351t, 353capturing data from, using GET SNAPSHOT or

db2GetSnapshot(), 354–357, 423, 424casting and, 360counters in, resetting, with RESET MONITOR,

364–365, 424, 801data collected in, types of, 356db2MonitorSwitches() API for, 353GET SNAPSHOT and, 349, 799, 805LOCK switch in, 351t, 353, 356, 424output from, example of 355–356SORT switch in, 351t, 353split mirror databases and, 589, 815SQL to capture data from, 357–364, 357–359tSTATEMENT switch in, 351t, 353switches for

changing state of, with UPDATE DATABSEMANAGER CONFIGURATION, 352–354,423

setting, 350–351, 351tUPDATE MONITOR SWITCHES command

for, 352–354, 423, 799viewing with GET MONITOR SWITCHES,

351–352TABLE switch in, 351t, 353TIMESTAMP switch in, 351t, 353UOW switch in, 351t, 353

soft checkpoints, 560–561softheap, 77tsoftmax, 77tSoftware Developers Kit for Java (SDK), 60Solaris, 8, 11

authentication and, 622Solution Designer, IBM Certified Solution Designer –

DB2 Data Warehouse Edition V9.1, 13–15, 15, 13sort, 77sort memory, 118, 150SORT operator, Visual Explain, 402tSORT switch, snapshot monitor, 351t, 353SORTHEAP, 142, 150, 767sorting, ALLOW/DISALLOW REVERSE SCANS on

index, 295, 340, 798Spatial Extender, 290, 339spatial grid indexes, 290, 339, 798

special Explain registers, CURRENT EXPLAINMODE/EXPLAIN SNAPSHOT, 390–392, 392t,393

split mirror databases, 537, 587–590, 616, 815–816db2inidb to initialize, 589–590, 616, 815high availability disaster recovery (HADR) and, 593MIRROR option for, 589, 815SET WRITE command and, 588–589, 588SET WRITE SUSPEND/RESUME FOR

DATABASE command and, 588–589SNAPSHOT option for, 589, 590, 815, 816

spm_log_file_sz, 62tspm_log_path, 62tspm_max_resync, 62tspm_name, 63tSQL, 2, 6, 9, 13, 75

Activity Monitor and, 323, 343Assist and, 306, 308–309, 308Command Line Processor (CLP) and, 345Command Editor and, 306–311, 307CURRENT QUERY OPTIMIZATION register for,

406–408, 427–428, 802–803Database Administrator (DBADM), 636DB2 Bind File Description Tool, 408–410, 409t, 429Design Advisor and, 321–322, 345, 810–811embedded, 8, 9error handling in, 72exceptions in, 10Explain Facility and, 356–389. See also Explain

Facilityfunctions in, 9optimization classes and, 406–408optimization/Optimizer and, 386, 808–809QUERYOPT precompile/bind option and, 406–408RUNSTATS utility and, 507–514SET CURRENT QUERY OPTIMIZATION in,

406–408, 427–428, 802–803snapshot monitor data on, 356

administrative tables and, 360, 360–363t, 364functions to capture data from, 357–364, 357–359t

SQLCA return codes and, 311–312static vs. dynamic, 6, 9, 76System Administrator (SYSADM) and, 630Task Center and SQLCA return codes in, 311–312Visual Explain and, 398–405, 807. See also Visual

ExplainWarehousing Dataflow Operators, 15Warehousing Tool in, 15

SQL Assist, Command Editor and, 306, 308–309, 308SQL Communications Area (SQLCA), 9

ADMIN_CMD() stored procedure and, 453–454

NOTE: Boldface numbers indicate illustrations; t indicates a table 861

Index

Page 30: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

SQLBP.1, 159SQLBP.2, 159SQLCA return codes, 311–312

Task Center and, analysis of, 107SQLCA. See SQL Communications AreaSQLDBCON, 159SQLDBCONF, 159sqldbdir system database directory, 92SQLJ, 8, 9SQLKINSLK, 159SQLOGCTL.LFH, 159SQLOGMIR.LFH, 159SQLSGF.1, 159SQLSGF.2, 159SQLSPCS.1, 159SQLSPCS.2, 159SQLTMPLK, 160srv_plugin_mode, 63tsrvcon_auth, 63tsrvcon_gssplugin_list, 63tsrvcon_pw_plugin, 63tSTANDARD database role, 73STANDBY database role, 73standby databases, 12START, 7START DATABASE MANAGER, 43–44, 140, 770START HADR, 595Start the exam, 22–23start_stop_time, 63tstat_heap_sz, 77tstate change, table space, 176, 234STATEMENT switch, snapshot monitor, 351t, 353statements, event monitors and, 368tstates and hex values, table space, 174t, 235t, 778–779tstatic SQL, 6, 9statistical profiles, 70statistics, 161. See RUNSTATS

Run Statistics dialog for, 510, 510, 511RUNSTATS utility in, 507–514

statistics profiling, 112, 148, 775, 812status beacons, Health Center, 319, 344STOGROUP, 6STOP, 7STOP DATABASE MANAGER command, 44storage, 6, 74

data row compression and, 213–214stored procedures, 6, 10

high availability disaster recovery (HADR) and, 598strings, 276tstrntheap, 77tStructured Query Language. See SQL

subviews, 289success code sets, in Task Center, 107, 311Sun Solaris, 8, 11superviews, 289svcename, 63tswitches. See snapshot monitor, switches inSync Point Manager (SPM), 62, 63synchronization mode, 73synchronization, in satellite servers, 306synchronous mode, in high availability disaster

recovery (HADR), 590syntax, 41sysadm_group, 63tSYSCAT.TABLES, 162, 192, 299–300, 341, 342,

793, 795, 798–799SYSCATSPACE, 160, 166, 231

USE privilege and, 641sysctrl_group, 63tSYSFUN, 162, 163, 192SYSIBM, 162, 192SYSIBMADMxxx, SQL functions, snapshot monitor

and, 360, 360–363t, 364sysmaint_group, 64tsysmon_group, 64tSYSSTAT, 162, 192System Administrator (SYSADM), 56, 63, 140,

630–631, 699, 824Backup utility and, 566CONTROL privilege and, 646DAS instances and, 48Database Administrator (DBADM) and, 631, 637Database Manager configuration and, 631database objects accessible to, 630event monitors and, 371Export utility and, 451First Failure Data Capture (FFDC) and, 122GRANT and, 659, 662, 673t, 674tgranting authorities/privileges by, 653Import utility and, 472Label-based Access Control (LBAC) and, 630,

683, 687, 688Load utility and, 493quiescing an instance and, 47, 766Restore utility and, 572REVOKE and, 667, 671, 673t, 674tRoll-forward utility and, 582schemas and, 196Security Administrator (SECADM) and, 631SQL and, 630terminating applications using FORCE

APPLICATION in, 104–105, 147, 774

862

Index

Page 31: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

UPDATE DATABASE MANAGERCONFIGURATION, 631

upgrades permitted by, 631user identification (LIST APPLICATION)

command for, 102–103XQuery and, 630

system catalog, 6, 70, 161, 166, 231, 243, 299–300,341, 793, 795db2ls command for, 341, 798–799information from, 300reorganizing tables and, 299, 341RUNSTATS utility for, 507–514SYSCAT.TABLES for, 299–300, 341, 342, 798–799

System Control (SYSCTRL), 63, 140, 630, 632–633,699, 824Backup utility and, 566Database Administrator (DBADM) and, 637event monitors and, 371GRANT and, 673t, 674tquiescing an instance and, 47, 766Restore utility and, 572REVOKE and, 673t, 674tRoll-forward utility and, 582RUNSTATS utility and, 633terminating applications using FORCE

APPLICATION in, 104–105, 147, 774UPDATE DATABASE MANAGER

CONFIGURATION, 633user identification (LIST APPLICATION)

command for, 102–103system database directory (sqldbdir), 92system environment. See configuring the DB2 system

environmentSystem Maintenance (SYSMAINT), 64, 630,

633–634, 699, 824Backup utility and, 566event monitors and, 371GRANT and, 673t, 674tquiescing and instance and, 766Restore utility and, 572REVOKE, 673t, 674tRoll-forward utility and, 582RUNSTATS utility and, 634UPDATE DATABASE MANAGER

CONFIGURATION, 634System Managed Space (SMS) table spaces, 3, 11, 75,

155, 166, 172–173, 172t, 179, 183, 186, 232, 782, 788System Monitor (SYSMON), 61, 64, 630, 635–636,

699, 824GRANT and, 673t, 674tREVOKE, 673t, 674t

UPDATE DATABASE MANAGERCONFIGURATION, 635

system, hierarchy of objects in DB2 worldview and,38, 39

Ttable spaces, 3, 11, 155, 160, 166–167, 170–191, 196

accessibility of, 179–180Alter Table Space dialog for, 188, 189ALTER TABLESPACE to modify, 186–188, 232,

575, 788, 789automatic storage, 155, 167, 173, 182, 184, 231,

237, 786, 787backup/recovery and, 558, 610, 815, 820buffer pool for, 183, 187containers for, 167, 170–171, 171, 175, 178–180,

181–182, 187, 232, 234, 788adding, with ALTER DATABASE, 190, 236,

237, 788–789, 788Create Table Space Wizard for, 184, 185creating, and CREATE TABLESPACE for, 160,

180–185, 789Database Managed Space (DMS), 155, 166, 172–173,

172t, 179, 183, 186, 232, 237, 782, 788, 789Database Manager and, 172declared temporary tables and, 191, 238, 779DROP PENDING TABLESPACES and, 558, 610, 820event monitors and, 367textent (round-robin pages) in, 167extent size for, 71, 175, 182, 233high availability disaster recovery (HADR) and,

exact match between source/standby in, 592,597, 617

high water mark for, 175, 233I/O controller and latency in, 167LIST TABLESPACE CONTAINERS for, 178–180LIST TABLESPACES to get information on,

173–178, 232–234, 573, 782–784Load utility and, 475name of, 181, 187pages in, 167, 175, 179, 181, 187, 233prefetch and, 167, 175, 182–183, 187, 234privileges for, 640–641, 641

GRANTing, 656–657REVOKE/ing, 665

QUIESCE TABLESPACES FOR TABLE and, 475quiesing, 176, 234recovery time for, 175, 234Restore Data Wizard for, 574, 575, 574Restore utility and, 568, 569–570, 614

NOTE: Boldface numbers indicate illustrations; t indicates a table 863

Index

Page 32: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

table spaces, continuedRoll-forward recovery and, 822Roll-forward utility and, 577, 578–579SET TABLESPACE CONTAINERS and,

573–574, 612SHOW DETAIL option of LIST TABLESPACES

and, 175–178, 233size of, 167, 175, 181, 182, 187, 188, 232, 233, 237snapshot monitor data on, 356state change in, 176states and hex values for, 174t, 235t, 778–779tSYSCATSPACE, 160, 166, 231System Managed Space (SMS), 75, 155, 166,

172–173, 172t, 179, 183, 186, 232, 782, 788TEMPSPACE1, 160, 165, 166transfer rate of, 167USE privilege, 641user temporary tables and, 191, 238USERSPACE1, 160, 166, 191, 238

TABLE switch, snapshot monitor, 351t, 353tables, 9, 12, 155, 196–202, 238, 243, 244–245, 244, 790

ALTER privilege for, 643base, and views, 245, 282–289, 282. See also viewschild, 255–256tcolumns in, 275constraints used in, 245–273. See also constraintsCONTROL privilege for, 643, 644, 658CREATE TABLE for, 197–198, 274–281Create Table wizard for, 273, 273, 274data types definitions for, 276–277tdeclared temporary, 191, 238, 245, 779DELETE privilege, 643dependent or child, 255–256tDesign Advisor and, 320–322, 323event monitors and, 367tExplain, 387–388, 387INDEX privilege, 643indexes for. See indexesINSERT privilege, 643Label-based Access Control (LBAC) and,

CREATE TABLE, 681–682, 686–687, 692Load utility and, 475maintenance of, 69materialized query (MQTs), 245, 321–322, 345,

810–811, 810multidimensional clustering (MDC), 290, 321–322,

345, 810–811parent, 255–256tprivileges for, 642–644, 642, 702, 825, 826

GRANTing, 657–658REVOKE/ing, 666

QUIESCE TABLESPACES FOR TABLE and, 475range-clustered, 155, 196–198, 238, 790range-partitioned, 155, 196, 199–202, 790records in, 337REFERENCES privilege for, 643–644referential integrity constraints and, 253–255, 254reorganizing, REORG utility for, 70, 296, 502–507, 597Reorganize Table/Reorganize Index dialog for,

505, 505, 506, 507, 505REORGCHK utility and, 495–502result, 245Roll-forward utility and, 577rows and columns in, 244RUNSTATS utility for, 507–514schema assignment of, 191–192, 192SELECT privilege for, 643self-referencing, 256tsnapshot monitor data on, 356system catalog, 161, 166, 231typed, 245types of, 245UPDATE privilege, 643user temporary, 191, 238views and, 282–289, 282. See also viewsXML, 205

taking certification exams, 20–35Close exhibit in, 28, 28End the exam in, 32–33, 32Exam Results panel in, 33–34, 33Exhibit illustrations or output accompanying

questions in, 26–27, 27Exhibit panels with question in, 27–28, 28Exit from the exam in, 22Help on the exam in, 22identification needed before, 21Item Review panel in, 28–30, 29Mark check box of exam software in, 24, 25multiple correct answers in, 25–26, 26Next question selection in, 25passing the exam and, 35Previous question selection in, 25question panel of exam software in, 23–24, 23receiving your certification from IBM and, 35Review Incomplete questions in exam in, 30–31Review Item in exam in, 30–31, 31Review Marked questions in exam in, 30–31reviewing your work in, 24, 25, 28–30, 29Section Scores panel in, 34–35, 34sign-in process for, 21Start the exam in, 22–23Tile exhibit/question in, 28, 28

864

Index

Page 33: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Time Remaining information for, 24, 24title screen of exam in, 21–22, 21

Task Center, 106–111, 106, 147, 311–312, 312, 774–775authorities to use/run, 108change DAS configuration using UPDATE

ADMIN CONFIGURATION, 111DAS instance configuration and, parameters for,

108–111, 108–110tgrouping tasks in, 107Scheduler in, 147, 148scheduling tasks using, 107script creation for, 107show DAS configuration using GET ADMIN

CONFIGURATION in, 110–111SQLCA return code analysis in, 107success code sets in, 107tools catalog for, 108, 147, 767

Task History view, Journal, 314, 315tasks and Task Center, 106–111, 774–775TBSCAN operator, Visual Explain, 402tTCP service names, 73TCP/IP, 57, 63, 66, 88, 89–91, 90, 145–146, 772–773

cataloging and uncataloging (CATALOG....NODE)for, 93–95

in HADR, between source and standby servers inHADR, 591, 617–618

TEMP operator, Visual Explain, 402tTEMPSPACE 1, 160, 165, 166TERM UTILITY, 7terminating applications using FORCE

APPLICATION, 104–105, 147, 774territory code, 77, 165

DAS instances and, 108territory, 77tThompson Prometric, 18, 20throttling utilities, 37, 64, 114–117, 163, 229, 778

Backup utility and, 563, 613Database Manager configuration for, 115impact of, time to execute utility and, 115impact priority of, changing using

UTIL_IMPACT_PRIORITY, 116–117,149–150, 767, 776, 818–819

information about running utilities and, LISTUTILITIES command for, 115–116, 117

UPDATE DATABASE MANAGER commandfor, 115

Tile exhibit/question in exam, 28, 28time, 61, 63, 73, 276t

Database System Monitor and, 349Recover utility and, setting the time point for, 584

Roll-forward utility and, setting the time point for,577, 578–579

Time Remaining information for exam, 24, 24timestamp, 276t

Database System Monitor and, 348–349TIMESTAMP switch, snapshot monitor, 351t, 353title screen of exam, 21–22, 21Tivoli Storage Manager (TSM), 78

Backup utility and, 563Restore utility and, 568

tm_database, 64ttools catalog, Task Center, 108, 147, 767tools for databases, 300–326Tools Setting Notebook, 319–320, 320, 343–344, 796–797toolscat_db, 110ttoolscat_inst, 110ttoolscat_schema, 110ttp_mon_name, 64ttpm, 86tTQUEUE operator, Visual Explain, 402tTrace, 7Trace, JDBC, 10trackmod, 77ttransaction IDs, 543–544transaction logging, 4, 151, 537, 542–550, 543, 771

active log files in, 547archival, 73, 142, 544, 547, 548, 562, 771Backup utility and, 562backup/recovery and, determination of status for,

554–555, 555tbuffer pools for, 542–543, 543circular, 142, 544–546, 546, 554, 562, 771COMMIT command and, 544disk full errors because of, in archival logging, 550,

609, 819–820dual logging strategy in, 549–550externalization of, 544indexes and, 587, 599–600, 615, 618–619infinite logging strategy in, 548–549LOG INDEX BUILD attribute and, 587, 599–600,

615, 618–619memory use/allocation by, 542–543, 543mirroring of logs in, 537, 549–550, 609, 817page cleaners and, 542–543primary log files in, and size of, 544recovery history files and, 582–583Roll-forward utility and, 576, 577ROLLBACK command and, 544secondary log files in, 545strategies for, 544–548transaction IDs for, 543–544

NOTE: Boldface numbers indicate illustrations; t indicates a table 865

Index

Page 34: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

Transaction Manager, 62, 64transaction processing, 2, 61, 62, 64, 538–542,

813–814. See also transaction loggingActivity Monitor and, 323, 343COMMIT command in, 538–542, 539, 544consistency of database and, 538event monitors and, 368tImport utility and, 472isolation levels and, 542ROLLBACK command in, 538–542, 540, 544series of transactions and, determining beginning

and termination of, 540–542, 541transaction logging and. See transaction loggingUncommitted Read isolation level and, 542unit of work (UOW) in, 538

TRANSFER OWNERSHIP, 637transfer rate, table space, 167Transmission Control Protocol/Internet Protocol. See

TCP/IPtrap files, 122trees, in Label-based Access Control (LBAC), 677triggers, 10, 495, 534

XML and, 205troubleshooting tools, 347, 408–416. See also specific

toolsTrue/False, check constraints and, 250trust_allclnts, 64ttrust_clntauth, 64ttrusted vs. untrusted clients and, 64, 627–628tsm_mgmtclass, 78ttsm_nodename, 78ttsm_owner, 78ttsm_password, 78ttutorials, online, 16–17type 1 and type 2 indexes, 298–299typed tables, 245

UUNCATALOG DATABASE, 97. See also

cataloging/uncatalogingUNCATALOG NODE, 95. See also

cataloging/uncatalogingUncommitted Read isolation level, 542Unicode, 69UNION operator, Visual Explain, 402tUNIQUE clause, 292–293unique constraints, 243, 245, 251–252, 251, 280, 337,

790–791indexes and, 337

UNIQUE operator, Visual Explain, 402t

unit of work (UOW), 57, 538UNIX, 2, 3

buffer pool size for, 160communications configuration and, 93core files for, 122FFDC core files (UNIX) and, 122trusted vs. untrusted clients and, 627–628

UNLOAD, 7UNQUIESCE DATABASE, ADMIN_CMD() stored

procedure and, 453–454UOW switch, snapshot monitor, 351t, 353UPDATE, 643, 645, 651, 657, 658, 662, 663, 664,

666, 667, 671, 672, 701, 702, 825SQL Assist and, 308XML data and, 206–210

UPDATE ADMIN CONFIGURATION, 111UPDATE ALERT CONFIGURATION,

ADMIN_CMD() stored procedure and, 453–454UPDATE CONTACT, ADMIN_CMD() stored

procedure and, 453–454UPDATE CONTACTGROUP, ADMIN_CMD()

stored procedure and, 453–454UPDATE DATABASE CONFIGURATION, 79–80,

453–454, 764–765, 771UPDATE DATABASE MANAGER, 66, 115, 143,

144, 145–146, 149UPDATE DATABASE MANAGER

CONFIGURATION, 799ADMIN_CMD() stored procedure and, 453–454communications configuration and, 91snapshot monitor switches setting with, 352–354, 423System Administrator (SYSADM) and, 631System Control (SYSCTRL) and, 633System Maintenance (SYSMAINT) and, 634System Monitor (SYSMON) and, 635

UPDATE HEALTH NOTIFICATION CONTACT LIST,ADMIN_CMD() stored procedure and, 453–454

UPDATE HISTORY, ADMIN_CMD() storedprocedure and, 453–454

UPDATE MONITOR SWITCHES, 352–354, 423, 799UPDATE operator, Visual Explain, 402tUpdate Rule, for referential integrity constraints,

260–262, 261, 262upgrades, System Administrator (SYSADM) and, 631USAGE, 647, 660, 668USE, 162, 230, 641, 652, 699, 828User ID, 63user IDs, 57user IDs, 622–623, 622user IDs, 626–627, 626user temporary tables, 191, 238

866

Index

Page 35: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

user_exit_status, 78t, 78User-Defined Data Types (UDTs), 495, 534User-Defined Functions (UDFs), 10, 342, 495, 534,

702, 796, 810CREATE FUNCTION and, 342high availability disaster recovery (HADR) and, 598

userexit, 78tusers

identification (LIST APPLICATION) of, forinstances and databases, 102–103

USERSPACE 1, 160, 166, 191, 238util_heap_sz, 78tutil_impact_lim, 64tUTIL_IMPACT_PRIORITY, 116–117, 149–150, 767,

776, 818–819utilities, 7, 162, 433–536, 808–813. See also specific

utilitiesbind files for, 162impact priority of, changing using

UTIL_IMPACT_PRIORITY, 116–117,149–150, 767, 776, 818–819

information about, using LIST UTILITIEScommand, 115–116, 117

throttle. See throttling utilities

Vvalidation

for views, 286–287, 288, 791WITH CASCADED CHECK OPTION for, in

views, 287, 288WITH LOCAL CHECK OPTION for, in views,

286–287, 338–339, 791VARCHAR, 276tVARGRAPHIC, 276tvendoropt, 78tversion recovery, 537, 551, 552–553, 553, 815views, 9, 243, 282–289, 282, 495, 534

access control through use of, 283base tables and, 282columns and rows in, 282for Control Center, 301–302, 342CONTROL privilege for, 644, 645creating, using Create View dialog, 284, 285creating, using CREATE VIEW command, 283–284DELETE privilege, 645dropping, with DROP VIEW, 289, 339inoperative, DROP VIEW, 289, 795INSERT, 645Journal, 314privileges for, 289, 644–645, 644, 700, 825

GRANTing, 658–659REVOKE/ing, 667–668

recovering inoperative, 289SELECT privilege, 645sub-, 289super-, 289UPDATE privilege, 645validation in, 286–287, 288, 791WITH CASCADED CHECK OPTION and

validation in, 287, 288WITH LOCAL CHECK OPTION and validation

in, 286–287, 338–339, 791Visual Explain, 309–311, 310, 311, 398–405, 800,

801, 807access paths and, 427Access Plan Graph dialog in, 400, 401activating, 398–400, 398, 400Explain Facility use and, 398, 807Explain Query Statement dialog in, 399–400, 400nodes and graphics in, 310–311, 401–405, 402t, 403operators and operands in, 310–311, 401–405, 402tOperators Detail dialog in, 403, 404output from, 401–405Show Statistics in, Table/Index Statistics dialog

for, 404, 405visualizer, 14VM operating systems, trusted vs. untrusted clients

and, 627–628VSAM DEFINE, 6VSAM DELETE, 6VSE operating systems, trusted vs. untrusted clients

and, 627–628

WWarehousing Dataflow Operators, 15Warehousing Tool, SQL, 15water mark, Database System Monitor and, 348Web site, IBM, 17well-formed XML documents, 203Windows, 2, 3, 8, 11

authentication and, 622, 624buffer pool size for, 160communications configuration and, 93Event Logs and, 121, 125–126, 125trusted vs. untrusted clients and, 627–628

WITH CASCADED CHECK OPTION, 287, 288WITH DISTRIBUTION, 75, 76WITH GRANT OPTION, 657WITH LOCAL CHECK OPTION, 286–287,

338–339, 791

NOTE: Boldface numbers indicate illustrations; t indicates a table 867

Index

Page 36: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/5090/$FILE/5090… · Application Developer, IBM Certified Application Developer – DB2 9 Family,

workload_type, 85tworksheet format (WSF) files and data movement,

437, 441, 443–446t, 813workstations, 61WRITE RESUME option, 558

XXML, 2, 3, 9, 155, 202–213, 277t

attributes in, 204columns for, 203–206CREATE DATABASE and, for pureXML, 203CREATE INDEX for, 212–213data type for, 203–206declaration for, 203–204document encoding in, 9elements in, 204Export utility and, 442, 449, 449functions in, 9GENERATE KEY USING XMLPATTERN in,

212–213Import utility and, 455, 470, 470indexes and, 155, 206, 211–213, 211, 241, 290,

339, 790, 798INSERT, UPDATE, DELETE, SELECT for,

206–210manipulation of data in, 206–210patterns in, 211–213

pureXML and, 202–203queries and XQuery in, 208–210restrictions on columns in, 205schemas, 9tables for, using CREATE TABLE, 205well-formed documents using, 203XML Data Specifier (XDS) and, 455XMLEXISTS in, 209–201XMLQUERY() in, 209XMLTABLE() in, 209

XML Data Specifier (XDS), 455XMLEXISTS, 209–201, 209XMLQUERY(), 209XMLTABLE(), 209XPath, indexes and, 290, 339XQuery, 9, 76–210. See also XML

Database Administrator (DBADM), 636Design Advisor for, 518–524, 536Export utility and, 443indexes and, 211–213, 211optimization classes and, 406–408System Administrator (SYSADM) and, 630

ZzSeries (z/OS; OS/390), 2, 8, 300

communications configuration and, databases and,93

Tools Settings Notebook and, 319, 344

868

Index