Viewing 15 posts - 61 through 75 (of 1,538 total)
One important aspect of this is to identify the sequence of log backups. they must be restored in the order they were taken.
Within your script, You'll need to find out...
September 14, 2011 at 3:09 am
Let me know if i am missing something.. I assume you have a 'standby' server for the DR drill (you are not doing drill on prod right?). If you have...
September 13, 2011 at 9:00 am
schedule a log backup as soon as you can or else the log file is going to fill up the entire disk leaving the database unsuable..
Since you have never taken...
September 13, 2011 at 8:42 am
Jpotucek (9/13/2011)
September 13, 2011 at 8:13 am
This is Jeff's query and i've found it very useful. [works with 2k5 and above versions]
SELECT DB_NAME(database_id) AS DatabaseName,
CAST([Name] AS varchar(20)) AS NameofFile,
CAST(physical_name AS varchar(100)) AS PhysicalFile,
type_desc AS FileType,
((size...
September 13, 2011 at 8:09 am
pveilleux (9/13/2011)
September 13, 2011 at 8:05 am
Here is a script by Michael that will help you get exact space details from each file of a database.
select
a.FILEID,
[FILE_SIZE_MB] =
convert(decimal(12,2),round(a.size/128.000,2)),
[SPACE_USED_MB] =
convert(decimal(12,2),round(fileproperty(a.name,'SpaceUsed')/128.000,2)),
[FREE_SPACE_MB] =
convert(decimal(12,2),round((a.size-fileproperty(a.name,'SpaceUsed'))/128.000,2)) ,
NAME = left(a.NAME,15),
FILENAME = left(a.FILENAME,30)
from
dbo.sysfiles...
September 13, 2011 at 7:48 am
snapshot created by the transaction replication can be applied directly to the subscriber (bypassing distributor). I hope you wish to apply the snapshot to a subscriber which is different from...
September 10, 2011 at 6:20 pm
you can also have another job that keeps on checking the run status of this job and kills it if it exceeds the threshold. However, regular maintenance of databases are...
September 10, 2011 at 5:30 pm
sqlbanana (9/9/2011)
I'm (maybe naively) presuming that because the system databases switch between nodes, so do the settings?
System databases (just as user databases) reside on the shared storage. There is a...
September 10, 2011 at 5:22 pm
sqlnaive (9/10/2011)
So in case if tables are striped across files, will there be any downsides of moving any one of the file to some different drive ?
if a table is...
September 10, 2011 at 5:14 pm
meghna.bhargav (9/10/2011)
Can you help me to suggest various ways to reduce the size of that table?
You can purge data from the table that you no longer need to reduce...
September 10, 2011 at 5:07 pm
I agree to the comments mentioned above. However if you really need some books to enhance your existing knowledge, http://www.sqlservercentral.com/Books/ has some free downloadable books.
September 10, 2011 at 5:01 pm
if your source db had dbreader and dbowner roles for a login, those should come to the destination database as well. If the login is missing on destination server, it'd...
September 10, 2011 at 4:58 pm
yes. even in transactional replication, this is how you initiatlize the subscriber. all future modifications is read by log reader agent for the published articles.
September 10, 2011 at 4:54 pm
Viewing 15 posts - 61 through 75 (of 1,538 total)