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 2 OFFLOADING / SMART SCANalter diskgroup SMITHERS add failgroup LOCAL disk '/dev/raw/raw5','/dev/raw/raw6'*ERROR at line 1:ORA-15032: not all alterations performedORA-15285: disk '/dev/raw/raw5' violates disk group attribute cell.smart_scan_capableORA-15285: disk '/dev/raw/raw6' violates disk group attribute cell.smart_scan_capableSYS@+ASM> alter diskgroup smithers set attribute 'cell.smart_scan_capable' = 'FALSE';Diskgroup altered.SYS@+ASM> alter diskgroup SMITHERS add failgroup LOCAL disk '/dev/raw/raw5','/dev/raw/raw6';Diskgroup altered.SYS@+ASM> select name, total_mb from v$asm_diskgroup where state='MOUNTED'NAMETOTAL_MB-------------------------------------------------- --------SMITHERS 512,000SMITHERS_LOCAL 1,562SYS@+ASM> select g.name "diskgroup", d.path "disk", d.failgroup "failgroup", d.total_mb "disksize" from v$asm_diskgroup g, v$asm_disk d where g.group_number=d.group_number andg.state='MOUNTED'diskgroup disk failgroup disk size--------------- ------------------------------------- ----------------------- ---------SMITHERS /dev/raw/raw5 LOCAL 102,400SMITHERS /dev/raw/raw6 LOCAL 102,400SMITHERS o/192.168.12.3/SMITHERS_CD_05_cell01 ENKCEL01 102,400SMITHERS o/192.168.12.4/SMITHERS_CD_05_cell02 ENKCEL02 102,400SMITHERS o/192.168.12.5/SMITHERS_CD_05_cell03 ENKCEL03 102,400SMITHERS_LOCAL /dev/raw/raw1 SMITHERS_LOCAL_0000 781SMITHERS_LOCAL /dev/raw/raw2 SMITHERS_LOCAL_0001 7817 rows selected.We started out with a diskgroup on <strong>Exadata</strong> storage that contained a table compressed with HCC.When we initially tried to add the non-<strong>Exadata</strong> storage to that disk group, we got an error saying we hadviolated the cell.smart_scan_capable disk group attribute. Once we changed the attribute, setting it toFALSE, we were able to add the non-<strong>Exadata</strong> storage (of course, changing this setting disables SmartScans on any object with segments stored in this disk group). We then logged onto the database andtried to access our compressed table:SYS@SMITHERS> select table_name, compression, compress_for2 from dba_tables where owner='ACOLVIN';47

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

Saved successfully!

Ooh no, something went wrong!