October 30, 2013 at 10:42 am
Afternoon,
I need to truncate a 100gb table and I was wondering if any body had any rough ideas how long this would take and what kind of impact this would have on the server in terms of processor usage etc? This is just a old table taking up space with nothing accessing it so I just like to get rid.
Thanks for any advice.
Andy
October 30, 2013 at 10:54 am
Truncate will be the fastest option since it will de-allocate all data pages from the table. How long will it take? It depends on the number of pages and your system performance. Do you have a test system you can use to get a timing?
October 30, 2013 at 11:04 am
As Keith mentioned, it will vary, depending on your system. The truncate should be fairly quick, but the logging of the deallocations might take some time and will increase your t-log space needed.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply