Forum Replies Created

Viewing 15 posts - 23,776 through 23,790 (of 49,552 total)

  • RE: PK - clustered Index

    You can't remove the index enforcing the primary key constraint without removing the primary key. That may not be a good idea.

    Whether that's the best place for the clustered index...

    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: Recovery Models

    paul.knibbs (9/1/2011)


    I'm still not sure this offers a major advantage! You're just moving the 50Gb of disk space usage from one place to another.

    The log backup if you'd done 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: Recovery Models

    paul.knibbs (9/1/2011)


    Nice article, but it just reinforces a query I've had for a while: why does bulk-logged recovery mode even exist? It has some hefty downsides compared to full recovery,...

    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: Recovery Models

    David.Poole (9/1/2011)


    I believe that it isn't simply a case of truncating on checkpoint for simple mode. I could be wrong but I thought it was a case of the truncation...

    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 information regarding Indexes

    tfifield (8/31/2011)


    If you really need all columns returned, then by all means use SELECT *.

    Even if every single one really is needed, they should still be explicitly named. Tomorrow some...

    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 information regarding Indexes

    sam-1083699 (8/29/2011)


    I need to select all columns so you suggest me to write a select statement with all columns instead of select * ??

    Yes. Select the absolute minimum 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: 2005SQL on Windows 7 (again!)

    fflores 21886 (8/31/2011)


    Thank you for responding so quickly! 🙂

    I had only one left license left so I thought to use it. What other version I can use that I don'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: log shipping from SQL 2000 to SQL 2008 in order to keep the tow databases in sync

    You can log ship 2000 - 2008, but the secondary database will be in the restoring state and will be completely inaccessible.

    Perhaps replication is more what you need (but replicating...

    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: Simple recovery mode transaction log file....

    Yes. See tomorrow's headline article.

    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 Inventory

    SQLRNNR (8/31/2011)


    Those databases if not maintained can pose a risk and threat to your entire environment.

    Yup. Sooner or later some senior manager's going to come storming to you screaming that...

    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: 2005SQL on Windows 7 (again!)

    Why standard edition? Unless you have an MSDN subscription, you will have to pay licensing on that and Standard edition isn't cheap.

    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 Inventory

    Patch levels and associated vulnerabilities.

    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: if there is a composite index on three fields, but a query only uses one is the index used?

    xgcmcbain (8/31/2011)


    lets say there is a composite index on firstname, lastname, and companyid

    but i have a query that just has companyid in the where clause

    is a separate companyid index required?

    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: Attempting to Convert from SS2K to SS2K8 -- Having problem changing Compatibility

    What version of SQL is that on, the 2000 or the 2008?

    SELECT @@version?

    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: deadlock-why select hold an updlock?

    Please post the entire deadlock graph in its XML format

    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 - 23,776 through 23,790 (of 49,552 total)