Forum Replies Created

Viewing 15 posts - 39,301 through 39,315 (of 49,552 total)

  • RE: Restoring SQL 2008 to SQL 2005

    There's no way to downgrade database versions. A DB on SQL 2008 has a slightly different file structure and different system tables, and that's regardless of the compatibility level. SQL...

    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: Transaction Log grows to much / Recovery Model Simple

    tobe_ha (5/5/2009)


    Is there a History where I can see, what recovery models were set in the past?

    It doesn't appear to be stored in the default trace (I just checked), so,...

    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: Transaction Log grows to much / Recovery Model Simple

    Paul White (5/5/2009)


    Tobias,

    It might be that the SSIS package is running the whole thing in a transaction; however the SELECT...INTO will be bulk-logged if the database is set to Simple,...

    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: Lost model.bak from system database

    Can you explain more? model.bak would be a backup file and it is in no way necessary for SQL's operation. the Model database, consisting od Model.mdf and Model.ldf are.

    Does 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: Transaction Log grows to much / Recovery Model Simple

    Probably SSIS is running all of them in a transaction, which means that the log cannot truncate until the commit occurs. If that's the case, you won't be able 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: TIMEOUT error (client thinks it's SQL Server)

    michael vessey (5/5/2009)


    from experience RPC starting is required if the Command timeout occurs and the command is killed before any results (even the 1st row) is returned.

    Shouldn't be. I did...

    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: Give me a strong Solution?

    These might help you a bit. They're purely on indexing, not rewriting bad code.

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    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: Problem with XML code

    I found that replacing the < and > with &lt; and &gt; removes the closing tags, but that's not fun to do.

    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: Filtered index with IS NULL predicate

    Jeff Moden (5/4/2009)


    I'm not sure how creating a filtered index on the Department column can be considered as a covering index on this query... it's still just an index on...

    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: Cached query plans - getting parameter values for which a specific plan was compiled

    Marios Philippopoulos (5/4/2009)


    It's odd, this proc is taking 3 input params, I just don't see why this portion is not listed.

    Not sure either. I just hauled a plan out of...

    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: Lazy Writes / sec

    Use Perfmon (Windows performance monitor). Under SQL Server:Buffer Manager there's a counter for Lazy writes/sec

    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: Cached query plans - getting parameter values for which a specific plan was compiled

    Don't suppose you can post the exec plan for the proc you're struggling with?

    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: Cached query plans - getting parameter values for which a specific plan was compiled

    Then that query had no parameters. Either it had variables or constants that weren't auto parameterised.

    Those lines should be right at the bottom of the xml, just a couple lines...

    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: Cached query plans - getting parameter values for which a specific plan was compiled

    It's in the XML. Right at the bottom you'll find two lines like this.

    <ParameterList>

    <ColumnReference Column="@PageNo" ParameterCompiledValue="(2)" ParameterRuntimeValue="(2)" />

    <ColumnReference Column="@ForumID" ParameterCompiledValue="(8)" ParameterRuntimeValue="(8)" />

    </ParameterList>

    If you're looking at...

    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: Deadlocks CleanCnt

    zach_john (5/4/2009)


    Forgot about joining up to partitions, thanks for the quick response, didn't i read you live in So Africa? has to be late there.

    Yup, down in SA. Post...

    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 - 39,301 through 39,315 (of 49,552 total)