- ©«¤l
- 10
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 22
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-4-27
- ³Ì«áµn¿ý
- 2012-4-27
|
Àˬdtablespace¯}¸HªÅ¶¡
select tablespace_name ,
sqrt(MAX(blocks)/SUM(blocks))*(100/sqrt(sqrt(count(blocks)))) as "FSFI%"
from dba_free_space
group by tablespace_name
order by 1;
tablespace:ªí®æªÅ¶¡¦WºÙ
FSFI:¥i¥Î¯}¸HªÅ¶¡¯Á¤Þ(Free Space Fragmention Index)¡A¼Æȳ̤j100¡Aªí¥Ü§¹¥þ¨S¦³¯}¸HªÅ¶¡¡A¼ÆȶV§C¥NªíªÅ¶¡ªº¸H¤ù¶VÄY«¡A³q±`§C©ó30%´N»Ýn¶i¦æ«¾ã§@·~(Recorganization Job)¡A³o¬O¸ê®Æ®wºÞ²zû¬O«D±`«nªº¨Ò¦æ§@·~¡C
º¥ý×¥¿SYSAUX
COALESCE
For each datafile in the tablespace, this clause combines all contiguous free extents into larger contiguous extents. Please use Locally managed tablespace, it will automatically take care of this issue.
DEALLOCATE UNUSED
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/clauses003.htm#g1056929
10G·s¥\¯à
alter table mytable enable row movement;
alter table xxx shrink space compact |
|