Forum Replies Created

Viewing 15 posts - 27,166 through 27,180 (of 49,552 total)

  • RE: Shrink Database in Simple Recovery Mode

    Sachin Nandanwar (3/23/2011)


    Thanks for the link muthukkumaran

    Following is the extract from your blog which is your definition of truncation of log

    SQL server run the CHECKPOINT truncates the inactive portion 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: SQL Server 2008: Help on deleting records from a large table without writing transaction log

    mathew.walters (3/23/2011)


    The only way to really "Delete" without generating log records is to use partitioning. We use this to switch out old data to an archive table then we...

    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: Execution Query Cost vs Profiler stats

    The costs can be used that way, but bear in mind that they can be wrong and deceiving. I have a demo (that I did as part of the 24...

    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: Partitioned tables and statistics

    Coincidental, I wrote about what you're probably experiencing

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

    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: Bulk log recovery

    Basically it means that for some operations only the page allocations are logged, not the details of the actual row inserts. When a log backup is run, the modified pages,...

    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: Partial installation of SQL Server created by Microsoft Fore Front

    It won't break anything, but rather install the tools on a desktop and connect to the server. In general workstation tools don't belong on a server.

    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: Does Estimated Subtree Cost Provide (near)Accurate Measurement?

    Marvin Maralit (3/23/2011)


    Our DBA suggested instead of using Temp Table for large data, I should be using a real table. Is it true?

    Probably not, especially if there's going to be...

    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: Take Off Line - 10 hours and still not complete

    A take offline should be near-instantaneous, but it does need an exclusive database lock, which means it has to wait until all connections to the DB are closed.

    Either manually kill...

    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: Partial installation of SQL Server created by Microsoft Fore Front

    That's probably just an installation of Express. Express can be installed without any management tools. Typically when that's done the app has a way of doing backups.

    p.s. Unless tirvoli has...

    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: 'sa' level permissions

    $QLdb@ (3/23/2011)


    You can view the information of all the users in SYSXLOGINS table in Master database

    sysxlogins contains the information on logins, not users.

    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: Help on deleting records from a large table without writing transaction log

    $QLdb@ (3/23/2011)


    change the recovery model to simple

    By which transaction log will not get save

    After this you can delete the records without logging it into transaction log

    That is completely incorrect....

    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: Help on deleting records from a large table without writing transaction log

    All data modifications are logged, always.

    For minimal log impact, you could delete in a loop, delete 10000 or 50000 or whatever rows at a time, run the loop until all...

    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: Differential Restore Problem

    Yup, it's telling you that the diffs are based on a different full backup to the one you have.

    Are all the backups taken natively? Do you have anything else backing...

    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: 'sa' level permissions

    For 2005, 2008 query sys.server_principals, sys.server_role_members and sys.server_permissions, you're looking for anyone a member of the sysadmin role or with control server permissions.

    Cannot recall for SQL 2000.

    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 Plans. Any way to store, retrieve, and execute?

    A query plan is nothing more than a set of instructions for the query execution engine.

    You can store one trivially, run the query with 'include actual execution plan', then 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

Viewing 15 posts - 27,166 through 27,180 (of 49,552 total)