Advertisement

07.17.2008 at 10:13AM PDT, ID: 23574055
[x]
Attachment Details

Do i need to defrag or rebuild indexes on a database where data in the tables is deleted daily?

Asked by zephyr_hex in SQL Server 2005, MS SQL Server

Tags: microsoft, sql server, 2005

i have a database that imports data from our ERP system on a daily basis.  before the import, each table is "cleared" with a "delete from" statement.

do i need to defrag or rebuild indexes on this database?

i have another database that does the same thing as above, but it imports every 30min throughout the work day.

same question... do i need to defrag or rebuild indexes?  or does the DELETE FROM take care of that?

i ran the script here:
http://www.mssqltips.com/tip.asp?tip=1165
that shows which indexes to defrag.  but the numbers i see in the results seem really low...Start Free Trial
 
Loading Advertisement...
 
[+][-]07.17.2008 at 10:16AM PDT, ID: 22027658

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Server 2005, MS SQL Server
Tags: microsoft, sql server, 2005
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 4
Solution Grade: A
 
 
[+][-]07.17.2008 at 10:17AM PDT, ID: 22027679

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.17.2008 at 10:35AM PDT, ID: 22027860

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 10:35AM PDT, ID: 22027867

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.17.2008 at 10:38AM PDT, ID: 22027890

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 02:11PM PDT, ID: 22030385

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.21.2008 at 09:13AM PDT, ID: 22051842

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628