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 > Available space in allocated extents

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-05, 01:44
trifid1967 trifid1967 is offline
Registered User
 
Join Date: Jan 2005
Posts: 1
Available space in allocated extents

Is there a way to find out how much space is available within an allocated extent? In particular, if I delete a number of records, they will be marked as deleted and available for reuse. I want to be able to find out how much space these deleted records are taking up and therefore how much space in the allocated extents will be reused before new extents start getting allocated. I don't need to reclaim the space, I just want to know how much there is.

Thanks for any advice.
Reply With Quote
  #2 (permalink)  
Old 01-07-05, 00:45
saatatya saatatya is offline
Registered User
 
Join Date: Jan 2005
Posts: 30
Lightbulb space used by delete records

I am not sure any onstat commands available to calculate how much space freed after delete records.

Easy way to get an estimate :
(Number of records deleted * record length) + (Number of records deleted * length of each index record )

Hope this will give you a rough estimate.

Cheers!!
Sanjit
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