Viewing 15 posts - 3,751 through 3,765 (of 6,676 total)
Right-click on the msdb database in Object Explorer. Select Reports, Standard Reports and the report Disk Usage by Table.
See if you can identify the table taking up the space...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 1, 2010 at 2:00 pm
Guarav answered the question quite well - if you still need help with that, let us know.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 1, 2010 at 7:10 am
No - you don't need a device. Just like the normal restore command you need to use the disk parameter.
Restore ... with disk = '...'
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 10:02 pm
Try the restore filelistonly on the backup file. It will be something like 'AdventureWorksDW' for the data file and 'AdventureWorksDW_log' for the log file.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 9:33 pm
Yes - you need to specify the logical file name, not the physical name. You can get those using:
Select * from sys.database_files
Or
Restore filelistonly
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 8:13 pm
The error is telling you that it cannot find the backup file you have specified. Validate the backup file actually exists where you think it does and the name...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 11:36 am
rahul_dhar (5/31/2010)
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 11:06 am
Yes, the replace option exists because SQL Server still knows about the database. When the system was restarted, the database would show up as suspect in this scenario.
If you...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 11:01 am
It's really not an issue using WITH INIT/NOINIT - it's the reuse of the same file name. It's fairly trivial to generate a file name based upon a date...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 10:44 am
No, if you are going to remove (or disable, which I prefer) the BUILTIN\Administrators group you need to provide the user(s) running the services privileges in SQL Server.
In SQL Server...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 10:26 am
It is possible if you use Powershell and SMO - where you have access to that default value. You can build a script to loop through each database and...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 9:51 am
If you are using this for a drop-down, I would recommend having two columns. The first column will be the item value, the second column will be the item...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 9:49 am
When Gail stated that you should back up to individual files, one of the things this does is makes sure you don't do this:
-- Back up the AdventureWorksDW transaction log
BACKUP...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 9:40 am
How often are you backing up the transaction log?
Review the article I link to in my signature about maintaining transaction logs - it will help you understand what you need...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 31, 2010 at 9:31 am
Paul is correct - I get lazy and don't specify the object type all the time.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
May 29, 2010 at 12:29 pm
Viewing 15 posts - 3,751 through 3,765 (of 6,676 total)