Forum Replies Created

Viewing 15 posts - 1,771 through 1,785 (of 2,898 total)

  • RE: Mostly Used Tables

    Remember that the values returned from sys.dm_db_index_usage_stats are only accurate since the last SQL restart because they get reset to 0:

    From BOL

    "... The counters are initialized to empty whenever...

  • RE: How to roll back the DB

    You really need to "roll forward" from a full backup.

    You need the most recent FULL backup from before the 17th. The you need the most recent differential before the "problem",...

  • RE: Script to restore red gate backups automatically from a folder.

    Maybe a script like this would help you find the most recent backup and it's path:

    select top 1 bset.database_name, bset.Type, media.physical_device_name, backup_start_date

    from msdb.dbo.backupset bset

    join msdb.dbo.backupmediafamily as...

  • RE: Index fragmentation

    Jeffrey Williams-493691 (10/16/2009)


    homebrew01 (10/16/2009)


    ItalianOlgi (10/16/2009)


    Hello,

    I have question:

    What is index fragmentation? Why is important to keep it at or below 20%?

    Indexes should be below 10%. Once they reach 10%, they are...

  • RE: Index fragmentation

    ItalianOlgi (10/16/2009)


    Hello,

    I have question:

    What is index fragmentation? Why is important to keep it at or below 20%?

    Indexes should be below 10%. Once they reach 10%, they are now using 2...

  • RE: Who Deleted the Records ?

    Will ApexSQL Log Reader work with RedGate backups ? I installed it, and got to the point of entering backup file names but got an error "sys.sysrowsets table could...

  • RE: Who Deleted the Records ?

    Would this work :

    I set on a trace on the database, then do a restore and go past the delete step. Would the trace show the deletes ?? Would...

  • RE: "Primary " filegroup is full HELP

    perhaps the data plus tempdb is greater than the free space. It can help to set the batch size of imports in DTS.

  • RE: "Primary " filegroup is full HELP

    Anything useful in SQL or Windows error logs ? Any chance the disk was full at the time, but has free space now ?

  • RE: "Primary " filegroup is full HELP

    Is the physical hard drive full ?

    You fix it by freeing up space. Either non-SQL files on the drive, or shrinking Log or Data files on that drive. Shrinking is...

  • RE: No Private key with SSL certificate on SQL Server 2005

    He told me it needed to be in the trusted root .... but get another opinion in case I'm wrong.

  • RE: No Private key with SSL certificate on SQL Server 2005

    I think we had a similar problem recently. I asked someone here and he said a few problems were caused by

    not using the fully qualified domain name; having it in...

  • RE: Script to restore red gate backups automatically from a folder.

    I've done it by putting the regular restore script into a job, with additional steps to fix the logins. In my case, the backup file had the same name each...

  • RE: When is [With Replace] used

    Small snippet from BOL:

    "...Specifies that SQL Server should create the specified database and its related files even if another database already exists with the same name. In such a case,...

  • RE: Automation of backup of table with index

    I scheduled a nightly restore to a test system a while back:

    1) Backup to a drive (scheduled)

    2) Batch file to copy .BAK to destination server (Step 2 of backup)

    3) Destination...

Viewing 15 posts - 1,771 through 1,785 (of 2,898 total)