10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 3 HYBRID COLUMNAR COMPRESSIONbdba: 0x01f0630cdata_block_dump,data header at 0x2b849c81307c===============tsiz: 0x1f80hsiz: 0x14pbl: 0x2b849c81307c76543210flag=--------ntab=1nrow=1frre=-1fsbo=0x14fseo=0x1f60avsp=0x1f4ctosp=0x1f4c0xe:pti[0] nrow=1 offs=00x12:pri[0] offs=0x1f60block_row_dump:tab 0, row 0, @0x1f60tl: 32 fb: --H-FL-- lb: 0x1 cc: 5col 0: [ 4] c3 02 40 44col 1: [ 2] c1 02col 2: [10] 61 73 64 64 73 61 64 61 73 64col 3: [ 7] 78 6a 07 15 15 0b 32col 4: [ 1] 59end_of_block_dumpThe block is not compressed and conforms to the normal <strong>Oracle</strong> block format. Notice that there isonly one row in the block (nrows=1). Also notice that the data_object_id is included in the block in hexformat (seg/obj: 0x13081). The table has five columns. The values are displayed, also in hex format. Justto verify that we have the right block, we can translate the data_object_id and the value of the firstcolumn as follows:SYS@SANDBOX1> !cat obj_by_hex.sqlcol object_name for a30select owner, object_name, object_typefrom dba_objectswhere data_object_id = to_number(replace('&hex_value','0x',''),'XXXXXX');SYS@SANDBOX1> @obj_by_hexEnter value for hex_value: 0x13081OWNER OBJECT_NAME OBJECT_TYPE------------------------------ ------------------------------ -------------------KSO SKEW_HCC3 TABLESYS@SANDBOX1> desc kso.skew_hcc3Name Null? Type----------------------------- -------- --------------------PK_COLNUMBERCOL1NUMBER89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!