01-11-2013 05:54 AM
Hi,
On CPO, we set db gromming to minimal and also turn off archival log but TEO Process DB remains huge at 97 GB. Is there a best practice on how we gracrfully purge old data / archives out of this db?
Thanks for your input.
Solved! Go to Solution.
01-11-2013 06:00 AM
If it is SQL Server, try the following:
alter database teoprocess
set recovery simple;
go
dbcc shrinkfile ('TEOProcess_log.ldf',1000);
go
01-11-2013 10:25 AM
Configuration of grooming in the product natively should autyomatically handle the purging of the data. The DB file size may remain at its highest point though with much of the space in the file is not used. Generally you should not need to perform SQL actions to handle grooming. If you have a big surge of activity at sopme point this command can shrink the file back down.
01-11-2013 10:34 AM
Make sure the recovery mode in your database properties is set to Simple.
Often, this will free up huge amounts of space as logs are purged automatically.
01-11-2013 06:00 AM
If it is SQL Server, try the following:
alter database teoprocess
set recovery simple;
go
dbcc shrinkfile ('TEOProcess_log.ldf',1000);
go
01-11-2013 10:25 AM
Configuration of grooming in the product natively should autyomatically handle the purging of the data. The DB file size may remain at its highest point though with much of the space in the file is not used. Generally you should not need to perform SQL actions to handle grooming. If you have a big surge of activity at sopme point this command can shrink the file back down.
01-11-2013 10:34 AM
Make sure the recovery mode in your database properties is set to Simple.
Often, this will free up huge amounts of space as logs are purged automatically.
01-11-2013 11:12 AM
Von,
Thanks, this worked! We were able to reduce the size of our Process db.
Regards,
Brian
01-11-2013 11:21 AM
Mike,
Thanks for the info. That helps.
Regards,
Brian
01-11-2013 11:11 AM
Derek,
We tried this on customer's db and we were able to reduce db size by 55%!!
Thanks.
Brian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide