DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Big Doubt on SnapShot Refresh

  1. #1
    Join Date
    Aug 2000
    Location
    Shanghai
    Posts
    433

    Big Doubt on SnapShot Refresh

    Env.

    Master DB : Oracle8.1.6
    Slave DB : Oracle8.1.6



    I created snapshot log based on Master DB --> scott.emp
    CREATE SNAPSHOT LOG ON "SCOTT"."EMP" TABLESPACE "USERS"

    Then I create a readonly snapshot on Slave DB and set to
    use force refresh and refresh every hour -->

    CREATE SNAPSHOT HR_EMP AS SELECT * FROM emp@HR;
    ALTER SNAPSHOT HR_EMP REFRESH
    START WITH to_date('19-May-2003 12:00:00 PM','dd-Mon-yyyy HH:MI:SS AM') NEXT sysdate + 1/24

    But after everything is set up , To my surprise , Whenever I change
    the EMP table in Master DB , The Data is instantly synchonized in
    slave ( not in a hour based ) .

    Later on , I change the refresh type to fast , then it works fine .
    According to the definition of force refresh , it will first try to
    use fast fresh , if failed , it will turn to use complete refresh !

    Another question is on the snapshot log , actually I was considering the necessity to use snapshot log as in the real situation , the table to be snapshoted is huge , Will it be very costly if the snapshot log is created by that table .
    1. www.dbasupport.com
    2. www.dbforums.com
    3. www.itpub.net
    4. www.csdn.net
    5. www.umlchina.com
    6. www.tek-tips.com
    7. www.cnforyou.com
    8. fm365.federal.com.cn
    9. www.programmersheaven.com
    10.http://msdn.microsoft.com/library/default.asp
    ligang1000@hotmail.com

  2. #2
    Join Date
    May 2001
    Posts
    736
    I don't think that u have any problem in that only thing u have to take care is amount of data that will be transferred as this is make your network busy.

  3. #3
    Join Date
    Aug 2000
    Location
    Shanghai
    Posts
    433
    Thanks .

    Sorry to state that what I describle in the previous thread is a bit wrong . After change the add the snapshot log , actually the shapshot stops refresh and when I try to refresh it manually , it reports
    error

    ORA-12034 snapshot log on scott.emp younger than last refresh
    then I have to use the complete refresh ... why
    1. www.dbasupport.com
    2. www.dbforums.com
    3. www.itpub.net
    4. www.csdn.net
    5. www.umlchina.com
    6. www.tek-tips.com
    7. www.cnforyou.com
    8. fm365.federal.com.cn
    9. www.programmersheaven.com
    10.http://msdn.microsoft.com/library/default.asp
    ligang1000@hotmail.com

  4. #4
    Join Date
    May 2001
    Posts
    736

  5. #5
    Join Date
    May 2001
    Posts
    736

  6. #6
    Join Date
    Aug 2000
    Location
    Shanghai
    Posts
    433
    I solve the problem ,

    create snapshot log first
    then create snapshot
    1. www.dbasupport.com
    2. www.dbforums.com
    3. www.itpub.net
    4. www.csdn.net
    5. www.umlchina.com
    6. www.tek-tips.com
    7. www.cnforyou.com
    8. fm365.federal.com.cn
    9. www.programmersheaven.com
    10.http://msdn.microsoft.com/library/default.asp
    ligang1000@hotmail.com

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