10
Index A access control, 175–180 authentication in, 176–179 authorities/authorizations in, 179, 180 privileges in, 179, 180 Administrator, IBM Certified Database Administrator – DB2 9 for Linux, UNIX, Windows, 1–3, 2 AIX, authentication and, 176 aliases, databases, 52 ALTER, 167, 174 ALTER BUFFERPOOL, 27, 40 ALTER TABLE COMPRESS YES option in, for data row compression, 69–70, 84 data row compression and, 70 label based access control (LBAC) and, 194 ALTER TABLESPACE, 62–64, 81, 163 analyzing DB2 activity, 4, 119–150 Database System Monitor in, 119–133 deadlocks and, 119, 147, 148 event monitors in, 120, 130–133. See also event monitors snapshot monitor in, 119, 120 troubleshooting utilities for, 119, 134–140 applicant identification number in, 6 arranging to take a certification exam, 5–8 arrays, in label based access control (LBAC), 182 ASCII files Export utility and, 102 Import utility and, 106–107 ATTACH/DETACH PARTITION, 65, 83 attributes, XML and, 89–90 authentication, 175, 176–179 authentication types in, 176–177 CLIENT type authentication in, 177 DATA_ENCRYPT type authentication in, 178, 203 DATA_ENCRYPT_CMP type authentication in, 178, 203 Distributed Computing Environment (DCE) Security Services for, 176 GSS_SERVER_ENCRYPT type authentication in, 178–179, 203, 204 GSSPLUGIN type authentication (Generic Security Service) in, 178, 203, 204 KERBEROS type authentication in, 177, 203 KRB_SERVER_ENCRYPT type authentication in, 177–178 operating system support for, 176 SERVER type authentication in, 176 SERVER_ENCRYPT type authentication in, 177 authentication types, 176–177 authorities/authorizations, 179, 180 Database Administrator (DBADM), 50 databases and, 50 Security Administrator (SECADM) and, 181, 204–205 AUTOCONFIGURE, 4, 9, 12–14, 13–14t, 35, 53 Automatic Maintenance, 9, 20–22, 36–37 backup with, 20 configuration parameters for, 21t, 21–22 databases and, 51, 78 defragmentation with, 20 NOTE: Boldface numbers indicate illustrations; t indicates a table 207

Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

  • Upload
    others

  • View
    53

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

Index

Aaccess control, 175–180

authentication in, 176–179authorities/authorizations in, 179, 180privileges in, 179, 180

Administrator, IBM Certified Database Administrator– DB2 9 for Linux, UNIX, Windows, 1–3, 2

AIX, authentication and, 176aliases, databases, 52ALTER, 167, 174ALTER BUFFERPOOL, 27, 40ALTER TABLE

COMPRESS YES option in, for data rowcompression, 69–70, 84

data row compression and, 70label based access control (LBAC) and, 194

ALTER TABLESPACE, 62–64, 81, 163analyzing DB2 activity, 4, 119–150

Database System Monitor in, 119–133deadlocks and, 119, 147, 148event monitors in, 120, 130–133. See also event

monitorssnapshot monitor in, 119, 120troubleshooting utilities for, 119, 134–140

applicant identification number in, 6arranging to take a certification exam, 5–8arrays, in label based access control (LBAC), 182ASCII files

Export utility and, 102Import utility and, 106–107

ATTACH/DETACH PARTITION, 65, 83

attributes, XML and, 89–90authentication, 175, 176–179

authentication types in, 176–177CLIENT type authentication in, 177DATA_ENCRYPT type authentication in, 178, 203DATA_ENCRYPT_CMP type authentication in,

178, 203Distributed Computing Environment (DCE)

Security Services for, 176GSS_SERVER_ENCRYPT type authentication in,

178–179, 203, 204GSSPLUGIN type authentication (Generic Security

Service) in, 178, 203, 204KERBEROS type authentication in, 177, 203KRB_SERVER_ENCRYPT type authentication in,

