ALTER TABLE ... SHRINK SPACE CASCADE is taking a very long time on a table with LOB columns.
Here goes some diagnostic analysis.
1. While querying v$session_longops view the Alter Table shrink operation is not listed there.
2. Any other session working on this table seems fine. Delay does not occur for others.
3. The 10046 dump, shows waits reading the datafiles 'db file sequential read' most of them on the the object 31324 which is the LOB:
OBJECT_NAME OBJECT_ID OBJECT_TYPE
---------------------------------------- ---------- -------------------
SYS_LOB0000032195C00001$$ 31324 LOB
This issue of slowness is identified as Oracle bug 5768710 and there is no workaround available. This bug found on Oracle database version 10.2.0.1, 10.2.0.2, 10.2.0.3 and 10.2.0.4. However this bug is fixed in the following releases:
- 10.2.0.3 Patch 13 on Windows Platforms
- 10.2.0.5 (Server Patch Set)
- 11.1.0.6 (Base Release)
So upgrade to any of these version will likely resolve this bug.
Thursday, December 29, 2011
Subscribe to:
Post Comments (Atom)
Tag Cloud
10.2g
10g
11g
11gR2
Abasa
About Oracle
Administration
Adsense
Alerts
Archival
ASM
ASP.Net
Audit
Audit Vault
Backup
Bangladesh
Block Corruption
Blogger
Browser
Bug
Business
Clone
Clusterware
Comments
Concepts
Connection
Controlfiles
Crime
CSS
Data Block
Data Dictionary
Data Guard
Data Mining
Data Pump
Data Type
Database Administration
Database Vault
DBConsole
Developer
Economics
EM
Excel
Exercise
Explain plan
Export
External Table
Facebook
Firefox
Firmware
Flashback
Forum
Functions
Games
Globalization Support
Grid Control
Hardware
History
HTML
IE
Import
Indexes
initializaion parameter
initialization parameter
Installation
Internals
Internet
Interview
isql*plus
Java
JavaScript
Job
Joins
Joke
Limitation
Linux
Listener
Logminer
Magento
Mail
Materialized View
Medical
Memory
Mobile
Money
Multimedia
MySQL
Net Services
Network
OCP
Operators
Oracle
Oracle Concepts
Oracle Recovery
OS
Others
OUI
Package
Packages
Parameters
Partitioning
Patchset
Performance
Perl
Pfile
Photos
PHP
PL/SQL
Profile
Pseudocolumns
Puzzle
Quiz
Quota
RAC
RAC Installation
Recovery
Recovery Problems
Redo Log
Reports
RMAN
Scripts
Security
SEO
Server Administration
SGA
Shell Script
Smarty
Social Marketing
Solaris
Spfile
SQL
SQL Tuning
SQL*Loader
Sql*Plus
Startup Problem
Streams
SwingBench
System Analysis
Tablespaces
Technology
Temp
TNS Error
Tools
Troubleshooting
Tuning
Undo
UNIX
Upgradation
Utilities
Version
Views
Vmware
Windows
Wordpress
XML
No comments:
Post a Comment