Forum Replies Created

Viewing 15 posts - 12,961 through 12,975 (of 49,552 total)

  • RE: Can i restore database with new log file?

    When restoring, the first step is to create all the files at the same size as the source database for the backup had them, then copy the data from 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: Backup problem - log cant back up in time before next log back up

    What is he using to do those backups?

    With SQL Agent, if a job is still running at the time it would be scheduled to run again, it just doesn't start....

    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: Question on SARGability

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    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 i restore database with new log file?

    No. A restore always recreates the database as it was at the time of the backup. That includes the size of all 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
  • RE: Are the posted questions getting worse?

    Lynn Pettis (5/30/2013)


    Stefan Krzywicki (5/30/2013)


    Lynn Pettis (5/30/2013)


    Anyone else get a PM like this?

    patricio.honore (5/30/2013)


    I would like to display x amount of views (50) as a report and display which views...

    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?

    Brandie Tarvin (5/30/2013)


    I'm not sure I would sacrifice the DVD drive for an SSD. I guess it depends on whether or not I could get stuff on my portable USB...

    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?

    Need a new laptop. My little HP is starting to feel decidedly dated with only 3GB memory.

    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 shrink mirrored database log file

    solomon.jernas (5/29/2013)


    Any option shrink in mirrored db or only log backup will shrink the log size.

    Log backups don't shrink the log, however if the log is full and growing,...

    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 shrink mirrored database log file

    solomon.jernas (5/28/2013)


    One of our production database is configured mirror , the log file growth around 150 GB, we need to shrink the log file

    I suspect you need to backup...

    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: NOLOCK hint.

    WangcChiKaBastar (5/28/2013)


    our database is not financial, our use of NOLOCK hint was to increase concurrency and limit contention (deadlock).

    Use one of the snapshot isolation levels. Financial or non-financial, I've never...

    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: stored proc not completing

    Might be this

    http://sqlinthewild.co.za/index.php/2011/03/22/statistics-row-estimations-and-the-ascending-date-column/

    Or might 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: NOLOCK hint.

    Eugene Elutin (5/28/2013)


    Nolock is a way of telling SQL Server that you don't mind if your data is slightly incorrect

    ...

    Yeah, it can for example double count records:

    Slightly incorrect in this...

    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: NOLOCK hint.

    Nolock is NOT an optimisation technique. If you're getting timeouts, tune your queries, tune your indexes. If blocking is a problem, tune your queries, tune your indexes and consider one...

    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 Index Seeks + Scans + Lookups = 0, okay to drop the index with a lot of updates on it?

    No reason (and dropping the index will invalidate any plans which used it)

    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: Unusual Backup Strategy

    Steve Smith-163358 (5/28/2013)


    Is this a common setup as I've never seen it before?

    No.

    Is there any advantage to using Transaction Log Backups, rather than Differential Backups?

    No

    Also, are there any major drawbacks...

    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 - 12,961 through 12,975 (of 49,552 total)