Forum Replies Created

Viewing 15 posts - 8,581 through 8,595 (of 49,552 total)

  • RE: Return Count

    What does the procedure do? Can you post code?

    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: Help for a brand new beginner in mySQL

    May I suggest you post mySQL questions on a mySQL site (like http://forums.mysql.com/). This site is specifically for Microsoft SQL Server.

    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: And then today this happened...

    What exactly is wrong with updating a column to NULL?

    The Nolock hint will be ignored since it's on the target table for an update (that should be documented 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 take the backup of 700gb with less time

    Before you go the filegroup route.... The DB needs to be in full recovery and you need log backups covering the range from the oldest read-write filegroup backup to 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: How to repair backup of .mdf file database?

    Do you have a clean backup of the MSDB database?

    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: Task manager of SQL box shows 100% memory usage but it is not actually used..

    S_Kumar_S (6/29/2014)


    I have already tried disk queue length, processor time, disk read and write, peges/sec etc...

    Well.... those are interesting choices of counters. Do you know how (or how not) 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: snapshot isolation

    The answer to both of those is 'test it'

    Read committed snapshot can be very useful, you have to test and make sure that the overhead on TempDB isn't too bad....

    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 add an Identity(autocounter) integer field (as Primary key)as first column of a SQL View

    Views can't have primary keys.

    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: Need help on sp they will fire me from job

    We're not here to do your job for you. If you're going to miss a deadline, tell your manager beforehand that you're behind. If you don't know T-SQL, then make...

    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: Stored Procedure Performance

    I suspect not that much can be done while all those REPLACE and TRIM functions are needed in the WHERE clause. Is the data really that messy?

    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: Reg execution time of query

    Grant Fritchey (6/27/2014)


    You have a MIN without an ORDER BY. That can lead to bad data

    How? Top without an order by I can see, MIN (the minimum value) should...

    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: Need help on sp they will fire me from job

    Duplicate thread, please stick to a single thread per question: http://www.sqlservercentral.com/Forums/Topic1586319-391-1.aspx

    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: Task manager of SQL box shows 100% memory usage but it is not actually used..

    The total memory should be fine, but to be sure rather use Perfmon. Available MB for free memory, SQL's Total Server Memory for what it's using

    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: Execution Plan

    The optimiser estimated that the operator in question would execute 200 times during the course of the query's execution. It's an estimation.

    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: Task manager of SQL box shows 100% memory usage but it is not actually used..

    Don't use Task Manager to check SQL Server's memory usage, it can show incorrect values.

    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 - 8,581 through 8,595 (of 49,552 total)