Viewing 15 posts - 211 through 225 (of 335 total)
1. generally, you should create an index on columns used in your where criteria. Use "database engine tuning advisor" to see what MSSQL suggests
2. "alter index rebuild or "alter index...
September 22, 2008 at 5:41 am
Or use something like
select top 10 * from dbo.MyTable
where ActualTime NOT like '0%'
but this construction is a performance killer.
September 19, 2008 at 4:27 am
Windows Cluster is a shared-nothing concept, which means the database can only be seen from the active cluster. This is probably on your S: drive. After a failover, your S:...
September 19, 2008 at 2:47 am
Lesson: Stop trusting the index tunig advisor. It will always come up with new indexes. There are some scripts on this site which shows the effectiveness of an index (number...
September 19, 2008 at 2:42 am
I suggest to ask these consultants what they did. Do you have a SAN administrator in your company? Maybe he implemented some job on the SAN box (i.e. some synchronizing...
September 19, 2008 at 2:37 am
Forgot to tell you:
The Active server will be a dedicated server (no VMware), only the passive node wil be virtual.
Thanks for your replies
September 16, 2008 at 1:36 pm
WOW, describing a DBA job in just a few lines 🙂
Start reading this article:
http://www.sqlservercentral.com/articles/Database+Administration/62480/
September 15, 2008 at 3:15 am
This has only to do with the CPU installed on your server. All the MSSQL operations are equal. For an application which uses MSSQL, there's no difference between 32 and...
September 15, 2008 at 3:12 am
Besides REBUILDING, there's also REORGANIZING indexes.
As mentioned, there are a lot of articles about rebuilding/reorganizing indexes
September 15, 2008 at 3:05 am
Hi,
I prefer a DBCC CheckDB in the weekend, I do a rebuild/reorg and update stats on a daily base, but that's up to you.
Shrinking logfiles is not recommended unless you're...
September 15, 2008 at 3:03 am
Thanks. But what about compressing the .bak files into .zip files and deleting the .bak back files to save on space? Any ideas?
Try Idera SQLSafe freeware!
September 8, 2008 at 8:32 am
On production that guy wants to avoid UNION and you are executiing it CURSOR
dont u think it will increase network traffic and degrade server performance
I'm confused :hehe: UNION is...
September 8, 2008 at 7:05 am
You could use a cursor to select the column names and build a dynamic statement. By using this, you could also commit your statement after each row (which keeps your...
September 8, 2008 at 6:09 am
You forgot to backup MASTER, MSDB and MODEL 😀 (also important)
If you want to backup these databases also, you could strip the script to something like this:
exec sp_msforeachdb 'if ''?''<>''tempdb''...
September 8, 2008 at 5:51 am
Note: Snapshots are not a backup solution. You cannot backup a snapshot. A a result, you cannot restore a database from a snapshot if your original database is gone.
See http://msdn.microsoft.com/en-us/library/ms189940.aspx...
September 8, 2008 at 1:59 am
Viewing 15 posts - 211 through 225 (of 335 total)