177–178operating system support for, 176SERVER type authentication in, 176SERVER_ENCRYPT type authentication in, 177

authentication types, 176–177authorities/authorizations, 179, 180

Database Administrator (DBADM), 50databases and, 50Security Administrator (SECADM) and, 181,

204–205AUTOCONFIGURE, 4, 9, 12–14, 13–14t, 35, 53Automatic Maintenance, 9, 20–22, 36–37

backup with, 20configuration parameters for, 21t, 21–22databases and, 51, 78defragmentation with, 20

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

Page 2: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

Automatic Maintenance, continuedoptimization/Optimizer and, 20RUNSTATS and, 20statistic profiling with, 21

automatic storage table spaces, 4, 43, 52, 54–55, 61,79, 80

AUTOSTART, event monitors and, 133

BBACKUP, 20backup and recovery. See also high availability

Automatic Maintenance in, 20–22, 36–37BACKUP command for, 20

BACKUP DATABASE, 23, 39BIND, 51Bind File Description Tool, 134, 134tBINDADD, 50binding, Bind File Description Tool, 134, 134tbuffer pools, 48, 78

data row compression and, 68event monitors and, 132t, 132high availability disaster recovery (HADR) and,

167, 174Self-Tuning Memory Manager and, 26, 39, 40table spaces and, 60, 63transaction logging and, 152–153

Ccallout script (db2cos), 136case sensitivity, XML and, 89CATALOG, 18–20, 35–36cataloging/uncataloging

databases and, 49nodes, in communications configuration and,

17–20, 35–36check constraints, XML and, 90, 116CLIENT type authentication, 177code sets, 53collating sequence, 53columns, in XML and, 90, 116Command Line Processor, XML and, 92, 93, 94, 96comments, 53COMMIT, 152, 154communications configuration, 15–20

Configuration Assistant for, 17Configure TCP/IP dialog for, 16, 16DB2COMM in, 16–17manually, 16–17node cataloging/uncataloging for, 17–20, 35–36Setup Communications dialog for, 16, 16

UPDATE DATABASE MANAGERCONFIGURATION in, 17

COMPRESS YES option, for data row compression,69–70, 84

compression dictionary, 69, 70–71, 84, 85compression. See data row compressionConfiguration Advisor, 10–12, 11, 35

communications configuration and, 17databases and, 51

Configure TCP/IP dialog, 16, 16connections, event monitors and, 131, 147consistency of data/database, 151–152constraints, XML and, 90containers, table space, 55, 57, 59, 63cost of exams, 7crash recovery, 154–155, 155CREATE, 167, 174CREATE BUFFERPOOL, 27, 40CREATE DATABASE, 4, 43, 44–56, 78, 79, 80, 116

aliases in, 52AUTOCONFIGURE and, 53AUTOMATIC STORAGE in, 52automatic storage table spaces in, 54–55, 61code set in, 53collating sequence in, 53comments in, 53complete syntax for, with options, 51–56database managed space (DMS) table spaces in, 54directories and subdirectories in, 53example of, 56extent size in, 53keywords in, 53, 54RESTRICTIVE clause in, 56system catalog tables in, 54system managed space (SMS) table spaces in, 54table spaces in, 54–55territory codes in, 53XML and, 88

Create Database Wizard, 12, 48, 50, 78CREATE EVENT MONITOR, 130–133, 147–148CREATE INDEX

GENERATE KEY USING XMLPATTERN in,97–99

XML and, 97–99CREATE SECURITY LABEL COMPONENT,

182–184, 192CREATE SECURITY LABEL, 185–186, 192, 198,

199CREATE SECURITY POLICY, 184–185, 192, 199CREATE TABLE

208

Index

Page 3: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

COMPRESS YES option in, for data rowcompression, 69–70, 84

label based access control (LBAC) and, 187, 193range-partitioning with, using PARTITION BY,

65–67, 81–83XML tables and, 90

