Snapshot Refresh = Urgent
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Snapshot Refresh = Urgent

  1. #1
    Join Date
    Dec 2001
    Posts
    203

    Hi,

    This is not at all related with REPLICATION.
    ===========================================

    In my master database I have a table called Port and have created a snapshot log with primary key.

    From another database I have created a snapshot using dblink.

    Create snapshot port
    refresh fast as
    select * .................................


    *** But after commiting a transaction(insert or update) in my master port table my snapshot is not getting refreshed automatically.

    When I executed DBMS_SNAPSHOT.REFRESH it's doing that.


    I wish to refresh my snapshot automatically after each commited transaction.

    Is it possible.

    Please give me information in details.

    Thanks

    Sumit
    sumit

  2. #2
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    Create a trigger in the master table that execute the package dbms_refresh.

    Regards

    Angel

  3. #3
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Check out the ON COMMIT option of the refresh clause when creating the materialized view (snapshot). There are some restrictions:

    http://otn.oracle.com/docs/products/...4c.htm#2063839
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: www.oracle-base.com
    My blog: www.oracle-base.com/blog

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