Forum Replies Created

Viewing 15 posts - 43,951 through 43,965 (of 49,552 total)

  • RE: Shrinking the log file

    On that one you'll have to wait until the portion of the log that's in use is at the beginning of the file. You can force that by creating 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
  • RE: urgent help needed

    sahmad43 (10/7/2008)


    ok its giving me error on any procedure I add . what could be the reason ? is the syntax wrong ?

    exec sp_addextendedproc 'ABCAD', 'FADSFADFASF'

    Server: Msg 2714, Level 16,...

    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: Shrinking the log file

    Well, there's only 3% free space in the log, so I think the first thing that we need to do is figure out why the log is full.

    Let me guess....

    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: Optimizing a Stored Procedure

    Lynn Pettis (10/7/2008)


    On very large tables, the index scan and bookmark lookup can be faster.

    You sure about that? I can see an index scan been marginally faster than...

    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 Engine Tuning Advisor

    Lynn Pettis (10/7/2008)


    I'm poor and don't have an MSDN subscription, so I pay "retail" for the developer edition.

    😎

    Oh I didn't buy an MSDN subscription. No way I could afford 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: Database Engine Tuning Advisor

    Grant Fritchey (10/7/2008)


    It's on Connect. If you want to confirm it or track it, go here.

    I would, but there seems to be a bug with connect. I can only see...

    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: Optimizing a Stored Procedure

    tendayit (10/7/2008)


    Hi,

    Users can enter a full accountid, idnumber, etc and retieve an account but they can also do partial searches where they put in a string say on the account...

    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 Engine Tuning Advisor

    Lynn Pettis (10/7/2008)


    Okay, off topic but I need to ask. Where did you purchase your copy of SQL Server 2008 Developer Edition, and how long did it take 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: Optimizing a Stored Procedure

    Lynn Pettis (10/7/2008)


    Actually, I believe that indexes will help. I can't remember where I read it, but I believe that there has been improvements in the query engine in...

    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: Can you restore a database from a snapshot?

    Rod at work (10/6/2008)


    I'm wondering, is that possible? Is it possible to restore a database from one location to another from a snapshot on the old database server?

    No. Snapshots...

    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: Optimizing a Stored Procedure

    tendayit (10/7/2008)


    A lock type HBT means that a lock is on a b-tree index or heap. How do i identify the table being locked or the procedures causing 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: Few interview questions

    Jeff Moden (10/7/2008)


    Heh... then the correct answer for question #2 in regards to SQL Server 2008 should be "I wouldn't do that because I don't want the DBA to chase...

    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: post Restore rebuilding indexes

    Denby (10/7/2008)


    Wilfred van Dijk (10/7/2008)


    A full backup is just a copy of every used page in your database. So if you have some sort of fragmentation in your database, it's...

    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: Optimizing a Stored Procedure

    That query still can't use any indexes due to the leading wildcards on almost all of the filters.

    Do your users really enter middle portions of account numbers, phone numbers or...

    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 Engine Tuning Advisor

    The query I was trying is even simpler:

    select CarrierTrackingNumber, ProductID, OrderQty, UnitPrice from Sales.SalesOrderDetail where CarrierTrackingNumber = '8639-4639-AA'

    Missing indexes picks up that (CarrierTrackingNumber) INCLUDE (ProductID, OrderQty, UnitPrice) would be extremely...

    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 - 43,951 through 43,965 (of 49,552 total)