Forum Replies Created

Viewing 15 posts - 18,376 through 18,390 (of 49,552 total)

  • RE: Where are the good Senior Level DBA's?

    Jeff Moden (5/29/2012)


    You do realize how wrong durations in SET STATISTICS can be, right?

    The durations show by statistics time are 'correct'. They may not show what people think, but they...

    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 upgrade

    SQLKnowItAll (5/29/2012)


    What exactly are you referring to as "upgraded?" For example, when I restore a 2005 database to 2008, it will have a compatibility of 90 (2005) unless I change...

    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: Rename badly named index

    Drop the index and recreate it.

    Edit, forgot there was an sp_rename for indexes. That's probably better.

    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: Set a DB as the "Active" DB

    No such concept as 'active' database.

    For objects in your connection's current database you don't need to specify the database name. For objects from another, then it does need to specify...

    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: Limiting the records?

    Charmer (5/29/2012)


    i googled for checking 'update top' command....but it is like "update top 100 table set column = value "...

    Yup, that's the command.

    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: Limiting the records?

    I did see your previous post, and I would still recommend you look at something like UPDATE (TOP ... if you can. First though, check indexes make sure that 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: Proc Optimization

    If it's a particular time of day, not a particular set of parameters, chedck what's running at that time and log what the query in question is waiting for.

    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: Limiting the records?

    No, a cursor is not likely to be good, neither is a while loop. What exactly are you trying to do? Iterative processing is typically slower than set-based in 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: Issue with SQL server using very inefficient query plan

    Could you post the execution plan please?

    Leading wildcard means SQL can't seek on an index. It can scan.

    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?

    From when I worked at the bank...

    Devs getting sysadmin on the shared development server - no. Db_owner on their databases, yes. Alter trace permissions, yes. DB_creator for some, yes. Not...

    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: Do we need separate drive for Page file for SQL Server 2008 R2?

    Perry Whittle (5/29/2012)


    GilaMonster (5/29/2012)


    The reason being that a properly tuned SQL Server should never be using the page file at all

    While this is true, if you have SQL Server sucking...

    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: Proc Optimization

    Can't be parameter sniffing, cause of the with recompile.

    Please don't just slam a maxdop on without investigating carefully.

    Can you post estimated plan of the parameter values that run 'forever' 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: What is the usage of Active\Active clustering?

    No, that's not what I said. What you're describing is a single instance cluster (what used to be called active-passive)

    In a multi-instance cluster there are multiple instances of SQL, each...

    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: Proc Optimization

    Is it getting blocked?

    Is that specific combination of parameters likely to return more rows than the others?

    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: What is the usage of Active\Active clustering?

    Don't call it active-active, that's a old term. These days it's called 'multi-instance clustering' (because 2 node clusters aren't the only ones you can have anymore).

    What 'active-active' means is 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

Viewing 15 posts - 18,376 through 18,390 (of 49,552 total)