?
Solved

MS SQL Server2000 Partitioning for fast data delete?

Posted on 2004-10-19
4
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Suggested Courses

770 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