Re: SQL Query problem take ages to run

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Max (maxl_at_msn.com)
Date: 12/12/04


Date: 11 Dec 2004 16:02:03 -0800

You cannot turn off logging for an INSERT.

You can use Windows' Performance Monitor to track Disk I/O. I'm
certain you'll have Disk I/O slowness on your first execution of this.
Thus, if possible, you should rebuild your database, pre-allocating all
the space.

For optimal performance, put Tempdb, the transaction log and the
database devices on separate spindles. You want to maximize your disk
i/o by not having to seek your disk frequently.