Forum Replies Created

Viewing 15 posts - 9,241 through 9,255 (of 49,552 total)

  • RE: Constraint Vs Trigger

    To be honest, leave it at Char(5). It's not a huge columns, there isn't a massive waste of space if the data is smaller. Make the column char(5) in 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: PK

    gbritton1 (4/22/2014)


    Perhaps the question is more, "What is minimum number of rows threshold where a PK starts to pay off?"

    0

    Primary key is part of your table design. It's the unique...

    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: Optimization not enough

    Query, table definitions, index definitions please.

    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?

    Lynn Pettis (4/22/2014)


    ChrisM@Work (4/22/2014)


    GilaMonster (4/22/2014)


    ChrisM@Work (4/22/2014)


    And yes, every other plan the OP posted show only KeyInstn and DateEndedStandard coming out of the index seek, as you'd expect.

    Systems here won't...

    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?

    ChrisM@Work (4/22/2014)


    GilaMonster (4/22/2014)


    ChrisM@Work (4/22/2014)


    And yes, every other plan the OP posted show only KeyInstn and DateEndedStandard coming out of the index seek, as you'd expect.

    Systems here won't let me...

    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?

    ChrisM@Work (4/22/2014)


    And yes, every other plan the OP posted show only KeyInstn and DateEndedStandard coming out of the index seek, as you'd expect.

    Systems here won't let me anywhere his...

    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?

    ChrisM@Work (4/22/2014)


    The question I'm asking is here - http://www.sqlservercentral.com/Forums/FindPost1563832.aspx and the query, to save you a few moments, is this:

    select KeyInstn, MAX(dateendedstandard) DateEndedStandard

    from ObjectViews..InternalOperCBGEstimate

    where dateendedstandard <...

    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?

    ChrisM@Work (4/22/2014)


    Does anyone around here know anything about output lists from index seek operators, by any chance?

    Maybe, what do you want to know?

    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 R2 in hung state. Need help in analyzing the log.

    I get the rush, but please remember we're all volunteers here.

    With just part of the error log, really hard to answer, but the stack dump is a hint

    Non-yielding IOCP Listener

    IOCP...

    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: File and Filegroup backup components greyed out - Simple Recovery Model

    Probably is.

    Read-only filegroups in simple recovery, not read-write.

    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 R2 in hung state. Need help in analyzing the log.

    Nice error log. And???

    Perhaps some background, some details, a question, maybe a please or thank 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: File and Filegroup backup components greyed out - Simple Recovery Model

    You can take file and filegroup backups in simple recovery, however unless the file/filegroup is read only, you won't be able to restore them and bring the entire DB online....

    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: using sp_MSforeachdb that will include DB name in the output

    The row counts in sys.dm_db_partition_stats and sys.partitions are accurate. The old inaccuracies that sysindexes had don't occur. While the documentation for sys.partitions says 'approximate', the value is in fact accurate.

    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: Audit approach for performance tunning

    It's not about performance, it's about what meets your requirements.

    Option 2 will only show the last user who changed the row and won't show what they changed. If you need...

    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: DB Mirror,synchronized/restoring...)

    guaro5555 (4/20/2014)


    Thanks for jumping in, so how do I fix this issue?

    You don't, there's nothing wrong.

    The database is part of a Database Mirroring setup. It's a high availability feature...

    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 - 9,241 through 9,255 (of 49,552 total)