If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Table rebuild - extent size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-04, 11:44
kelvinpuk kelvinpuk is offline
Registered User
 
Join Date: Jul 2003
Posts: 23
Table rebuild - extent size

Has anyone a script that will calculate the optimum extent size for an existing table.

Ta

Kelv
Reply With Quote
  #2 (permalink)  
Old 04-28-04, 12:51
Suvarnagalgali Suvarnagalgali is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
Calculate the size of table and then allocated initial extent
Reply With Quote
  #3 (permalink)  
Old 04-28-04, 13:43
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Hi,

Suvarnagalgali gave the correct answer. You could get this information from the table sysptnhdr table in the sysmaster database. Check for npused. The relation with the table is the partnum which is also specified in the systables table of the database under investigation.

Rob Prop
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On