CREATE TABLESPACE, 57–64, 81, 163CREATE_NOT_FENCED, 50CREATETAB, 50cursors, XML and, 90, 116

Ddata blocking, XML and, 91Data Definition Language (DDL)

high availability disaster recovery (HADR) and,167, 174

XML and, 109–110Data Manipulation Language (DML), 91

high availability disaster recovery (HADR) and,167, 174

data movement utilities, 87, 99–111db2move and db2look, 108, 118Export utility for, 99, 100–103. See also Export utilityImport utility for, 99, 103–108. See also Import utilityLoad utility for, 99. See also Load utility

Data Partition Elimination, 65Data Partitioning Feature, 65, 83data placement, 4, 43–85. See also databases

Automatic Storage table spaces in, 43, 79, 80CREATE DATABASE and, 43, 44–56, 79, 80data row compression in, 43, 68–71, 69Database Managed Storage (DMS) table spaces in,

43, 78range-partitioned tables in, 43, 64–67, 83System Managed Storage (SMS) table spaces in,

43, 48, 78data row compression, 4, 43, 68–71, 69

buffer pools and, 68compression dictionary for, 69, 70–71, 84, 85enabling, 69–70, 84estimating storage savings from, using INSPECT,

71, 84REORG and, 85storage savings and, 68–71, 69XML and, 91

data typesImport utility and, file type modifiers recognized

by, 106tXML and, 87, 88–91, 102t, 106t

Data Warehouse Edition (DWE), XML and, 88

DATA_ENCRYPT type authentication, 178, 203DATA_ENCRYPT_CMP type authentication, 178, 203Database Administrator (DBA), 1Database Administrator (DBADM), 50database managed space (DMS) table spaces, 43, 54,

57, 60, 61, 62, 64, 78Database Manager

instances and, 9–15table spaces and, 57

database partitioning feature (DPF), XML and, 88Database System Monitor, 119–133

event monitors in, 120, 130–133. See also eventmonitors

snapshot monitors in, 120databases, 9–15

aliases for, 52authorities/authorizations for, 50AUTOCONFIGURE in, 12–15, 13–14tAutomatic Maintenance and, 51, 78automatic storage table spaces in, 52, 54–55, 61buffer pools for, 48, 78cataloging of, 49code set for, 53collating sequence for, 53comments in, 53Configuration Advisor to configure, 10–12, 11, 51configuration file initialization in, 50CREATE DATABASE and, 43, 44–56, 79, 80Create Database Wizard for, 12, 48, 50data row compression in, 68–71, 69Database Managed Space (DMS) table spaces and,

54, 57, 60, 61, 62, 64directories and subdirectories for, 44–45, 46, 49, 53event monitors and, 132textent size for, 53files for management of, 46–47Health Monitor for, 51, 78hierarchy of objects in DB2 worldview and, 9–10keywords for, 53, 54Memory Tracker for, 135–136, 136t, 149naming, 44privileges for, 50range-partitioning in, 64–67. See also

range-partitioned tablesRESTRICTIVE clause for, 56schemas in, 50Self-Tuning Memory Manager and, 51, 78system catalog tables in, 49, 54System Managed Space (SMS) table spaces and,

54, 57, 60, 61, 62table spaces in, 48, 54–64

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

Index

Page 4: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

databases, continuedterritory codes for, 53throttling utilities in, 51, 78token for, 47utilities for, 50

DB2 9 for Linux, UNIX, and Windows DatabaseAdministration exam (Exam 731), 2, 3

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

DB2 V8.1 Family Fundamentals exam (Exam 700), 2db2bfd, Bind File Description Tool, 4, 134, 134tDB2COMM, 16–17db2cos, callout script, 136DB2LBACRULES in, 184–185, 195, 195tdb2look, 108–111, 111t, 118db2move, 108–111db2mtrk, Memory Tracker, 4, 135–136, 136t, 149db2pd, DB2 Problem Determination Tool, 4, 136–140,

