Forum Replies Created

Viewing 15 posts - 12,706 through 12,720 (of 49,552 total)

  • RE: SOS DB In-Recovery

    tinausa (6/18/2013)


    The database is in use.

    You cannot be connected to the database you're restoring into.

    USE MASTER

    GO

    RESTORE DATABASE ....

    and make sure that you don't have another window connecting to that...

  • RE: SOS DB In-Recovery

    If you're absolutely certain that you can restore from backups, stop the instance, delete the files, start SQL Server, restore from backup.

    Make sure you can restore first!

  • RE: ldf file size

    ryan.mcatee (6/18/2013)


    In simple recovery mode, when you take a full backup, I believe the log file is backed up and truncated.

    No.

    In simple recovery model a checkpoint will truncate the log....

  • RE: SOS DB In-Recovery

    Then drop it and restore, if you're certain it'll be faster and you have all the necessary backups to restore with no data loss.

  • RE: Partitioning in SQL Server 2008

    Sai Viswanath (6/18/2013)


    Hi Gail,

    Simple he wants to improve performance (as told by the development team).

    Then suggest to him that tuning the queries is the appropriate path as partitioning is...

  • RE: page life expectancy

    HildaJ (6/18/2013)


    because their memory space is not being utilized to frequently and there's no need to flush it because no new pages are being created, the cache is being used....

  • RE: SOS DB In-Recovery

    The database state (from sys.databases) is RECOVERING?

    If so, wait. There's nothing that you can do to magically bring it out of recovering, the recovery process must complete.

    The progress of the...

  • RE: Restroing DB to multiple files

    Not possible. A restore recreates the DB as it was at the time of backup. If the database that was backed up had one data file then the restored database...

  • RE: Partitioning in SQL Server 2008

    Sai Viswanath (6/18/2013)


    My client is hell bent to have the partitioning concept implemented, reason he got his db's migrated from SQL 2K to 2K8 and wanted to implement the features.

    Why?...

  • RE: Cleaning the cache for a Query.

    T.Ashish (6/18/2013)


    Do we have any way to clean cache of a particular query without affecting cache of other queries?

    Why do you want to?

  • RE: When compressing a DB, will it cause growth first?

    If you have two log files, SQL will fill the first then fill the second, then go back to the first (if there's free space in it)

  • RE: Partitioning in SQL Server 2008

    Jason-299789 (6/18/2013)


    If you are adding a partition to the table or spliting a table into partitions that have data already, then you might want to run a DBCC to check...

  • RE: Move a 2008 database to a new machine on 2008R2

    SQLSACT (6/18/2013)


    As for restoring backwards (restoring a database from a newer version to an older one) is not supported. I think it is possible but not pretty.

    It's not that it's...

  • RE: Move a 2008 database to a new machine on 2008R2

    Backup, copy, restore. Nothing different.

    2008 and 2008 R2 have the same compatibility level - 100.

  • RE: Will View Increase the Performance of a query?

    Ananth@Sql (6/18/2013)


    If it is Materialised then i thought it will defenetly increase the performance.

    I wouldn't say 'definitely'. Depends on what the query does, what the view is and what's making...

Viewing 15 posts - 12,706 through 12,720 (of 49,552 total)