Painless management of a logging table in SQL Server

Posted on SQL Server Central See other posts from SQL Server Central
Published on Tue, 25 Jun 2013 06:00:00 UT Indexed on 2013/06/26 10:25 UTC
Read the original article Hit count: 190

Filed under:

Tables that log a record of what happens in an application can get very large, easpecially if they're growing by half a billion rows a day. You'll very soon need to devise a scheduled routine to remove old records, but the DELETE statement just isn't a realistic option with that volume of data. Hugo Kornelis explains a pain-free technique for SQL Server.

sqldbabundle Top 5 hard-earned Lessons of a DBA
New! Part 4, ‘Disturbing Development’ by Grant Fritchey, features the return of Joe Deebeeay and a server-threatening encounter with ORMs - read it here

© SQL Server Central or respective owner