138–140t, 149–150, 150tdb2rhist.asc, 47db2rhist.bak, 47deadlocks, 4, 119, 147, 148

event monitors and, 130–133, 132tdeclaration, XML and, 89defragmentation, Automatic Maintenance and, 20DELETE, 167, 174

XML data and, 91–96dictionary, compression, 69, 70–71, 84, 85directories and subdirectories, 53

databases and, 44–45, 46, 49Distributed Computing Environment (DCE) Security

Services, 176DROP, 167, 174DROP TABLESPACE, 163

EECF code, 136elements, XML and, 89–90Enterprise Server Edition (ESE), XML and, 88event monitors, 120, 130–133

activating/deactivating, AUTO/MANUALSTARTfor, 133

activating/deactivating, with SET EVENTMONITOR, 133

BUFFERPOOL, 132tCONNECTIONS, 131, 147creating, with CREATE EVENT MONITOR,

130–133, 147–148DATABASE, 132tdeadlock cycles and, 130–133

DEADLOCKS, 132toutput from, location for, 132–133STATEMENTS, 131, 147TABLES, 132tTABLESPACES, 132tTRANSACTIONS, 131, 147types of, 131, 132t

EXECUTE, 50, 51Export utility, 99, 100–103

ASCII files in, 102columns in, 101EXPORT command for, 100–101, 102texternal files for, 100, 101large object (LOB) values and, 100–101modifiers for, 101SELECT and, 101XML and, 101–103, 103XML file type modifiers recognized by, 102tXQuery and, 101XQuery Data Model (QDM) and, 102, 118

EXPORT, 100–101, 102t. See also Export utilityExpress-C, 88extent, table space, 53, 55, 60

GGENERATE KEY USING XMLPATTERN clause,

97–99Generic Security Service (GSS) API, authentication

and, 178, 203, 204GET DATABASE CONFIGURATION, Self-Tuning

Memory Manager and, 27, 41GET SNAPSHOT, 122–123, 145GRANT

label based access control (LBAC) and, 187–190, 193GRANT EXEMPTION, 195–197, 205GRANT SECURITY LABEL, 181, 204GRANT SETSESSIONUSER, 181GSS_SERVER_ENCRYPT type authentication,

178–179, 203, 204GSSPLUGIN type authentication (Generic Security

Service), 178, 203, 204

HHealth Monitor, 51, 78hierarchy of objects in DB2 worldview, 9–10high availability, 5, 151–174. See also backup and

recoverycrash recovery and, 154–155, 155high availability disaster recovery (HADR) in, 151,

160–169

210

Index

Page 5: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

point of consistency and, 154RECOVER DATABASE for, 151, 158–160, 173Recover utility in, 158–160, 173recovery history files for, 157–158RESTORE DATABASE for, 156, 158roll forward recovery and, 154, 156–157, 157ROLLFORWARD DATABASE for, 158transactions and transaction logging in, 151–154, 153version recovery and, 154, 155–156, 156

high availability disaster recovery (HADR), 5, 151,160–169automatic client reroute in, 168–169backup operations in, 163buffer pools and, 167, 174Data Definition Language (DDL) and, 167, 174Data Manipulation Language (DML) and,

167, 174environment configuration for, 161–168,

165t, 173host address and name in, 163–164Load operations and, 163primary and standby servers in, configuration for,

161–168, 165t, 173, 174redirected restore and, 163reorganization and, 167–168, 174restrictions to, 163Self-Tuning Memory Manager and, 163Set Up HADR Wizard for, 166, 167, 168software requirements for, 162split mirror database copy in, 164START HADR command to begin, 166stored procedures and, 168, 174synchronization modes in, 161, 174table space configuration for, 162–163, 167, 174TCP/IP interface for, 162, 163, 168user defined functions (UDFs) and, 168, 174

history files, 157–158HP-UX, authentication and, 176

II/O controller, table space, 55IBM, 5IBM Certified Database Administrator – DB2 9 for

Linux, UNIX, Windows, 1–3, 2IBM DB2 9 certification, 1–8

