Forum Replies Created

Viewing 15 posts - 7,681 through 7,695 (of 49,552 total)

  • RE: High VLF count

    Loads, no.

    VLFs affect things which read the log. Restores, database recovery, that kind of thing.

    The 10% growth is the problem here. You should have fixed intervals for growth, 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: How to reduce HIGH CPU LOAD 98 % (urgent)

    There's a reason Grant and I both recommend using traces or extended events....

    The query which you decided to use instead only shows currently executing queries, which is near useless if...

    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 create an optimized index?

    http://www.sqlservercentral.com/articles/Indexing/68439/

    http://www.sqlservercentral.com/articles/Indexing/68563/

    http://www.sqlservercentral.com/articles/Indexing/68636/

    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: Clustered Index or Heap?

    All tables, almost without exception, should have a well-chosen clustered index.

    http://www.sqlservercentral.com/articles/Indexing/68563/

    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: Interview questions

    Fair collection of questions. So what were your answers to them?

    When you researched them after the interview, did you come up with anything that you're not sure you understand...

    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: information about modification of sql object

    Vimal Lohani (9/25/2014)


    Can't we get that from logs.

    No.

    Is there any query??

    No.

    If it's not in the default trace, you haven't set up auditing and you aren't using source control, you cannot...

    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: information about modification of sql object

    You can look in the default trace, but it only keeps a short amount of history, 5 files of 20MB. Other than that, unless you have some DDL auditing, no.

    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: restore without replace still overwrites databases !

    waeva (9/25/2014)


    Andrew - It is a different server however - backup taken on PRODUCTION, while restore done on TEST

    but the logical & physical & database names are exactly same.

    It's 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: Single Query to Update same column name in different tables with where condition

    HanShi (9/25/2014)


    The only way to update multiple tables in a single statement is when you create a view over these tables and use the option WITH SCHEMABINDING. Then you are...

    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: Performance difference between search int vs varchar

    amns (9/25/2014)


    Performance results for several options:

    declare @int int = 123;

    select column1,column2 from table where colInt = @int

    (1 row(s) affected)

    logical reads 7

    SQL Server Execution Times:

    CPU 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: Sql Server 2008 backup and transaction log backup

    ying.wang (9/24/2014)


    I have realized that when I do full backup, only inactive logical log file are cleared and active logical log file is still intact

    No!

    Full backup does not clear...

    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: Performance difference between search int vs varchar

    SQLRNNR (9/24/2014)


    And one more test for performance.

    declare @string varchar(50) = 123;

    select column1,column2 from table where colString = @string

    This should cause an implicit conversion and wouldn't be far fetched when somebody...

    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 reduce HIGH CPU LOAD 98 % (urgent)

    If you're going to look at waits, you have to filter out the benign waits. All but one of the ones you've mentioned should be ignored. See Jonathan Keyhaius's blog...

    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 ?

    patelchandresh330 80387 (9/25/2014)


    huge amount of data page scanning and logical reads happen by this procedure..

    Then you probably want to focus on tuning the procedure so that it doesn't need 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: Corrupted innodb table crashing mysql instance how to recover table?

    This is a Microsoft SQL Server forum, we're not in general MySQL people here. Maybe try asking this over at http://forums.mysql.com/?

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