Re: Space utilization questions
Posted in 1996
}Date: Wed, 31 Jan 1996 10:14:28
}To: Mark Christmas <christma@rmy.emory.edu>
}From: Tamara Winburn <tamara@internet.net>
}Subject: Re: Space utilization questions
}
}At 03:47 PM 1/30/96 GMT, you wrote:
}>This is a multi-part message in MIME format.
}>
}>---------------------------------143863452663130277419171450
}>Content-Transfer-Encoding: 7bit
}>Content-Type: text/plain; charset=us-ascii
}>
}>We recently ran into a situation where our chunks were full. We could not
}>insert any additional records, even after deleting some existing records. We
}>unloaded and reloaded the tables causing the problem and were then able to
}>continue with inserts.
}>My first question is: why do we now see a difference of 16Mb in free space (in
}>a 50Mb db) once we have performed the unload/reload? If that 16Mb was indeed
}>available, why didn't the deletion of some records free the space for more
}>inserts? I know that deleting records will not cause more free space to appear
}>in onstat (the tablespaces will not contract), but the space should be
}>available for more records going into the same tables.
}
}In response to the first question, We have been having the same problem.
When you delete records say for < than a number to gain space within that
table, the deletes may not take place in one spot. The deletes may be spread
out all over the extents space not allowing for more inserts. If the number
of records were in say numerical order and they deleted that way the space
gives way to more inserts.
}
}I had deleted one day to have the problem go away for awhile, but the next
time I had to delete it took much more than the first time to find the space
to do the inserts.
}
}I hope this answers your question correctly...
}
}Cheers,
}
} - Tamara
}
}My second question is: how can I tell how much space is available in an extent?
}>BTW: we're running under Online 7.11.
}>
}>
}>Thanks, Mark.
}>
}>---------------------------------143863452663130277419171450
}>Content-Transfer-Encoding: 7bit
}>Content-Type: text/plain
}>
}>+-------------------------------------------------------------------------+
}>| Mark Christmas |
}>| CrossKeys Systems Corp mchristmas@crosskeys.com |
}>| 362 Terry Fox Dr |
}>| Kanata, ON Phone (613) 591-1600 |
}>| Canada K2K 2P5 Fax (613) 599-3626 |
}>+-------------------------------------------------------------------------+
}>
}>
}>---------------------------------143863452663130277419171450--
}>
}>
}
Tamara Winburn tamara@internet.net
Database Administrator (415)846-7460
The Internet Shopping Network (415)842-7415 (FAX)