applicant identification number in, 6arranging to take an exam for, 5–8cost of exams in, 7IBM Certified Database Administrator – DB2 9 for

Linux, UNIX, Windows in, 1–3, 2

identification needed before taking exam in, 5–6materials to take to test site with you for, 6receiving your certification from IBM and, 7–8roles in, 1

IBMDEFAULTBP buffer pool, 48, 78identification needed before taking exam, 5–6identification number, applicant, 6impact priorities in, UTIL_IMPACT_PRIORITY,

24–25, 38–39IMPLICIT_SCHEMA, 50Import utility, 99, 103–108

ASCII files and, 106–107external files and, location of, 104, 105file type modifiers recognized by, 106tIMPORT command for, 104–108Integrated Exchange Format (IXF) files and, 107large object (LOB) data and, 104location method (method L) for, 106–107name method (method N) for, 107output locations of data for, options to set, 105position method (method P) for, 107XML files and, 104, 105XQuery Data Model (QDM) and, 108

IMPORT, 104–108. See also Import utilityindexes

range-partitioned tables and, 65XML and, 4, 87, 90, 91, 96–99, 97, 116, 117

INSERT, 167, 174XML data and, 91–96

INSPECT, 71, 84instances, 9–15

AUTOCONFIGURE in, 12–15, 13–14tConfiguration Advisor to configure, 10–12, 11Database Manager and, 9–15hierarchy of objects in DB2 worldview and, 9–10Memory Tracker for, 135–136, 136t, 149

Integrated Exchange Format (IXF) filesdb2move and db2look with, 108–111Import utility and, 107

International DB2 User’s Group North America, 5

KKEEPDICTIONARY, 70–71, 84, 85KERBEROS type authentication, 177, 203keys, XML and, 91, 116keywords, 53, 54KRB_SERVER_ENCRYPT type authentication,

177–178

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

Index

Page 6: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

Llabel based access control (LBAC), 175, 181–199

arrays in, 182column-level, 191–199, 197–198columns created using, with ALTER TABLE, 194example of use of, 197–198exemptions to, with GRANT EXEMPTION,

195–197, 205granting security labels to users in, with GRANT,

187–190, 193implementing, determining security requirements

for, 182, 191levels of security for, 181OVERRIDE and RESTRICT options in, 185retrieving values from columns in, using

SECLABEL_TO_CHAR () function, 191, 204row- and column-level combined in, 198–199row-level, 188–191rules for, using DB2LBACRULES in, 184–185,

195, 195tSecurity Administrator (SECADM) and, 181–182,

204–205security label component definition in, with

CREATE SECURITY LABEL COMPONENT,182, 192

security label definition in, with CREATESECURITY LABEL, 185–186, 192, 198, 199

security policy definition in, with CREATESECURITY POLICY, 184–185, 192, 199

sets in, 182table protected by, using CREATE TABLE, 187, 193trees in, 182

large object (LOB) dataExport utility and, 100–101Import utility and, 104

latency, table space, 55Linux, 1

authentication and, 176LIST UTILITIES, 24, 25LOAD, 50Load utility, 99

high availability disaster recovery (HADR) and,163

location method (method L), Import utility and,106–107

locks/lockinglocking memory and, 26, 39, 40snapshot monitor and, 146

MMANUALSTART, for event monitors, 133materials to take to test site with you, 6memory

Memory Tracker, 135–136, 136t, 149Problem Determination Tool for, 136–140,

138–140t, 149–150, 150tSelf-Tuning Memory Manager and, 26–27

Memory Tracker, 135–136, 136t, 149multidimensional clustering table, XML and, 90, 116

Nname method (method N), Import utility and, 107nodes

cataloging/uncataloging for, 17–20, 35–36Configuration Assistant and, 17

NULL, XML and, 90, 116

Ooperating system support for authentication, 176optimization/Optimizer, Automatic Maintenance and,

20OVERRIDE option, label based access control

