Forum Replies Created

Viewing 15 posts - 4,486 through 4,500 (of 49,552 total)

  • RE: Simple Recovery model

    Piotr ER (10/16/2015)


    Ok, i should write "when transaction fails and rollback is completed" :). But when rollback is done - you no longer need log records.

    That's still not true 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: Simple Recovery model

    Piotr ER (10/16/2015)


    If transaction fails you no longer need those notes so they are discarded. If transaction succeeds you can keep them (full recovery mode) or discard as well (simple...

    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 Virtual memory

    Justin Manning SA (10/16/2015)


    Fair enough.. but surely a 60GB file is too small?

    Assuming that the OP is talking about the page file, probably not, unless the server's crashing often...

    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 model

    mahi123 (10/16/2015)


    what is the use LDF file in Simple recovery model data base.

    Transaction rollbacks, database recovery after a shutdown, database integrity, minor things like that.

    Is there any possibility to remove...

    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?

    BL0B_EATER (10/16/2015)


    GilaMonster (10/16/2015)


    Eirikur Eiriksson (10/16/2015)


    GilaMonster (10/15/2015)


    Oh, and the bloody desktop booted clean to windows on the first try tonight and is behaving itself...

    Did you just upgrade to Windows 10?

    Err, no.

    win10...

    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 Virtual memory

    Justin Manning SA (10/16/2015)


    GilaMonster (10/16/2015)


    Justin Manning SA (10/16/2015)


    Isn't the rule of thumb for a Virtual Memory/Page file to be set to 1.5 x amount RAM?

    It was, about 10...

    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 roll back all changes if not all statements executed successfully?

    Alan.B (10/15/2015)


    -- Create a table

    IF OBJECT_ID('tempdb..#X') IS NOT NULL DROP TABLE #X;

    CREATE TABLE #X (x int)

    -- start transaction

    BEGIN TRANSACTION

    INSERT #X SELECT 1

    INSERT #X SELECT 2

    ...

    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 Virtual memory

    Agnii (10/15/2015)


    Yes, you are right...am talking about virtual memory setting on windows machine which is 64bit and I think we can set it with custom setting as well. Right now,...

    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 Virtual memory

    Justin Manning SA (10/16/2015)


    Isn't the rule of thumb for a Virtual Memory/Page file to be set to 1.5 x amount RAM?

    It was, about 10 years ago....

    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?

    Eirikur Eiriksson (10/16/2015)


    GilaMonster (10/15/2015)


    Oh, and the bloody desktop booted clean to windows on the first try tonight and is behaving itself...

    Did you just upgrade to Windows 10?

    Err, no.

    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: All new users getting db_datareader by default......

    Check the permissions of the public role.

    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?

    Oh, and the bloody desktop booted clean to windows on the first try tonight and is behaving itself...

    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?

    Eirikur Eiriksson (10/15/2015)


    Gail, let us know where and when 😉

    According to my blog dashboard, part 1 is scheduled for 3rd November.

    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 Virtual memory

    Virtual memory set to 60GB where? What, exactly do you mean (because virtual memory is fixed on a windows machine based on whether it's 32 or 64 bit, it's 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: Question on Virtual memory

    What exactly do you mean 'virtual memory is set to 60GB'?

    And what exactly are you looking at when you say a 'virtual memory spike'?

    And 3 Terabytes of RAM????

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