Forum Replies Created

Viewing 15 posts - 7,711 through 7,725 (of 49,552 total)

  • RE: Using isnull in where filter

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    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: Premature Optimisation

    Thanks everyone. I was expecting massive disagreements, lots of shouting and insults. Pleasant surprise.

    Davos, I would argue that you can approach performance tuning scientifically. No, it doesn't boil down 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: Optimise procedure sql server 2008

    ashvindevil (9/23/2014)


    I do not know why nolock hint has been used. Accurate result? What alternative do you propose?

    Not using nolock? It's not a go-faster switch. It's a trade off 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: Fragementation Still Same after reindex

    santoshkal (9/23/2014)


    Its around 82 pages

    Way too small to even bother trying to defragment.

    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: Log File Growth

    santoshkal (9/23/2014)


    One of the database log file is having only 12% space free which is in full recovery model but when i exec dbcc sqlperf(logspace) its shows 1.87% only used...

    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: certificate problem for restoring a database even if no database or backup encryption

    Perry Whittle (9/23/2014)


    Steve Jones - SSC Editor (9/6/2014)


    I assume this is TDE, correct?

    No, the OP is using encrypted backups in 2014, it's a new feature

    Where do you see that? OP...

    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: Optimise procedure sql server 2008

    Neither.

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    And why the nolock hint? Is accurate results not required from this query?

    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 Encryption in SQL Server 2012

    jacksonandrew321 (9/23/2014)


    If I have to do encryption at object level then how can I proceed? Is it possible. Only I understand about the encryption is of theoretical.

    There's no encryption 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: Taking More Time to execute then the previous

    No, traceflag 1222 won't have noticable impact. But all that traceflag does is write deadlock graphs to the error log. Are you having deadlocks (batches failing with error 1205)?

    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 reduce time to generate execution plan and store into cache when Stored procedure execute first time ?

    The delay on first execution is unlikely to be the execution plan. Far more likely to be loading the data into cache. Plans just don't usually take that much time...

    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: Taking More Time to execute then the previous

    Please don't cross post. It just wastes people's time and fragments replies.

    No replies to this thread please. Replies to http://www.sqlservercentral.com/Forums/Topic1618612-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: Database Encryption in SQL Server 2012

    jacksonandrew321 (9/23/2014)


    I mean if it is encrypted then it should ask for decryption while I used to open my database.

    That's not what transparent database encryption does.

    TDE protects the data...

    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: Error on Join w/ Multiple Tables: Syntax Problem?

    You're missing the ON clauses.

    FROM [BudgetFormulation].[dbo].[ObjectClass] obj

    Left Join [BudgetFormulation].[dbo].[DIMObject] dobj ON <join condition>

    Left Join [BudgetFormulation].[dbo].[DIMSTA] dsta ON <join condition>

    And please, if you're going 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: SELECT HOST_NAME() in a stored procedure called from C++ program is returning spaces

    Check the connection string which the C++ app is using. The host name can be specified in the connection string.

    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 user password hash algorithm and salt value

    GilaMonster (9/22/2014)


    The algorithm used for SQL logins isn't documented.

    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 - 7,711 through 7,725 (of 49,552 total)