(LBAC) and, 185

Ppackage cache, Self-Tuning Memory Manager and,

26, 39, 40pages, table space, 55, 59, 63PARTITION BY clause, 64–67, 81–83partitioning, table, 4passing the exam, 7pattern, XML, 96–99Pearson VUE, 5point of consistency, 154position method (method P), Import utility and, 107prefetch, table space, 55, 63, 182–183privileges, 179, 180

BIND, 51BINDADD, 50CONNECT, 50CREATE_NOT_FENCED, 50CREATETAB, 50databases and, 50EXECUTE, 51IMPLICIT_SCHEMA, 50LOAD, 50PUBLIC group and, 51

212

Index

Page 7: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

SELECT, 51USE, 50

Problem Determination Tool, 136–140, 138–140t,149–150, 150t

Professional Certification Program, 1PUBLIC group, 50, 51, 56pureXML, 68, 87–88

Qqueries

Data Partition Elimination and, 65range-partitioned tables and, 65XML and, and XQuery, 93–96. See also XML

Rrange-clustered tables, XML and, 90, 116range-partitioned tables, 43, 64–67, 83

ATTACH/DETACH PARTITION for, 65, 83CREATE TABLE for, using PARTITION BY

clause, 65–67, 81–83Data Partition Elimination and, 65Data Partitioning Feature and, 65, 83indexes and, 65query processing and, 65XML and, 90, 116

receiving your certification from IBM, 7–8RECOVER DATABASE, 5, 151, 158–160, 173Recover utility, 158–160, 173recovery history files, 157–158recovery. See high availabilityredirected restore, high availability disaster recovery

(HADR) and, 163REORG, data row compression and, 85reorganization, high availability disaster recovery

(HADR) and, 167–168, 174REPLACE HISTORY FILE, 164RESET DATABASE CONFIGURATION, 37RESETDICTIONARY, 79–71, 84, 85RESTORE DATABASE, 156, 158, 164RESTRICT option, label based access control (LBAC)

and, 185RESTRICTIVE clause, 56REVOKE SECURITY LABEL, 181, 204roles in DB2 9 certification, 1roll forward recovery, 154, 156–157, 157ROLLBACK, 152ROLLFORWARD DATABASE, 158, 164rules for security, label based access control (LBAC)

and, 184–185RUNSTATS, Automatic Maintenance and, 20

Sschemas, 50SECLABEL_TO_CHAR () function, 191, 204security, 5, 175–205

access control in, 175–180authentication in, 175, 176–179authorities/authorizations in, 179, 180label based access control (LBAC) in, 175, 181–199, 204privileges in, 179, 180, 179

Security Administrator (SECADM), 181–182, 204–205SELECT, 50, 51

Export utility and, 101XML data and, 91–96

Self-Tuning Memory Manager, 4, 9, 26–27, 39–41ALTER/CREATE BUFFERPOOL and, 27, 40buffer pools and, 26, 39, 40databases and, 51, 78get configuration of, using GET DATABASE

CONFIGURATION, 27high availability disaster recovery (HADR) and, 163locking memory and, 26, 39, 40package cache, 26, 39, 40shared memory and, 26, 39, 40sort memory and, 26, 39, 40UPDATE DATABASE CONFIGURATION for, 27

server management, 4, 9–41authentication and, 176AUTOCONFIGURE in, 12–15, 13–14t, 35Automatic Maintenance in, 20–22, 36–37CLIENT type authentication in, 177communications configuration in, 15–20Configuration Advisor in, 10–12, 11, 35DATA_ENCRYPT type authentication in, 178, 203DATA_ENCRYPT_CMP type authentication in,

178, 203GSS_SERVER_ENCRYPT type authentication in,

178–179, 203–204GSSPLUGIN type authentication (Generic Security

Service) in, 178, 203, 204instances in, 9–15KERBEROS type authentication in, 177, 203KRB_SERVER_ENCRYPT type authentication in,

