Forum Replies Created

Viewing 15 posts - 4,171 through 4,185 (of 49,552 total)

  • RE: how to reduce backup size

    Plug the external drive into the machine that has SQL on, restore to the external drive.

    Hang on..

    dat, messages, images??? Is this a SQL Server database you're restoring (because SQL databases...

    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 backup size

    When you restore a backup, it recreates the database exactly as it was at the time it was backed up. It's not the size of the backup that's 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: query fail after 727855 reads and 30005 duration

    Yeah, looks very much like the client tool aborted the query because it took too long (timeout). Nothing wrong with the query, it's just taking too long. See if 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: Data Flow Task working very slow due to left join in source

    The percentages in a plan are not times, they're estimated cost (emphasis *estimated*)

    Can you post the plan and the table and index definitions?

    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: Prevent Stored Procedure using bad execution plan

    Jonathan AC Roberts (11/26/2015)


    If it is parameter sniffing causing the problem then you can just alter the stored procedure to copy the parameters passed in into ones created within 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: when i issue rollback the temptable is also droped reason plz

    Please post new questions in a new thread.

    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 with Referencing or not referencing, index or with index?

    No, I said if there is no existing index on the Detail table on MasterID, create one on (MasterID, ID). If there is an existing one on MasterID, add 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: Is my Database corrupted ? Any solutions on fixing this ? Help

    Considering that, unless the backup was taken WITH CHECKSUM, verify only checks the backup header, there's not that much point in doing so. Better to restore it elsewhere and checkDB...

    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 with Referencing or not referencing, index or with index?

    Looking at those in isolation, you probably want an index on (MasterID, ID) on the detail table. Check the existing indexes, make sure there isn't an existing one on MasterID...

    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: Prevent Stored Procedure using bad execution plan

    Ask the DBA for the code and the plans please. Without them there's minimal chance that we can help you.

    Have you tried with recompile and is the overhead unacceptable? I've...

    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: Prevent Stored Procedure using bad execution plan

    sam 55243 (11/26/2015)


    If I do that in case will it prevent this issue from occurring.

    Maybe. And maybe it'll make things worse.

    Does the Recompile hint add an unacceptable CPU overhead 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: Is my Database corrupted ? Any solutions on fixing this ? Help

    Yes, severely corrupted. Repair's not going to fix it. Only option here is restore from a clean backup or script, export and recreate the DB.

    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: writing queries that easily readable

    Decent, consistent layout, meaningful aliases, useful variable names.

    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 (11/25/2015)


    Help, I can't read and don't know how to attach a file... Sorry, some people are finding it easier to push my buttons today.

    And if 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: Prevent Stored Procedure using bad execution plan

    Can you post the procedure along with the two execution plans (as .sqlplan files)?

    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 - 4,171 through 4,185 (of 49,552 total)