Viewing 15 posts - 36,721 through 36,735 (of 49,562 total)
Do you have indexes to support the frequently run queries? Can the queries use those indexes?
2 million rows isn't that much. SQL can handle that with ease. If you're having...
August 31, 2009 at 1:54 am
Sumanta Roy (8/30/2009)
August 31, 2009 at 1:50 am
Sumanta Roy (8/30/2009)
I got one requirement to divide my tempdb data files into 8 files in sql server 2008. This is to improve the performance.
What's the reasoning behind the...
August 30, 2009 at 3:27 pm
Take the query from your first post and just remove the where clause. That will give you the fragmentation levels of all indexes in the entire server, regardless of page...
August 30, 2009 at 1:56 pm
Edit: Nevermind. Did like Jeff and commented before reading and read protect as in backup up, not protect as in secure.
August 30, 2009 at 1:42 pm
Smaller indexes tend not to defragment well, there'll often be fragmentation after the rebuild. Also, fragmentation's only an issue when doing large range scans of an index from disk. Small...
August 30, 2009 at 1:09 pm
gmamata7 (8/30/2009)
But, I have 22 databases. Is Having 22 steps for a Index reorganize/rebuild makes sense?
Why not?
Is there no way to make the script to work for all databases other...
August 30, 2009 at 1:07 pm
So it doesn't matter in the slightest which row you get back from the child table?
I must admit, that's a little odd.... Why is it that any one will do?
August 30, 2009 at 12:55 pm
Yes. The job history window reads from the MSDB database. There's only one place the logs are stored. Hence you'll get the same results from the query as from the...
August 30, 2009 at 11:10 am
Define 'first'. There's no order within a table in SQL so there has to be something that determines which row it is that you want. If you can explain that...
August 30, 2009 at 11:09 am
espanolanthony (8/30/2009)
where a.job_id = b.job_id
and b.name like 'JOB NAME'
order by run_date desc , run_time desc
(no modifications were made to the...
August 30, 2009 at 10:54 am
None whatsoever, providing ClientID is the leading column in the index.
http://sqlinthewild.co.za/index.php/2009/01/19/index-columns-selectivity-and-equality-predicates/
August 30, 2009 at 10:38 am
Those are the actual logs. MSDB is where SQL Agent writes all job-related logs. If there's nothing in the table, it means that either somone's deleted them or SQL Agent...
August 30, 2009 at 10:33 am
PaulB (8/30/2009)
August 30, 2009 at 10:30 am
It's not going to be trivial to change that to run over all databases. dm_db_index_physical_stats can easily report on all the indexes on the entire server, but the second part,...
August 30, 2009 at 3:45 am
Viewing 15 posts - 36,721 through 36,735 (of 49,562 total)