Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

MS SQL Server2000 Partitioning for fast data delete?

Posted on 2004-10-19
4
Medium Priority
?
260 Views
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?
0
Comment
Question by:jayelkelly
  • 2
2 Comments
 
LVL 34

Expert Comment

by:arbert
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"
0
 
LVL 34

Accepted Solution

by:
arbert earned 2000 total points
ID: 12352563
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Suggested Courses

581 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