Forum Replies Created

Viewing 15 posts - 48,346 through 48,360 (of 49,552 total)

  • RE: MCITP

    You need 2 exams. The Technical specialist for SQL 2005 (70-431) and then the MCDBA upgrade exam 70-447. Those 2 will get you your ITP (Database Admin)

    There's no upgrade path...

    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 size wont go down

    Is the DB in full or bulk-logged recovery mode?

    If so, do you have log backups runnng? If you're in full recovery mode and have no log backups, the log will...

    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: System Performance - High CPU utilization--> SQLSRV.exe

    Matt Miller (10/22/2007)


    ...with fill factor @ 100%.

    No. With any fill factor. Of course, the lower the fill factor the more out of order inserts you can have without...

    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_variant

    Oh no! The one table to rule them all design. If I were you, I'd start running now. This database 'design' tends to crop up again and again in tales...

    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: Subquery as column in query, then re-used in another column?

    Move the subquery into the from clause, so you can reference it as if it was another table. You'll likely get better performance too.

    SELECT ... FROM Table1 INNER JOIN (SELECT...

    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 can I install 'Database Engine Tuning Advisor' with SQL Server 2005 Express ?

    I may be wrong, but I think it only comes with the non-free versions of SQL server.

    What you may like to do, if you're serious about SQL is buy...

    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: Memory error in 32 bit sql server 2005

    Edit: Never mind, I'm talking garbage

    Since you have AWE enabled, that's not the issue.

    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

    You need to patch SQL to SP2 or later for it to run on Vista

    Download SQL Express. You should be able to fid it pre-patched. That's enough to play around...

    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: System Performance - High CPU utilization--> SQLSRV.exe

    If your clustered index is on a column that doesn't increment (identity, date inserted) then inserts cause page splits. Page splits cause increased IOs and index fragmentation. Fragmentation causes slower...

    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: Returning rows in one table based on rows not in another table

    Yup. That's pretty much the same query expressed a different way. The IS NULL check needs to be left out, or you'll get no records as you've reversed the logic...

    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: Preventing Page Locks

    Ian Harris (10/19/2007)


    Am I correct in believing that on the whole it is better to let the SQL Server work out how to apply locks?

    In my opinion, 100% correct. My...

    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: CMemThread waits

    Right, lots of querying, searching and reading later...

    The Practical Troubleshooting Guide (edited by Ken Henderson) pointed me at the cache counters and cache entries DMVs. The top 3 cache stores,...

    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: CMemThread waits

    Thanks. Looking into the output of the DBCC.

    Interesting thing checking perfmon. The private bytes for the SQL process is climbing constantly, as is the working set. However, target and...

    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: covert text datatype to

    Change it to VARCHAR(max) . That's the 2005 replacement to TEXT

    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: Returning rows in one table based on rows not in another table

    Apoogies for the delay.

    Give this a try

    SELECT * FROM StockCount LEFT OUTER JOIN

    ( SELECT CountID FROM FunctionStock

    WHERE @FunctionStartDate BETWEEN StartDate AND EndDate OR @FunctionEndDate BETWEEN StartDate AND EndDate...

    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 - 48,346 through 48,360 (of 49,552 total)