Viewing 15 posts - 991 through 1,005 (of 3,738 total)
homebrew01 (9/9/2013)
If you're lucky , it hasn't been doing inserts the entire 22...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
September 9, 2013 at 10:07 am
Perry Whittle (8/30/2013)
just restore the 2008 R2 database to the 2012 instance and the database engine will upgrade the database for you.
Thanks.
That is what I did when I upgraded database...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
August 30, 2013 at 9:12 am
I'm still having trouble shrinking the Transaction Log.
The Transaction Log was at 22 GB.
I backed up the Transaction Log and shrank the Log and it reduced the size to 9...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 26, 2013 at 8:48 am
Steve Jones - SSC Editor (7/18/2013)
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 22, 2013 at 10:32 am
Thanks for all of the replies.
I back up the transaction log hourly.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 22, 2013 at 8:08 am
I use the WITH RECOVERY and WITH NORECOVERY quite a bit.
Recently I migrated just under 20 Databases from SQL Server 2005 and applied Full, differential and in some case Transaction...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 18, 2013 at 7:45 am
Thank you for your advice.
I may eventually apply the restore to refresh the Development Environment.
But I'm not trying to restore at this point.
Thanks.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 16, 2013 at 7:16 am
GilaMonster (7/15/2013)
Welsh Corgi (7/15/2013)
GilaMonster (7/15/2013)
What is the exact backup command that's been run?
BACKUP LOG DataWarehouse TO DISK e= N'D:\Backup\TransactionLog\Data\DataWarehouse_backup_2013_07_15_181847_8601173.trn'
WITH NOFORMAT, NOINIT,
NAME = N'DataWarehouse_backup_2013_07_15_181847_8601173',
SKIP, REWIND, NOUNLOAD,...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 15, 2013 at 5:00 pm
BACKUP LOG [DataWarehouse] TO DISK = N'D:\Backup\TransactionLog\DataWarehouse\DataWarehouse_backup_2013_07_15_182558_8596801.trn' WITH NOFORMAT, NOINIT, NAME = N'DataWarehouse_backup_2013_07_15_182558_8596801', SKIP, REWIND, NOUNLOAD, NORECOVERY , COMPRESSION, STATS = 10
GO
declare @backupSetId as int
select @backupSetId...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 15, 2013 at 4:35 pm
GilaMonster (7/15/2013)
What is the exact backup command that's been run?
BACKUP LOG DataWarehouse TO DISK e= N'D:\Backup\TransactionLog\Data\DataWarehouse_backup_2013_07_15_181847_8601173.trn' WITH NOFORMAT, NOINIT, NAME = N'DataWarehouse_backup_2013_07_15_181847_8601173', SKIP, REWIND, NOUNLOAD, NORECOVERY ,...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 15, 2013 at 4:21 pm
The transaction log for one of the Database was huge so the backup does not appear to working.
In the job history lists the job as successful and the backup file...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 15, 2013 at 8:49 am
I ran the REBUILD on the Production Server and 26 Indexes are still 100% fragmented and 112 and above 80%.
Any ideas would be greatly appreciated.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 13, 2013 at 8:20 am
After I ran the ALTER INDEX the Indexed Tables dropped below 1%.
Could it be the command is more effective or the I ran a REINDEX/REBUILD twice?
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 12, 2013 at 2:01 pm
I was thinking of using Dave Pinal's script to rebuild the Indexes:
DECLARE @TableName VARCHAR(255)
DECLARE @sql NVARCHAR(500)
DECLARE @fillfactor INT
SET @fillfactor = 80
DECLARE TableCursor CURSOR FOR
SELECT OBJECT_SCHEMA_NAME([object_id])+'.'+name AS TableName
FROM sys.tables
OPEN TableCursor
FETCH NEXT...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 12, 2013 at 1:49 pm
For instance I have a job that basically stops loading records. If I kill it it messes up the data if I do not let it finish because of the...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 10, 2013 at 6:21 am
Viewing 15 posts - 991 through 1,005 (of 3,738 total)