Viewing 15 posts - 1,456 through 1,470 (of 2,897 total)
striker-baba (4/23/2010)
using
SELECT
a.index_id,
name,
avg_fragmentation_in_percent
FROM sys.dm_db_index_physical_stats (DB_ID(' DB '),OBJECT_ID(' Table'A' '),NULL, NULL, NULL) AS a
JOIN sys.indexes AS b ON
a.object_id =...
April 23, 2010 at 2:45 pm
Richard M. (4/23/2010)
FROM sys.dm_db_index_physical_stats (DB_ID(' DB '),OBJECT_ID(' Table'A' '),NULL, NULL, 'LIMITED')
as it will have better performance, specially if it is...
April 23, 2010 at 10:29 am
What have you tried so far ? Have you searched for any information on the subject ?
April 23, 2010 at 8:10 am
Grant Fritchey (4/21/2010)
As far as I know, if you stop the server, the trace stops and has to be restarted.
Not the default trace. That's different. But it doesn't capture DML.
That's...
April 21, 2010 at 8:28 pm
Here's a thread on the topic of DB growth & Capacity Planning.
http://www.sqlservercentral.com/Forums/Topic869838-146-1.aspx
April 21, 2010 at 2:11 pm
Maybe I jumped through hoops that I didn't need to ?!
April 21, 2010 at 1:57 pm
I made a version of Lowell's trace, and put it in a job. Then the job is scheduled to start whenever SQL restarts.
http://www.sqlservercentral.com/Forums/Topic735841-146-1.aspx
I changed the path, so that it creates...
April 21, 2010 at 1:52 pm
You can generate the code. Open the job, uncheck the "enabled" button, then "Script to new window"
I can't replicate that in 2005. Tried a "regular" job and a maint plan...
April 20, 2010 at 11:36 am
When you specify the file extension do not include the "dot". So use BAK, not .BAK
April 19, 2010 at 12:37 pm
CirquedeSQLeil (4/16/2010)
I would recommend more frequent tran log backups.
Here is a reference for diff restores.
I agree. For production, I backup every 15 minutes
April 16, 2010 at 10:32 pm
You need to enable Mail in SQL ServerAgent Properties -> Alert System
Then I think you need to restart SQL Server Agent (?)
April 16, 2010 at 8:52 am
The index hint works with a select. The problem is that I am doing a lot of updates.
April 14, 2010 at 6:18 pm
Maybe,.. join the table to itself, with a hint on the join. But I don't have a unique index to join on.
April 14, 2010 at 2:59 pm
There's a "Reporting & Logging" button on the tool bar. You can uncheck "Generate a text file report". Or, if you want some reporting, leave it checked, and create a...
April 14, 2010 at 8:50 am
Viewing 15 posts - 1,456 through 1,470 (of 2,897 total)