minute by minute deletes on SQL instance.

the programmer has written that unneeded data to be removed/cleanup every minute through programmed script.

is this a not-best for log management? (if deletes are big, logs can swell?). this is for the session state database. pl suggest best practice.
LVL 5
25112Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Data DudeCommented:
>is this a not-best for log management?
For starters, TRUNCATE TABLE is minimally logged, and can be used as an alternative to DELETE if the entire contents of the table are being deleted.

I'd ask the programmer to spell out his reasons, as determining 'unneeded data' every minute is playing with fire..   I can understand this if there's a wompload of temp tables, staging tables, etc. in a database that are one-time uses.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
25112Author Commented:
it is for the http://tecadmin.net/how-to-create-aspstate-database-in-sql-server/ database.. just holds session info.. sometimes it gets too full too soon with many connections, and hence the programmer suggests deleting every minute. there are only 2 tables in this database, and actually deletes happen only on one table.

what would you recommend as best strategy for such a database? (very busy transaction)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.