Viewing 15 posts - 196 through 210 (of 242 total)
Jeff Moden (3/23/2009)
March 23, 2009 at 4:53 pm
You would need to do this whilst the job was running rather than afterwards.
Can you please post the results of DBCC SQLPERF(LOGSPACE) for the relevant database.
March 23, 2009 at 10:07 am
One potential cause is an open transaction which will prevent truncation of the log even in simple recovery mode. DBCC OPENTRAN will tell you if this is the problem.
March 23, 2009 at 7:07 am
I absolutely agree. Databases (MDF, NDF) should only be shrunk when the space isn't going to be required any more. A typical example might be where adequate housekeeping wasn't in...
March 23, 2009 at 5:05 am
Michael Valentine Jones (3/20/2009)
March 22, 2009 at 5:29 pm
Grant Fritchey (3/19/2009)
March 19, 2009 at 9:24 am
shnex (3/19/2009)
March 19, 2009 at 9:21 am
Grant Fritchey (3/19/2009)
March 19, 2009 at 6:39 am
shnex, you clearly want a solution that involves you in making minimal changes, which makes clustering the GUID an obvious choice for you.
Gail, Grant, can I ask you why you...
March 19, 2009 at 6:07 am
A good rule of thumb is that you should always have a clustered index. There are very limited circumstances where this is not such a good idea but they are...
March 18, 2009 at 11:21 am
Sorry and for clarity you should always test any schema changes like this before implementing them on a live system!
March 18, 2009 at 10:57 am
shnex (3/18/2009)
The Pk-indexes are non-clustered,and that's why there are heaps. I don't know if this is ok, or if the person that was here before...
March 18, 2009 at 10:56 am
If you are looking to change the code you posted towards the beginning of the thread, selecting only index_id = 1 will have the same result as your code but...
March 18, 2009 at 9:56 am
Have a look at
SELECT * FROM sys.dm_db_index_physical_stats (DB_ID(),NULL,NULL,NULL,'SAMPLED')
The 'Sampled' parameter will populate avg_page_space_used_in_percent (and te other columns) by sampling the underlying pages. You can use DETAILED instead of SAMPLED to...
March 18, 2009 at 8:28 am
GilaMonster (3/18/2009)
Tim Walker (3/18/2009)
I suppose you might say that I should check free space per page instead but I think I'd get pretty much the same result.
Not necessarily. It's very...
March 18, 2009 at 7:51 am
Viewing 15 posts - 196 through 210 (of 242 total)