MS SQL Server2000 Partitioning for fast data delete?

Posted on 2004-10-19
Medium Priority
Last Modified: 2008-03-10
I have an app that writes 6 million rows per day to a single DB table, and needs to delete 6 million aged rows per day from the same table, while providing GUI read access to the contents of the table.  In Oracle, we can partition the data by date, and just drop the oldest day partition, thus having little or no impact to the other processes using the table.  MS SQL  Server2000 doesn't support partitioning, at least in the same fashion as Oracle.
Does anyone know of a method of doing a super fast delete of 6 million rows from a SQL Server2000 database without impacting performance of the writing & reading processes?
Question by:jayelkelly
  • 2
LVL 34

Expert Comment

ID: 12352555
Yes, you can also horizontally partition in SQL Server.  Then, you simply drop the partition with the date range you want to "delete"
LVL 34

Accepted Solution

arbert earned 2000 total points
ID: 12352563

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question