Forum Replies Created

Viewing 15 posts - 26,101 through 26,115 (of 49,552 total)

  • RE: log_reuse_wait_desc in a 2000 database in 2005?

    jpSQLDude (5/16/2011)


    Thanks Gail -- I went back to that server, hit F5, and log_reuse_wait_desc now returns NOTHING. That makes no sense! But "working" means I can move on to other...

    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: log_reuse_wait_desc in a 2000 database in 2005?

    Ninja's_RGR'us (5/16/2011)


    ALTER DATABASE [PROD] SET RECOVERY SIMPLE WITH NO_WAIT

    GO

    ALTER DATABASE [PROD] SET RECOVERY SIMPLE

    GO

    No need for the No_Wait keyword. That's used with database setting changes that require exclusive access...

    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: SQL Server Database Setup

    No locks are needed.

    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: Constraints Check

    There's no need for a constraint on the int column.

    Int columns only accept numeric data, someone tries to insert character data and you'll get a type conversion error long...

    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: log_reuse_wait_desc in a 2000 database in 2005?

    Sure it was the same DB? (seen that and done that before)

    Log backup in code or GUI? If code, what command? If GUI, what options?

    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: log_reuse_wait_desc in a 2000 database in 2005?

    jpSQLDude (5/16/2011)


    So I backed up the database (truncated the log), did DBCC SHRINKFILE against the log file, checked my VLFs with DBCC LOGINFO, etc, but log_reuse_wait_desc kept on returning LOG_BACKUP.

    Backing...

    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: log_reuse_wait_desc in a 2000 database in 2005?

    A database attached to SQL 2005 is a SQL 2005 database in every sense of the word.

    All the compat level does is tell the query execution engine what T-SQL constructs...

    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: Database Growing Suddenly

    SKYBVI (5/16/2011)


    Ninja's_RGR'us (5/16/2011)


    #1 culprit is reindex job

    I had the impression that reindex jobs increase the size of log file (ldf) not the data file(mdf)

    Rebuild can increase both. The log because...

    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: Migration From MSSQL 2008 to MSSQL 2008R2

    azhar.iqbal499 (5/16/2011)


    My another Question is

    We have data file of size 7.5 GB then what should be the ideal size of Log file.

    No way to tell. Depends on activity, interval...

    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: Cannot install SQL 2008 Cluster on Domain Controller - Please Help

    Ed Dasig (5/16/2011)


    Actually I used VMware and StarWind for storage simulation, I’ve created 2Nodes included the DC a total of 3 machines.

    Anyway I will try your advised using 4...

    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: Database Growing Suddenly

    naresh.talla (5/16/2011)


    in my job

    step 1-- re indexing

    EXEC sp_msForEachTable @COMMAND1= 'DBCC DBREINDEX ( "?")'

    DBCC DBREINDEX is deprecated, should not be used for new development, will be removed in a...

    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: Migration From MSSQL 2008 to MSSQL 2008R2

    azhar.iqbal499 (5/16/2011)


    Thanks Gail,

    How can we bring the log file back to normal size b/c we have no log backup.

    Database properties and change the file size. If the DB is...

    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: Cannot install SQL 2008 Cluster on Domain Controller - Please Help

    Yes, as I said, if there's a pre-install rule that says it cannot be done, then I highly doubt there's any way to trick SQL into installing.

    I know a lot...

    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: SelectQuery

    And LoggedDT will always be passed? Does it have a time or is it just a date? What about the column in the table?

    Why are partial usernames getting passed?

    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: SelectQuery

    You're not giving enough info for anyone to help you. Explain what you are trying to do, we can't read your mind.

    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 - 26,101 through 26,115 (of 49,552 total)