Viewing 15 posts - 406 through 420 (of 3,011 total)
Here are several things to hold transaction log growth to a minimum that I have done in the past:
1. Only defragment indexes that need it, say more than 30% fragmentation.
2....
October 26, 2012 at 2:26 pm
DiverKas (10/26/2012)
October 26, 2012 at 1:12 pm
Dung Dinh (10/26/2012)
Michael Valentine Jones (10/26/2012)
October 26, 2012 at 1:00 pm
It would be better to have the query do a search for the specific item they are searching for, instead of doing a catch-all search on all columns they might...
October 26, 2012 at 11:37 am
select FirstDayOfMonth= dateadd(mm,datediff(mm,0,getdate()),0)
select LastDayOfMonth= dateadd(mm,datediff(mm,-1,getdate()),-1)
select FirstDayOfQuarter= dateadd(qq,datediff(qq,0,getdate()),0)
select LastDayOfQuerter= dateadd(qq,datediff(qq,-1,getdate()),-1)
select FirstDayOfYear= dateadd(yy,datediff(yy,0,getdate()),0)
select LastDayOfYear= dateadd(yy,datediff(yy,-1,getdate()),-1)
October 26, 2012 at 8:47 am
Often, small tables are used as foreign key lookups.
In that case, I prefer an surrogate integer clustered primary key to minimize the amount of space required in the child tables.
October 24, 2012 at 4:28 pm
RVO (10/24/2012)
Why it has to be acceptable for all applications to be down at the same time? What if we move databases slowly, one by one,...
October 24, 2012 at 4:15 pm
Small text columns over two characters in length should almost aways be varchar instead of char.
The only exception would be when you are absolutely sure that every value will be...
October 24, 2012 at 1:08 pm
Another thing to consider is available downtime maintenance windows for each application. Unless there is a time slot where it is acceptable for all the applications to be down...
October 24, 2012 at 1:05 pm
My preferred strategy has always been to make a nightly full backup and transaction log backups every 15 minutes, 24x7. Backup the system databases daily. I usually don’t...
October 17, 2012 at 1:56 pm
Steve, I think you really need to post some pictures of you in your Rock Star days.
October 16, 2012 at 9:37 am
jackimo (10/12/2012)
October 12, 2012 at 9:09 am
ericwenger1 (10/12/2012)
...Can anyone give me more ammunition that what I've stated about? My manager told me that at his old
company they shrinked the database on a weekly basis and they...
October 12, 2012 at 8:48 am
Viewing 15 posts - 406 through 420 (of 3,011 total)