Forum Replies Created

Viewing 15 posts - 12,631 through 12,645 (of 49,552 total)

  • RE: Need Help:Error log

    Call Product Support and open a case, you're getting SQL dumping stack dumps, this is potentially a severe problem.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: I'm infecting my children :-)

    Yes! Get them young, indoctrinate them early. 😀

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: table corruption

    Please post the full, complete and unedited output of the following.

    DBCC CheckDB(<database name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    Do you have a clean backup?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: backup

    Krishna1 (6/20/2013)


    Dear Gail

    Thank with the script given it working fine. I was trying through SSMS and it was creating the issue. Dont know whats going wrong when i try it...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Automating the SQL Profiler

    nivedita talukdar (6/20/2013)


    Had checked the rollover option as it is by default but no use...job still fails..

    Yes, it will. The rollover's not for restarting the job, it's for running the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: table corruption

    Could also maybe see error 605

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: RESTORE DATABASE is terminating abnormally.

    You don't need to create a database before restoring a backup. Just do the restore don't waste time creating a DB just to over write it.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: backup

    CREATE DATABASE TestingRecoveryModel

    GO

    ALTER DATABASE TestingRecoveryModel SET RECOVERY SIMPLE

    GO

    BACKUP DATABASE TestingRecoveryModel TO DISK = 'C:\Databases\Backups\Testing.bak'

    GO

    USE TestingRecoveryModel

    GO

    create table a ( a1 char(1000) default 'a1',

    a2 char(1000) default 'a2',

    a3 char(1000) default 'a3',

    a4 char(1000)...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: backup

    Krishna1 (6/20/2013)


    Sorry what i meant was "How to check active transaction?" (not log :))

    DBCC OPENTRAN

    Also checked the log_reuse_wait_desc (select name, recovery_model_desc, log_reuse_wait_desc,* from sys.databases where name in( ..)) it...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: RESTORE DATABASE is terminating abnormally.

    Either the backup is damaged or the network returned incorrect data for the backup.

    Try getting a fresh backup, copying it local and restoring again

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Truncate statement

    Yes, and it's trivial to test and prove.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Using the same partition function and scheme for multiple tables

    Yusuf Ali Bhiwandiwala (6/20/2013)


    Thanks Gail for your reply, but what do you think about partitition elimination for performance benefit?

    Fine, when it works and when it's better than what the optimiser...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Automating the SQL Profiler

    Hang on...

    If you need to audit 24/7/365, why are you running the trace every 5 minutes? Set a larger file size, set a rollover (BoL will show you how to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: backup

    What do you mean by 'active transaction log'? There's always a portion of the log that's active.

    If you want to check log behaviour:

    Create one database switch it to simple recovery...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: backup

    That means you just switched to simple and a checkpoint hasn't occurred. The wait types don't change instantly, run a checkpoint and the Log Backup will disappear.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 12,631 through 12,645 (of 49,552 total)