177–178Self-Tuning Memory Manager and, 26–27SERVER authentication and, 176SERVER_ENCRYPT type authentication in, 177throttling utilities in, 22–25

SERVER_ENCRYPT type authentication, 177SET EVENT MONITOR, 133SET SESSIONUSER, 205Set Up HADR Wizard, 166, 167, 168

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

Index

Page 8: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

sets, in label based access control (LBAC), 182Setup Communications dialog, 16, 16shared memory, 26, 39, 40SHEAPTHRES, 15SNAP_WRITE_FILE stored procedure, 128–129, 146SNAPSHOT, 4snapshot monitors, 119, 120

administrative views of, 145capturing data from, using GET SNAPSHOT or

db2GetSnapshot(), 122–123, 145locks and, 146SNAP_WRITE_FILE stored procedure and,

128–129, 146SQL to capture data from, 123–128, 124–127tswitches for, setting, 120–121, 121t

Solaris, authentication and, 176sort, sort memory and, 26, 39, 40split mirror database copy, high availability disaster

recovery (HADR) and, 164SQKINKSLK, 47SQL

Bind File Description Tool, 134, 134tsnapshot monitors and, functions to capture data

from, 123–128, 124–127tSQLBP1/2, 47SQLCODE, 136SQLDBCON, 47SQLDBCONF, 47SQLOGCTL.LFH, 47SQLOGMIR.LFH, 47SQLSGF.1/2, 47SQLSPCS.1/2, 47SQLTMPLK, 47START HADR, 166statements, event monitors and, 131, 147statistic profiling, 21storage, data row compression and, 68–71, 69stored procedures, high availability disaster recovery

(HADR) and, 168, 174switches, snapshot monitor, setting of, 120–121, 121tsynchronization modes, high availability disaster

recovery (HADR) and, 161, 174SYSCATSPACE, 48, 49, 54, 78SYSIBMADMxxx, SQL functions, snapshot monitor

and, 128system catalog tables, 49, 54System Managed Storage (SMS) table spaces, 43, 48,

54, 57, 60, 61, 62, 78System Monitor. See Database System Monitorsystem, hierarchy of objects in DB2 worldview and,

9–10

Ttable spaces, 48, 56–64

ALTER TABLESPACE to modify, 62–64, 81Automatic Storage, 4, 43, 54–55, 61, 79, 80buffer pool for, 60, 63containers for, 55, 57, 59, 63creating, with CREATE TABLESPACE,

57–64, 81Database Managed Space (DMS), 43, 54, 57, 60,

61, 62, 64, 78Database Manager and, 57event monitors and, 132textent (round-robin pages) in, 55extent for, 60high availability disaster recovery (HADR) and,

162–163, 167, 174I/O controller and latency in, 55name of, 59, 63pages in, 55, 59, 63prefetch and, 55, 63, 182–183size of, 55, 59, 60, 63, 64SYSCATSPACE, 48, 54, 78System Managed Space (SMS), 43, 48, 54, 57, 60,

61, 62, 78temporary, 48TEMPSPACE1, 48, 53, 54, 78transfer rate of, 55USERSPACE1, 48, 50, 54, 78

tables, 64–67event monitors and, 132tlabel based access control (LBAC) and, 187, 193, 194partitioning, 4range-partitioned, 43, 64–67, 83system catalog, 49, 54XML and, 90, 95

tags, XML and, 89taking certification exams, 5–8

passing the exam and, 7receiving your certification from IBM and, 7–8sign-in process for, 7

TCP/IPConfigure TCP/IP dialog for, 16, 16high availability disaster recovery (HADR) and,

162, 163, 168temporary table spaces, 48TEMPSPACE1, 48, 53, 54, 78territory codes, 53Thompson Prometric, 5, 7throttling utilities, 4, 9, 22–25, 51, 78

BACKUP DATABASE and, 23

214

Index

Page 9: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

impact priorities in, UTIL_IMPACT_PRIORITYin, 24–25, 38–39

