Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using sort option when reindexing a

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Normally we assign disk space of about 120% of the table that we are doing maintenance on. Once assigned, it is commiteed forever to that segment. When there is a clustered index, I understand we can use the "sort option" that would allow us not to assign so much space - probably in the the area of 10 %. Is this correct?
 
Hi,

You can determine how much space you need to allocate by the fill factor. The higher that you set this value, the less "wasted" space there will be on your disk.

However, the overhead of maintaining the table, both in terms of updating the key fields, or inserting new rows, will be higher, as it has more data that it has to physically move to make room for the new rows.

As with most things in Sybase, it is a case of playing around with some different values for a while until you end up with the best compromise for yourself.

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top