Forum Replies Created

Viewing 15 posts - 35,191 through 35,205 (of 49,552 total)

  • RE: table structure for faster result??

    You cannot have two clustered indexes.

    Can you post the queries that you're having performance problems with and their execution plans as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Looking at the indexes, they're a little weird.

    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: DBCC SHRINKDATABASE & Unable to deallocate Kept Page.

    Firstly why do you want to shrink? Databases tend to grow as more data gets put in them. It's in their nature.

    Shrinking causes massive fragmentation and will just result in...

    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: How to "Rebuild" all the indexes of all the tables in all the databases?

    Please also note that DBCC DBREINDEX is deprecated, should not be used in new development and will be removed in a future version of SQL. The replacement is ALTER INDEX...

    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: Dbcc Checkdb error

    Eswin (12/19/2009)


    Hi

    I used DBCC CHECKDB WITH ESTIMATEONLY

    and found that around 2Gb tempdb space needed to run DBCC CHECKDB.

    Then i performed DBCC CHECKDB WITH PHYSICAL_ONLY on that 300GB DB....

    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 2008 compatibility level 100

    Yes, they are. But that's database version, not compatibility level.

    A database on a SQL 2008 server is a SQL 2008 database with the SQL 2008-style statistics, the SQL 2008...

    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 2008 compatibility level 100

    TRACEY-320982 (12/19/2009)


    What is the ramifications of just doing this 80 to 90 to 100 then back again to 80.

    Absolutely none. You can change compatibility level as often as you...

    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 - More Rows or More Columns?

    Since the data will be stored for posterity, I'm going to suggest a full, normalised database design, tables that store information about single 'things', foreign key relationships, the works. Yes,...

    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: Are the posted questions getting worse?

    Jeff Moden (12/18/2009)


    Heh... we'll see what the true performance was during the "witching hours" when emails are sent, eh?

    Witching hour being the middle of my morning. I find that 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: Production Database in Suspect mode

    Yeah, that's what I said. Replace the <Database Name> with the actual name of the database (in this case Sharepoint_Config)

    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: Production Database in Suspect mode

    So it looks like a transient IO failure. I would recommend doing lots of diagnostics on that drive, or even just consider replacing it. Intermittent IO failures are not pleasant.

    Please...

    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 - More Rows or More Columns?

    I'm trying to figure out if there's a better database design here, something other than EAV or 3000 columns in a table. On order to do that, I need 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: Transactions rolled backward in Database

    Those messages show restart-recovery. They occur whenever a database is opened. If you're seeing them often in the logs it means that the db is set to auto_close or it's...

    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: Production Database in Suspect mode

    Please tell me that you have a backup of this database.

    Is that all of the errors in the error log?

    Can you check the windows event log for any disk-related...

    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: Are the posted questions getting worse?

    Grant Fritchey (12/18/2009)


    Alvin Ramard (12/18/2009)


    I don't know if I like this idea. There's already too many places for people to go ask questions.

    Got SQL Server Questions?[/url]

    Yes & no. How...

    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: Baffling performance issue

    Can you post the revised exec plan? I want to see if there are indexing opportunities.

    Just a word of warning. Scalar functions like the one that you have there are...

    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 - 35,191 through 35,205 (of 49,552 total)