Oracle Database 11g New Features for DBAs and Developers 978-1-59059-910-5, 1-59059-910-1


317 51 9MB

English Pages 632 Year 2007

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Oracle Database 11g: New Features for DBAs and Developers......Page 1
Contents at a Glance......Page 7
Contents......Page 9
About the Authors......Page 21
Acknowledgments......Page 23
Enhanced Database Automation......Page 25
Data Guard Enhancements......Page 26
General Database Management......Page 27
Application Improvements......Page 28
High-Availability Enhancements......Page 29
Advanced Compression......Page 30
Installing, Upgrading, and Managing Change......Page 31
Choosing the Datafile and Flash Recovery Area Locations......Page 32
Changes in the Install Options......Page 33
Components......Page 34
Deprecation of the connect Role......Page 35
Installing Oracle Database 11......Page 36
Memory-Related Parameters......Page 38
PL/SQL Native Compilation Parameter......Page 39
New Result Cache–Related Parameters......Page 40
The db_ultra_safe Parameter......Page 41
Optimizer-Related Parameters......Page 42
DBCA Enhancements......Page 43
New Oracle Background Processes......Page 46
Upgrading to Oracle Database 11......Page 47
Upgrade Path to Oracle 11......Page 48
A Manual Upgrade Example......Page 49
Upgrading with the DBUA......Page 54
Downgrading After an Upgrade to 11......Page 55
Oracle Clusterware Upgrade......Page 56
Execute the Pre-update Script......Page 57
Install and Upgrade Using runInstaller......Page 58
Upgrade Remaining Nodes of the RAC Environment......Page 64
Database Replay......Page 65
Capturing the Workload......Page 69
Performing the System Change......Page 71
Replaying the Workload......Page 72
Preparing the Workload Replay......Page 73
Analyzing Workload Capture and Replay......Page 74
The SQL Performance Analyzer......Page 77
Capturing the Production System SQL Workload......Page 79
Creating a SQL Performance Analyzer Task......Page 80
Comparing the SQL Performance......Page 81
New Features in Database Control for Patching......Page 83
Emergency Hot Patching (Online Database Patching)......Page 85
Software and Database Cloning......Page 86
Database Diagnosability and Failure Repair......Page 87
The Fault Diagnosability Infrastructure......Page 88
Problems and Incidents......Page 90
Structure and Location of the ADR......Page 91
Using adrci in the Command-Line Mode......Page 93
Setting the Homepath......Page 94
Viewing the Alert Log......Page 96
Viewing Incidents......Page 98
Packaging Incidents......Page 100
Using the Support Workbench Home Page......Page 103
Using the Support Workbench to Resolve Problems......Page 104
Repairing SQL Failures with the SQL Repair Advisor......Page 108
Database Health Checks......Page 110
Types of Health Monitor Checks......Page 111
Manual Checking Using the DBMS_HM Package......Page 112
Manual Checks Using Database Control......Page 115
Manual Checks with the RMAN Validate Command......Page 116
Data Recovery Advisor......Page 118
Dealing with Failures......Page 119
Managing the DRA with Database Control......Page 125
Improvements in Handling Data Corruption......Page 126
Unknown......Page 0
Lost-Write Detection Using a Physical Standby Database......Page 127
Database Automation......Page 129
Automatic Memory Management......Page 130
Adopting Automatic Memory Management......Page 131
Monitoring Memory Allocation......Page 133
Automated Maintenance Tasks......Page 135
New Maintenance Windows......Page 136
Default Resource Manager Plan......Page 137
Modifying the Automatic Tasks......Page 138
Tracking Job Runs......Page 139
Flashback-Related New Features......Page 140
Total Recall and the Flashback Data Archive......Page 141
What Is the Flashback Data Archive?......Page 142
Benefits of Using a Flashback Data Archive......Page 144
Creating a Flashback Data Archive......Page 145
Altering a Flashback Data Archive......Page 147
Enabling and Disabling Flashback Data Archiving......Page 148
Flashback Data Archive Limitations......Page 149
Using Flashback Data Archives: Examples......Page 150
Flashback Transaction Backout......Page 152
Prerequisites for Flashback Transaction Backout......Page 153
Using the TRANSACTION_BACKOUT Procedure......Page 154
Virtual Columns......Page 155
Adding a Virtual Column to a Table......Page 156
Virtual Columns Limitations......Page 157
Explicit Locking of Tables......Page 158
Creating an Invisible Index......Page 159
Making an Existing Index Invisible......Page 160
How the Optimizer Treats the Invisible Index......Page 161
Checking the Visibility Status of an Index......Page 162
Temporary Tablespace Management......Page 163
Shrinking Temporary Tablespaces and Tempfiles......Page 164
Specifying Temporary Tablespace for Global Temporary Tables......Page 165
Creating an Initialization Parameter File from Memory......Page 166
Creating Restore Points fas off an SCN or a Timestamp......Page 167
Preserving Restore Points......Page 168
Database Resident Connection Pooling......Page 169
How DRCP Works......Page 170
Enabling and Disabling DRCP......Page 171
Configuring DRCP......Page 172
Comparing and Converging Database Objects......Page 173
Comparing Data......Page 174
Converging Data......Page 176
SQL*Plus Error Logging......Page 177
New SQL*Plus Connection Syntax......Page 179
Enhanced Online Index Creation and Rebuild......Page 180
Enhanced Default Column Value Functionality......Page 181
Minimal Invalidation of Dependent Objects......Page 182
Oracle Advanced Table Compression Option......Page 183
Implementing OLTP Table Compression......Page 184
Compressing Data Pump Export Data......Page 185
Enterprise Manager New Features......Page 186
The Server Tab......Page 187
Policy Groups Link......Page 188
LogMiner Support......Page 189
Database Diagnostic Pack and Tuning Pack......Page 190
Oracle Scheduler New Features......Page 191
Lightweight Jobs......Page 192
Installing, Registering, and Managing the Scheduler Agent......Page 193
Creating a Remote External Job......Page 194
Scheduler Support for Data Guard......Page 195
Performance Management......Page 197
Using Real Native Compilation......Page 198
Setting Up a PL/SQL Program Unit for Native Compilation......Page 199
Recompiling a Database for PL/SQL Native Compilation......Page 200
Adaptive Cursor Sharing......Page 202
How Adaptive Cursor Sharing Works......Page 203
Monitoring Adaptive Cursor Sharing......Page 204
SQL Query Result Cache......Page 205
Viewing the Result Cache with EXPLAIN PLAN......Page 209
Examples of Query Result Caching......Page 210
Managing the Query Result Cache......Page 215
PL/SQL Function Result Cache......Page 216
An Example......Page 217
OCI Consistent Client Cache......Page 218
Automatic SQL Tuning......Page 220
Automation of SQL Tuning in Oracle Database 11......Page 221
Implementing the Recommendations......Page 222
Managing Automatic SQL Tuning......Page 223
SQL Access Advisor Enhancements......Page 224
Partitioning Recommendations......Page 225
New DBMS_ADVISOR Procedures......Page 226
Multicolumn Statistics......Page 227
Creating Multicolumn Statistics......Page 229
Gathering Statistics for Column Groups......Page 230
Expression Statistics for Functions and Expressions......Page 231
Setting Preferences......Page 232
Keeping Statistics Pending vs. Publishing Statistics Immediately......Page 233
Making Pending Statistics Available to the Optimizer......Page 234
Collecting Private Statistics......Page 235
Testing, Publishing, and Deleting Pending Statistics......Page 236
SQL Plan Management (SPM)......Page 237
Capturing SQL Plan Baselines......Page 238
SQL Plan Baseline Selection......Page 239
Evolving SQL Plan Baselines......Page 240
Displaying SQL Plan Baselines......Page 241
Managing the SQL Management Base......Page 242
Managing SQL Plan Baselines......Page 243
Running ADDM Over a Specific Time Period......Page 244
Advisor Findings......Page 245
Using the New DBMS_ADDM Package......Page 246
AWR Baselines......Page 247
Moving Window Baselines......Page 248
Generating a Template for a One-Time Baseline......Page 249
Baselines and Template Dictionary Views......Page 250
Adaptive Baseline Metric Thresholds......Page 251
Customized Performance Page......Page 252
ADDM Performance Analysis......Page 253
Enterprise Database Security Concerns......Page 255
Security Out of the Box......Page 256
Delayed Failed Logins......Page 259
Basic Compliance with Industry Security Recommendations......Page 260
Password Versions......Page 261
Change Default User Passwords......Page 262
Database Links and Case Sensitivity......Page 263
Password Management......Page 264
Create Password Verification Function......Page 265
Change Database Account Passwords......Page 267
Tablespace Encryption......Page 269
Creating the Oracle Wallet......Page 270
Wallet Requirements......Page 271
Encrypting a Tablespace......Page 272
Enterprise Manager Integration......Page 274
Tablespace Encryption with Database Console......Page 275
Policy Trend Overview......Page 277
UTL_ Package Network Access Management......Page 278
Fine-Grained Access Control for UTL_* Network Packages......Page 279
Create an Access Control List......Page 280
Add Access Control Entries......Page 281
Assign Hosts......Page 282
Maintain Access Control Lists......Page 283
Query Your Access Control List......Page 284
Order Your Access Control List......Page 286
TDE with LogMiner Support......Page 288
TDE with Hardware Security Module Integration......Page 289
Oracle Advanced Security Features......Page 290
Oracle Call Interface Enhancements......Page 291
Delay or Drop Database Connections......Page 292
Control the Display of Database Release Information......Page 293
Set Up the Banner and Auditing for Unauthorized Access......Page 294
Enhanced Block Media Recovery......Page 295
Preconditions for Using the recover … block Command......Page 296
Recovering Specific Data Blocks......Page 297
Recovering All Corrupt Data Blocks......Page 298
Scripting with RMAN Substitution Variables......Page 300
New RMAN Configuration Parameters......Page 303
Backing Up Large Files in Sections......Page 304
Performing Multisection Backups......Page 305
The backup … keep Command in Oracle Database 10......Page 306
Archival Backups......Page 307
Creating an Archival Backup......Page 308
Restoring an Archival Backup......Page 310
The New Validate Command......Page 311
Validating with the validate Command......Page 312
Speeding Up Validation with the Section Size Clause......Page 313
Validate Command Options......Page 314
Configuring an Archived Redo Log Deletion Policy......Page 315
Archived Redo Log Deletion in a Data Guard Setup......Page 316
Archived Redo Log Failover......Page 317
Active (Network-Based) Database Duplication......Page 318
Prerequisites......Page 319
Necessary Spfile Modifications......Page 320
Performing Active Duplication......Page 322
An Active Database Duplication Example......Page 323
How Network-Enabled Duplication Works......Page 327
Merging Recovery Catalogs......Page 329
Virtual Private Catalogs......Page 332
Creating a Virtual Private Catalog......Page 333
Managing Virtual Private Catalogs......Page 336
Enhanced RMAN Integration with Data Guard......Page 337
Making Configuration Changes for a Site......Page 338
Restoring a Backup Controlfile to a Standby Controlfile......Page 339
Backup File Accessibility Groups......Page 340
Block Change Tracking Support in Standby Databases......Page 341
API Enhancements......Page 343
Compression Enhancements......Page 344
Specifying Encryption......Page 349
Choosing an Encryption Mode......Page 350
Reusing a Dump File......Page 352
Remapping Data......Page 353
Remapping a Table......Page 355
Export and Import of Partitions......Page 356
External Tables Based on Data Pump......Page 359
Stored Procedure to Generate External Table Using a Data Pump......Page 361
Oracle Streams......Page 367
Restrictions on Synchronous Capture......Page 368
Configuring Synchronous Capture......Page 369
DBA Views for Synchronous Capture......Page 371
Requirements for Combined Capture and Apply......Page 372
Combined Capture and Apply Validation......Page 373
Streams Advisor Admin Package......Page 374
Streams Topology......Page 375
Streams Topology Views......Page 376
Supported Database Object Types......Page 378
Comparison......Page 379
Comparison Maintenance......Page 380
Rechecking a Prior Comparison......Page 381
Converging Shared Database Objects (Repair)......Page 382
Merging the Streams......Page 384
Message Tracking......Page 385
Automated Alerts for Clients and Thresholds......Page 386
Background Process Name Changes......Page 387
Support for Transparent Data Encryption......Page 388
Support for Oracle Scheduler......Page 389
Automated Storage Management......Page 391
RMAN and ASM......Page 392
sysasm Privilege and osasm Group......Page 393
Upgrading Manually......Page 396
Upgrading Using DBUA......Page 397
Rolling Upgrades......Page 401
A Step-by-Step Approach to Rolling Upgrades......Page 402
Preferred Read Setup......Page 404
Monitoring Preferred Reads......Page 405
ASM Restricted Mode......Page 406
ASM Diskgroup Maintenance......Page 407
Diskgroup Checks......Page 410
Diskgroup Attributes......Page 411
Variable-Size Extents......Page 415
RDBMS and ASM Compatibility......Page 416
ASM Compatibility......Page 417
Fast Mirror Resync......Page 419
Disk Repair Time......Page 420
Online and Offline Disks......Page 421
lsdg......Page 425
lsdsk......Page 426
cp......Page 428
Backup Diskgroup Using md_backup......Page 430
Restore Diskgroup Using md_restore......Page 431
Metadata Backup and Restore Demonstration......Page 432
Bad Block Recovery with ASMCMD......Page 439
Set Up Direct NFS......Page 440
Validate Direct NFS......Page 442
Direct NFS Performance......Page 443
Data Guard......Page 445
Active Physical Standby Database Duplication......Page 446
Real-Time Query Standby......Page 448
Validate the Real-Time Query Standby Database......Page 449
Snapshot Standby......Page 451
Convert to Snapshot Standby......Page 452
Convert Back to Physical Standby......Page 455
Prepare the Primary Database......Page 456
Convert to Logical: Keep Your Identity......Page 457
Block Change Tracking Support......Page 458
Compressed Redo Traffic......Page 459
Usage of Histograms for the NET_TIMEOUT Attributes......Page 460
Logical Standby: SQL Apply......Page 462
Encrypt Tablespaces......Page 463
Dynamically Set the Data Guard SQL Apply Parameters......Page 464
DBMS_SCHEDULER Support......Page 465
Logical Standby Archivelog Storage......Page 466
Data Guard Broker......Page 467
Data Guard Broker Command-Line Interface......Page 468
Customize Fast-Start Failover Events......Page 470
Initiate Fast-Start Failover from Applications......Page 471
New Data Guard Manager Properties......Page 472
Support of Heterogeneous OS Data Guard Configuration......Page 473
Data Guard Over Storage Vendor Solutions......Page 474
CONTINUE Statement......Page 475
SIMPLE_INTEGER......Page 476
Regular Expression Enhancements......Page 479
Subprogram Inlining......Page 481
pragma INLINE(identifier, mode)......Page 483
Scope and Usage......Page 484
Generalized Invocation......Page 485
Cross-Session PL/SQL Function Result Cache......Page 488
Restrictions and Limitations......Page 492
Bulk In-Bind Table of Records in FORALL......Page 493
Dynamic SQL Symmetry and New Functionality......Page 495
Compound Triggers Type......Page 499
New XMLType......Page 505
XMLIndex Components......Page 511
XMLIndex Path Table......Page 512
EM Database Console to Create XMLIndex......Page 514
Index Maintenance......Page 516
XMLIndex Secondary Indexes......Page 517
Data Dictionary Views for XMLIndex Secondary Indexes......Page 518
Asynchronous Maintenance of XMLIndexes......Page 519
XMLIndex Path Subsetting......Page 522
Native Web Services for Oracle XML DB......Page 523
Setup XML DB Servlet......Page 524
Validate the XML DB Web Service......Page 525
Validate the PL/SQL Web Service......Page 527
In-Place XML Schema Evolution......Page 529
XMLExists......Page 530
XMLCast......Page 531
XMLDiff......Page 532
XMLPatch......Page 533
APEX Configuration......Page 535
APEX Enhancements......Page 536
PHP Support Enhancements......Page 537
JAR Support......Page 538
Improvements to the dropjava Tool......Page 540
Improvements to the ojvmjava Tool......Page 541
The ojvmtc Tool......Page 542
Data Warehousing......Page 545
BasicFiles vs. SecureFiles......Page 546
LOB Performance......Page 547
Deduplication......Page 548
Encryption......Page 552
Compression......Page 553
db_securefile Initialization Parameter......Page 555
Migrate from BasicFiles to SecureFiles......Page 556
Data Warehousing New Features......Page 557
Partition Change Tracking......Page 558
Materialized View Refresh Performance Improvements......Page 559
Materialized View QUERY REWRITE Enhancements......Page 560
Pivot Operators......Page 562
Unpivot Operators......Page 567
Partitioning......Page 568
Partition Advisor......Page 569
Reference Partitions......Page 574
Interval Partitioning......Page 576
Composite List-Hash Partitioning......Page 582
Composite List-Range Partitioning......Page 583
Composite Range-Range Partitioning......Page 584
Virtual Column-Based Partitioning......Page 586
System Partitioning......Page 589
Enhanced DICOM Support......Page 591
Support for SecureFiles......Page 592
Additional Multimedia Enhancements......Page 593
Index......Page 595

Oracle Database 11g New Features for DBAs and Developers
 978-1-59059-910-5, 1-59059-910-1

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Recommend Papers