Redo log resize
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Redo log resize

  1. #1
    Join Date
    Nov 2000
    Posts
    416
    we can a large batch job run monthly that insert lots of record and also query and join some huge tables .. two questions :

    1- Can I user SET TRANSACTION TO BIG_ROLLBACK inside stored procedure ( Oracle 8.0.5 ) to prevent regular rollback blow out

    2- Do I need to resie redo log groups and files to prevent too many log switch and probably hang

    Generally please tell me what cuation I have to do in this kind of large scale process

    Thanks guys
    An ounce of prevention is worth a pound of cure

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    1. Yes. Use "SET TRANSACTION USE ROLLBACK SEGMENT RBS_NAME;"

    2. No asuming that your logs are properly sized.



  3. #3
    Join Date
    Mar 2002
    Posts
    16
    Hi,

    Why donít u follow Dynamic SQL so that u do not have to bather about redo log file size, roll back segments unless u want your transaction to be roll backed.

    Does it make sense?.

    Regards,
    Ganesh.G.
    Ganesh.G

  4. #4
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Originally posted by ganeshg75
    Does it make sense?.
    No, not to me. Dynamic SQL has nothing to do with batch job workloads (the frequency of log switches) nor with the size of transactions (rollback sizing isue).
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  5. #5
    Join Date
    Apr 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    1,203
    Not sure if it's available under 8.0.5, but you could also try

    DBMS_TRANSACTION.USE_ROLLBACK_SEGMENT('BIG_ROLLBACK');

    Cheers,
    OCP 8i, 9i DBA
    Brisbane Australia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width