Viewing 15 posts - 4,741 through 4,755 (of 7,496 total)
Run the same script again in one month.
If that results in '%_obsolete_obsolete' tables, that would mean it hasn't been used for a month, so maybe good candidate for cleanup.
June 30, 2008 at 12:04 am
use enterprise manager, double click the job, (i.e. rightclick job, properties)
Alter the jobowner.
For backup jobs, we prefer using sa as jobowner to avoid all issues with windows accounts. (a...
June 28, 2008 at 12:51 am
Keep in mind :
(from BOL)
The recovery interval option does not affect the time it takes to undo long-running transactions. For example, if a long-running transaction takes two hours to perform...
June 28, 2008 at 12:47 am
Maybe you can use this:
dbcc checkdb (yourdb) WITH ALL_ERRORMSGS, DATA_PURITY
BOL says
DATA_PURITY
Causes DBCC CHECKDB to check the database for column values that are not valid or out-of-range. For example, DBCC...
June 27, 2008 at 7:26 am
You restruct queries on using over a certain governer cost.
But that setting goes for _all_ queries !
EXEC sys.sp_configure N'query governor cost limit', N'300'
RECONFIGURE WITH OVERRIDE
or you can shut down parallelism...
June 27, 2008 at 6:59 am
And then there is SOx :blink: ...
Nowadays we implement a service account per service. The corresponding passwords are guid-like strings, so only usable for install using an INI file.
We...
June 27, 2008 at 6:34 am
And probably you would be better off by first renaming your tobe obsolete tables, and removing them only a couple of months later
EXEC ('if 0 = (SELECT count(*) as rowCnt...
June 27, 2008 at 12:39 am
... san vendor install technician knowledge ...
Altough most SAN vendors nowadays have their own white papers for hosting databases on their san system, many technicians just don't have a clue...
June 27, 2008 at 12:12 am
- be carefull with sysindexes, because it may have an estimate count.
- adapt your script:
e.g. like this
EXEC ('if 0 = (SELECT count(*) as rowCnt from ['+@schema+'].['+@tableName +']) drop table...
June 26, 2008 at 2:48 pm
Brad M. McGehee (6/26/2008)
June 26, 2008 at 2:38 pm
you don't. 😉
- Use datatime datatype for date or time or datetime columns.
This way you are sure valid dates are entered, and you have a bunch of datetime related...
June 26, 2008 at 5:49 am
it should be ok, as long as they fix the issues that are detected.
June 26, 2008 at 2:11 am
1) read BOL. it has very good info regarding how transaction logs work and how to backup.
2) backup log
BACKUP LOG [yourdb] TO [yourdbLogBUDevice]
WITH NOINIT , --...
June 25, 2008 at 3:22 pm
We use this:
With every backup job, we create backups to local drives (san or not), if available to a separated drive (non-data-files, non-log-files).
The last step of every backup job copies...
June 25, 2008 at 3:11 pm
Just to add to Gails remark:
this is stated in BOL topic: "alter database"
TORN_PAGE_DETECTION { ON | OFF }
ON
Incomplete pages can be detected by the Database Engine.
OFF
Incomplete pages cannot be detected...
June 25, 2008 at 8:16 am
Viewing 15 posts - 4,741 through 4,755 (of 7,496 total)