Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Full Tablespace (Statspack)
Scott Reynolds wrote:
> <sybrandb_at_hccnet.nl> wrote in message > news:ol04c3lahe2acd2rububut5gso512j3knq_at_4ax.com...
> > I understand. A few more questions... > > 1) Will deleting old snapshots affect the statistics currently applied to > the database tables?
The statistics in Statspack have nothing to do with the optimizer statistics collected for your tables and indexes. So deleting the old snapshots will not chagne the stats on the tables.
> 2) Is there any way to reclaim the space once I truncate the tables? I did > a test on another server and it still says the tablespace is 100% full > (after sptrunc.sql) even though I am able to collect stats again. I would > just like to know how much space is actually free in the tablespace.
You can export your PERFSTAT user....then drop the user and recreate it. Then import your dump of PERFSTAT. This will help reclaim all of the space.
Once you have reclaimed the space, regularly schedule a purge of old snapshots.
HTH,
Brian
-- =================================================================== Brian Peasland dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - Unknown -- Posted via a free Usenet account from http://www.teranews.comReceived on Tue Aug 14 2007 - 15:02:16 CDT
![]() |
![]() |