Re: High extents
Posted in 1999
"Shevkar, Mukund" wrote: > > I have some tables which are 55 mb or so having extents more than 76. Can > anybody advise how to reduce the extents and seek time. > IFX 7.13 UC1 > Sun solaris 2.6 > Mrrored Hd with 4 dbspaces on same hard disk You can best reduce query time by fragmenting the table over several dbspaces. As to reducing fragmentation, you need to compress the table. There are three methods" 1) Unload the table to flat file(s), drop, recreate with larger extents and perhaps in a quieter dbspace. 2) ALTER INDEX <myindex> TO CLUSTER; Will rewrite the entire table after sorting it by the index's key. If you ALTER TABLE SET NEXT SIZE N; where N is a large number. -OR- 3) ALTER FRAGMENT ON TABLE mytable INIT IN <some_dbspace>; Art S. Kagel