Home » RDBMS Server » Server Administration » how to read dump contents (11.2.0.1 windows xp)
how to read dump contents [message #538248] Wed, 04 January 2012 23:33 Go to next message
andy huang
Messages: 498
Registered: July 2011
Senior Member
Dear all,
How to read the treedump contents of a index IDX_TB_TEST_N1?


SQL> select object_id,object_name from dba_objects where owner='HXL';

 OBJECT_ID OBJECT_NAME
---------- ---------------------------------------------
     51786 IDX_TB_TEST_N1


alter session set events 'immediate trace name treedump level 51786'


/u01/app/oracle/admin/oracl/udump/oracl_ora_2679.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
System name: Linux
Node name: hxl
Release: 2.6.9-42.0.0.0.1.ELhugemem
Version: #1 SMP Sun Oct 15 14:06:18 PDT 2006
Machine: i686
Instance name: oracl
Redo thread mounted by this instance: 1
Oracle process number: 18
Unix process pid: 2679, image: oracle@hxl (TNS V1-V3)

*** 2012-01-04 18:23:29.845
*** SERVICE NAME:(SYS$USERS) 2012-01-04 18:23:29.791
*** SESSION ID:(144.20) 2012-01-04 18:23:29.789
----- begin tree dump
branch: 0x1400494 20972692 (0: nrow: 2, level: 1)
leaf: 0x1400497 20972695 (-1: nrow: 540 rrow: 540)
leaf: 0x1400498 20972696 (0: nrow: 23 rrow: 23)
----- end tree dump
Re: how to read dump contents [message #538253 is a reply to message #538248] Thu, 05 January 2012 00:46 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
If you don't know then don't use it.
What is your actual need or desire?

Regards
Michel
Re: how to read dump contents [message #538258 is a reply to message #538253] Thu, 05 January 2012 01:03 Go to previous messageGo to next message
andy huang
Messages: 498
Registered: July 2011
Senior Member
Hi,
Michel, I wan to get index tree info. can you get me some suggestions?
Re: how to read dump contents [message #538262 is a reply to message #538258] Thu, 05 January 2012 01:10 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
What is your actual need? What is your purpose? What is the info you want? Why?

Regards
Michel
Re: how to read dump contents [message #538263 is a reply to message #538262] Thu, 05 January 2012 01:21 Go to previous messageGo to next message
andy huang
Messages: 498
Registered: July 2011
Senior Member
hi,
Michel, I want to understand the structure of index tree. just only to learn,not actual need.
Re: how to read dump contents [message #538264 is a reply to message #538263] Thu, 05 January 2012 01:25 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
You don't need to dump the blocks to know the structure of an B*Tree index, just read the Database Concepts, the structure is explained.

Regards
Michel

[Edit: typo]

[Updated on: Thu, 05 January 2012 01:37]

Report message to a moderator

Re: how to read dump contents [message #538266 is a reply to message #538264] Thu, 05 January 2012 01:30 Go to previous message
andy huang
Messages: 498
Registered: July 2011
Senior Member
Thank you your suggestion!
Previous Topic: Need to know the status of the Anonymous Block program
Next Topic: how to get block_number of index
Goto Forum:
  


Current Time: Fri Apr 19 20:49:11 CDT 2024