materializd view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • premkumarsp1
    New Member
    • Feb 2008
    • 12

    materializd view

    hi

    i created a materialized view on a table prem to a remote database thru db link.

    create materialized view prem
    BUILD IMMEDIATE
    refresh fast
    start with sysdate
    next sysdate +(1/1440)
    as
    select * from prem@dblink;

    i created indexes on prem table in both databases. I created materialized view log in master table database.

    I gave refresh time as 1 min. I inserted 6 records at a time. it is taking too long time more than 10 min to get replicated.
    Wat is the problem. Can someone suggest me some solution.

    thanks in advance..
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    That might be because of using the DBLINK.

    Comment

    • amitpatel66
      Recognized Expert Top Contributor
      • Mar 2007
      • 2358

      #3
      You can also rREFRESH the Materialized view using DBMS_MVIEW package by giving a call to REFRESH procedure

      Comment

      • subashsavji
        New Member
        • Jan 2008
        • 93

        #4
        Originally posted by premkumarsp1
        hi

        i created a materialized view on a table prem to a remote database thru db link.

        create materialized view prem
        BUILD IMMEDIATE
        refresh fast
        start with sysdate
        next sysdate +(1/1440)
        as
        select * from prem@dblink;

        i created indexes on prem table in both databases. I created materialized view log in master table database.

        I gave refresh time as 1 min. I inserted 6 records at a time. it is taking too long time more than 10 min to get replicated.
        Wat is the problem. Can someone suggest me some solution.

        thanks in advance..
        try to use this option

        refresh fast ON COMMIT ,
        START WITH SYSDATE

        other it may be the problem of O.S.

        Comment

        Working...