information about running utilities for, LISTUTILITIES and, 24, 25

UPDATE DATABASE MANAGER and, 22–23util_impact and, 22–25, 38

token, database, 47transactions and transaction logging, 151–154, 153

buffer pools for, 152–153COMMIT command in, 152, 154consistency of data/database in, 151–152event monitors and, 131, 147ROLLBACK command in, 152

TRANSFER OWNERSHIP, 181, 205transfer rate, table space, 55trees, in label based access control (LBAC), 182triggers, XML and, 91, 116troubleshooting utilities, 119, 134–140. See also

specific utilities

UUNIX, 1UPDATE, 167, 174

XML data and, 91–96UPDATE ALTERNATE SERVER FOR

DATABASE, 168UPDATE DATABASE CONFIGURATION,

Self-Tuning Memory Manager and, 27, 41UPDATE DATABASE MANAGER, 15

throttling utilities and, 22UPDATE DATABASE MANAGER

CONFIGURATION, 17USE, 50user-defined data types (UDTs), 109user-defined functions (UDFs), 109

high availability disaster recovery (HADR) and,168, 174

USERSPACE1, 48, 50, 54, 78UTF-8 codeset, XML and, 88, 116util_impact, 22–25, 38UTIL_IMPACT_PRIORITY, 24–25, 38–39utilities, 4, 50

data movement, 99–111. See also data movementutilities

impact priorities in, UTIL_IMPACT_PRIORITYin, 24–25, 38–39

information about, LIST UTILITIES and,24, 25

throttling. See throttling utilities

Vversion recovery, 154, 155–156, 156

Wwell-formed XML, 88–89Windows, 1

authentication and, 177, 176World Wide Web Consortium (W3C), 93

XXML, 4, 87–118

attributes in, 89–90case sensitivity of, 89columns in, 90, 116Command Line Processor and, 92, 93, 94, 96constraints and, 90CREATE DATABASE and, 88CREATE INDEX for, 97–99data movement utilities and, 87data types in, 87, 88–91, 102t, 106tData Warehouse Edition (DWE) and, 88database partitioning feature (DPF) and, 88db2move and db2look with, 110–111declaration in, 89elements in, 89–90Enterprise Server Edition (ESE) and, 88Export utility and, 101–103, 103, 102tExpress-C, 88GENERATE KEY USING XMLPATTERN in,

97–99Import utility and, 104, 105indexes and, 4, 87, 91, 96–99, 97, 117INSERT, UPDATE, DELETE, SELECT for, 91–96manipulation of data in, 91–96patterns in, 96–99pureXML and, 87–88queries and XQuery in, 93–96restrictions on columns in, 90tables and, 90, 95tables for, using CREATE TABLE, 90tags in, 89UTF-8 codeset and, 88, 116well-formed documents in, 88–89XML Data Specifier (XDS) and, 105XMLCAST, 117XMLEXISTS, 95XMLPARSE, 4, 87, 91, 92, 117XMLQUERY, 4, 87, 94XMLSERIALIZE, 4, 87, 117

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

Index

Page 10: Index [editorial.mcpressonline.com]editorial.mcpressonline.com/web/mcpdf.nsf/wdocs/... · Database Administrator (DBA), 1 Database Administrator (DBADM), 50 database managed space

XML, continuedXMLTABLE, 95XMLTEXT, 117XMLVALIDATED, 4, 87XQuery and, 87

XML Data Specifier (XDS), 105XMLCAST, 117XMLEXISTS, 95XMLPARSE, 4, 87, 91, 92, 117XMLQUERY, 4, 87, 94XMLSERIALIZE, 4, 87, 117XMLTABLE, 95

XMLTEXT, 117XMLVALIDATED, 4, 87XQuery, 4, 87, 93–96. See also XML

Export utility and, 101indexes and, 96–99, 97XQuery Data Model (QDM)Export utility and, 102, 118Import utility and, 108

ZZRC code, 136

216

Index