Refresh the snapshot

The DBA granted me execute privilege on DBMS_SNAPSHOT. But I still can not run refresh. Are there any other privileges I need to execute procedures in this package? Or other considerations?

Read page A-8 on Oracle8i Replication Management API Reference

Similar Messages

  • Why can't the snapshot be refreshed properly?

    I have created a snapshot(read_only) but it can't be refreshed with the master table properly. I found that after I created the snapshot, any change made in the master table was not reflected in the snapshot table.
    Here is my SQL statement for creating the snapshot.
    CREATE SNAPSHOT testing
    TABLESPACE XXX
    STORAGE (INITIAL 32K NEXT 32K)
    REFRESH NEXT sysdate+1
    WITH ROWID
    AS SELECT *
    from master_table@master_site_database;
    The SQL statement is to create the snapshot. and refresh the snapshot with master table every day.By executing the SQL,the snapshot is created successfully,but seem not to be freshed properly. The master_site_database, which the master_table locates, is Oracle version 7. The snapshot site database ,which the snapshot is created in, is Oracle version 8.
    Any suggestions will be greatly appreciated. Thanks in advance.
    Helena

    Please see our guidelines for accessing remote ejbs from clients in our EJB FAQ :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
    --ken                                                                                                                                                                                                                                                                                                   

  • Is there any way to refresh the zfs snapshot other than creating another on

    Hi,
    I want to use the zfs send / recv replication, after I create the snapshot and do send/ recv to the remote filesystem, is there any way to do send and recv from the same snapshot after making some changes to the original filesystem other than creating another snapshot every time before send / recv
    Thanking you
    Ushas Symon

    No, you'd have to take another snapshot and then send it, but you don't need to save all the snapshots after you are done. If you script it out to take snapshots fairly often during the day, the amount of data would be small. You can also send to a file and then backup that file to tape or whatever, you wouldn't have to save a million snapshots. You can also look into OpenSolaris' Time Slider function.

  • Error in Refresh Collection Snapshot request in R12

    Hi,
    On running Refresh Collection Snapshot (standalone request) in Oracle R12 with the settings as
    Refresh Mode: FAST,
    Snapshot Name:ALL SNAPSHOTS
    and the rest as the default options; it completes with the following error:
    MSRFWOR module: Refresh Collection Snapshots
    Start of log messages from FND_FILE
    21-JUL 18:06:52 : ref mode - 1
    21-JUL 18:06:52 : snp name - ALL SNAPSHOTS
    21-JUL 18:06:53 : Request : 4461840 :Checks for Snapshots which have changed and Drops them
    21-JUL 18:18:23 : Source Setup Objects Creation Requests did not complete Successfully
    21-JUL 18:18:23 : Please check the Log files for the appropriate message:
    21-JUL 18:18:23 : 4461840
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 :
    21-JUL 18:18:23 : Error Setting Up Source Objects
    I referred the metalink Doc ID: 174144.1 that shows a similar error but it is reported in 11.5.5.
    I am running into the same error in R12.
    I have also checked the profile 'MSC: Source Setup Required' to be 'Yes'.
    What are the other parameters or settings I must do to run this request successfully without errors?
    Please help.
    Thanks,
    Rubellah Rajakumar

    Hi Rubellah,
    Is your setup 'centralized' or 'decentralized'? If you are using a decentralized setup, then you should ensure that you have applied Collections Cumulative Update 5 (CU5) patch to BOTH source and destination instances. The patch number is 7361861. Once the patch is applied, set the profile option MSC: Source Setup Required to Yes on the source instance and run a 'Complete Refresh' Data Collections. This should cause all of the objects on the source instance to be dropped and recreated. If this does not resolve the issue, the I would suggest logging an SR with Oracle Support.
    Thanks,
    Brett

  • Problem with refresh of snapshot

    I am facing one problem with refresh of a snapshot. In the front end (developed in D2K) there is a PL/SQL code written which loops through user_snapshots and refreshes each snapshots one by one.
    With one particular snapshot its giving the error. I traced the session and found the problematic snapshot. I tried to refresh the same snapshot with some other user with DBA role granted to it and its working fine.
    Now I logged in to SQL Plus with the user Z0000 ( This is the user with which the application user logs in to the application) and tried to rerfresh the snapshot. Its giving me ORA-03113 end-of-file on communication channel. Then I granted DBA role to user Z000 and then tried to refresh its again giving the same error.
    I tried with many different users and its working fine.
    Any ideas where could be the problem.
    Thanks
    Sidhu
    Database is 10gR2 on AIX 5.3
    Message was edited by:
    Sidhu

    Hi,
    did you try to do it locally?
    Maybe a possible problem on the network.
    This issue remembers me a bug on older versions.
    It is strange on a 10.2
    Acr

  • Refresh Collection Snapshots Error ORA-12008 ORA-01555

    Need some insight!
    Ct is implementing R12.1.1 ASCP using existing 11.5.10 EBS as source.
    In source EBS, when running Refresh Collection Snapshots (RCS) in COMPLETE mode, we encounter this error:
    ORA-12008: error in materialized view refresh path
    ORA-01555: snapshot too old: rollback segment number 13 with name "_SYSSMU13$" too small
    ORA-12008: error in materialized view refresh path
    ORA-01555: snapshot too old: rollback segment number 13 with name "_SYSSMU13$" too small
    All the snapshot entities got refreshed successfully (in 5 minutes) but the Refresh Collection Snapshot request itself ends with ERROR (after 4 hrs).
    Appreciate your input on this one.
    Thanks,
    Jake

    Welcome to the forums !
    ORA-01555 is a common error condition. There are typically two solutions (or a combination of both) -
    1. Increase rollback / undo tablespace size
    2. Run your process when the database is not active (i.e. few or no updates/deletes/inserts etc).
    More information may be available in these MOS Docs
    211121.1 - How To Run MSRFWOR - Refresh Collections Snapshots Concurrent Request From The Application
    207644.1 - Data Collections is Failing - All Errors - First Diagnostic Steps
    306418.1 - 11.5.10 MSRFWOR: Refresh Collection Snapshot Performance Is Poor and Fails with Errors
    369173.1 - MSRFWOR Refresh Collection Snapshots Performance Database Bug 4196039
    308487.1 - Refresh Collection Snapshot Request Fails Yet The Request Shows Complete Normal
    HTH
    Srini

  • ASCP Collections spawned Refresh Collection Snapshot taking longer

    Hello Experts,
    In a decentralized deployment, Refresh Snapshots spawned by ASCP Collections takes longer than the refresh snapshot launched as standalone request.
    It looks like the program runs for long on the following queries
    SELECT bic.component_item_id,
    bic.component_quantit y
    FROM MRP_SN_BOMS bom,
    MRP_SN_INV_COMPS bic,
    MTL_SYSTEM_ITEMS msi1,
    MTL_SYSTEM_ITEMS msi2
    WHERE bom.assembly_item_id =
    :inventory_item_id
    AND bom.organiz ation_id = :organization_id
    AND msi1.inventory_item_id = bo
    m.assembly_item_id
    AND msi1.organization_id =
    bom.organizat ion_id
    AND bom.alternate_bom_designator IS NULL
    AND b ic.bill_sequence_id =
    bom.common_bill_sequence_id
    AND bic.e ffectivity_date <
    :g_scheduled_completion_date
    AND NVL(bic .disable_date, :g_scheduled_completion_date + 1) >
    :g_scheduled_completion_date
    AND bic.WIP_ SUPPLY_TYPE = 6
    AND msi2.inventory_item_id =
    bic.component_ item_id
    AND msi2.organization_id =
    msi1.organization_id A ND NOT (msi1.AUTO_CREATED_CONFIG_FLAG='Y'
    AND msi1.base_item_id IS NOT NULL
    AND (msi2.BOM_ITEM_TYPE = 1
    OR msi2.BOM_ ITEM_TYPE = 2))
    SELECT ORGANIZATION_ID,
    PLANNED_QUANTITY,
    PRIMARY_ITEM_ID,
    QUANTITY_COMPLETED,
    SCHEDULED_COMPLETION_DATE,
    SCHEDULED_START_DATE,
    WIP_ENTITY_ID,
    RN
    FROM MRP_SN_FLOW_SCHDS
    WHERE RN >= -1
    AND PLANNED_QUANTITY > QUANTITY_COMPLETED
    And the data volume seems very small, we have 30K items , less than
    250 resources, no BOM.
    If we run the Refresh collection snapshot as a standalone request on
    Source/EBS instance, it completes in less than 5 mins. Only when it is
    launched vial collections/db link, we are seeing this performance
    issue.
    We are on 12.1.3.4.
    DBAs are not willing to modify the init.ora parameter mvrefresh_use_stats unless this is very specific.
    Any help on this would be very helpful.
    Regards
    Sudeep

    Is this issue resolved? If not can you throw some more information along the below questions.
    Is the planning manager up and running? What about the firm planned flag? Is there any open quantity on job to be completed? Does this job show up on the view supply/demand screen on the txn instance?
    Thanks,
    Karthik

  • Please Help Urgently to refresh the report on the change in data

    We want to refresh report at runtime for the Drill Down report if any user changes the Data. We changes the data from the form which is called from the report and we want to this effect on the report on the prompt.
    Is there any method to close the report while it is in the queue of Background Engine? Can we refresh the report ? Please help urgently.
    Thanks in Advance.

    Pritesh,
    Reports goes out to the database and fetches the data (not a snapshot) and returns the information, formats it and displays it. The only way to refresh, is to rerun the report.
    If your are running from the server, you need to make sure you are not fetching from cache (you determine this from destype and set the life of the cache in the servername.ora file).
    I am unaware of any way to programatically close the report once displayed. The user must take action to close the report (unless you call the operating system to kill the display). When you rerun the report from Oracle Forms, you will get fresh data.
    Regards,
    The Oracle Reports Team jls

  • Not having to refresh the data in the main report but only in the subreport

    Hi SAP,
    I have a report that uses a stored procedure in the main report and uses regular database tables in the subreport.  The data returned from the stored procedure reports information from the month-end database (a cutoff point from the previous month's numbers) while the subreport reports information from the live database.  This report gets run everyday to show the changes in numbers from the live database.  Obviously the numbers from the month-end database remainds static until the next month's cutoff database is created. 
    My problem is that everyday when I run the report, the data needs to refresh from both the stored procedure in the main report and the live database tables in the subreport.  How can I leave the data returned from the stored procedure static or as is without refreshing the stored procedure returned data and just have the subreport data refresh itself?  The stored procedure really puts a strain on the database and I would like to cut-out the time to process the report as well.  Does anyone have any ideas?
    Zack

    Hi Zack,
    Try the following under Report options.
    1. Clear the check box of "Verify Stored Procedures on First Refresh" in the Main report.
    2. Select the check box of "Verify on First Refresh" in  the sub report.
    Hope this helps.

  • Can not refresh the metrics in schedular

    Post Author: sachinddalal
    CA Forum: Performance Management and Dashboards
    Hi,
    When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is not changed, niether the values are updated.
    Whe I try to refresh the metric manual, the values are refresh.
    Please help me to troubleshoot the problem of refreshing metric through schedular.
    Thanks,
    Regards
    Sachin Dalal

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    Scheduler is pretty horrid for refreshing metrics.Better of to use the Rules engine and create a rule thats based on a schedule that based on condition (1=1 works well ) then refreshes metircs.troubleshooting is best done with the trace options in setup/parameters.there are a few other ways or seeing what the schedulers up to - but id stick to rules if i were you.

  • How can I fast refresh the  materialized view !!

    I created a MV base on some tables in order to improve the querey speed.
    but the mv I have created falied to refresh fast.
    because there are two same table in the from clause:
    jcdm jc1,jcdm jc2
    create materialized view temp_mv
    nologging
    pctfree 0
    storage (initial 2048k next 2048k pctincrease 0)
    parallel
    build immediate
    refresh force
    on demand
    as
    select
    TAB_GSHX.rowid hx_rid,
    TAB_GSHD.rowid hd_rid ,
    JC1.rowid jc1_rid ,
    JC2.rowid jc2_rid ,
    YSHD_ID     HXID,          
    JC1.JCDM     QFD,     
    JC2.JCDM     JLD     
    FROM
    TAB_GSHX,
    TAB_GSHD,
    jCDM JC1,
    JCDM JC2
    WHERE
    YSHD_ID=YSHX_ID
    AND YSHD_QFD=JC1.JBJC_ID
    AND YSHD_JLD=JC2.JBJC_ID
    AND TO_CHAR(YSHX_time,'YYYYMMDD')='20030101'
    the column msgtxt of the table MV_CAPABILITIES_TABLE is :
    "the multiple instances of the same table or view" and " one or more joins present in mv".
    How can I succeed in fast refresh the above temp_mv!!!
    thanks.

    lianjun,
    When you are using Oracle9i there is a procedure which can help you setup the materialized view. If some option isn't working it gives you hint why it doesn't work.
    The procedure is dbms_mview.explain_mview.
    Take a look at the documentation how to use it. (In the Oracle9i DWH guide the package is explained.)
    Hope this helps
    With kind regards,
    Bas Roelands

  • Refreshing the Data Source View in Analysis Services

    I have added columns to the SQL Database table that is used as a dimension in an Analysis Services Cube.  The new columns will be used as additional Property Fields for the dimension.  When I attempted to refresh the Data Source view so that the additional columns are present, I am given the following error:
    System.Data
    Property not accessible because 'Parent Columns and Child Columns don't have type-matching columns'
    I have done nothing to the columns used for the parent of child and the error message provides nothing to gon on. Does anyone have any ideas on this?
    Gary

    Olga,
    Thanks for your response.  I will try and answer your questions
    1) I have not tried removing the columns yet.  I will try that this afternoon but have limited hope.  The two columns I added are simple text columns that will be used as attributes in the dimension.  I have made no change to the parent or child columns.
    2) The table I modified is the source table for a parent-child dimension.
    3) The reference to the "check list" does not take me to any kind of check list.
    4) The parent-child dimensions I am trying to modify have been in use for months and the parent and child columns do have the dame data types.
    5) I have also check the data types between the dimension table and the fact table.  they use the same data types (small int).
    6) I have not made a collection for the parent key, it is a single column. The remainder of your last paragraph is not clear to me. Can you give me an example.
    I am fairly inexperienced with Analysis Services, please talk slow and use small words  :-)
    Thanks again for your help!
    Gary

  • Visio Diagram is not refreshing the data from list

    Hi,
    I made a pivot diagram in visio 2013 and linked it with SharePoint 2013 list. I configured the Visio services, uploaded it document library. I can view the diagram in browser but it is not automatically refreshing not even by pressing the "Refresh"
    button.
    Instead i have to open it in visio, refresh the diagram manually and the save it in SP document library to refresh the diagram.
    I am using visio web access to view the diagram and also the auto-refresh is enable. 

    Hi Rizwan,
    Following url's might help you.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/79476e70-51cf-412a-aac9-ebb10e82572f/2010-visio-services-data-refresh-issue
    http://social.technet.microsoft.com/Forums/en-US/06d53cb3-2593-4dd0-a524-356bd9720231/visio-service-data-refresh-help
    Regards  Roy Joyson
    Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.
    Roy Joyson

  • Is there any way to prevent misbehaving solved by refreshing the browser?

    When I play my published Captivate 6 file in the browser (in this case Google Chrome), it sometimes gets "stuck" --- rollovers don't  work properly or buttons don't show up when they are supposed to. Sometimes I get the audio echo problem where audio from some previous slide plays on a future slide). None of these things happen during previews.
    If I refresh the browser and then continue where I left off, the problems are gone.
    What is causing this awful behavior? I am afraid I am disappointing my client, which I never want to do and have never done in the past!  We will have to publish instructions telling people that if anything goes wrong, they should just refresh their browsers. But some may not know how to do that, some may not read the instructions, etc. etc. causing support calls to my client and general dissatisfaction with the training.
    Is this just a shoddy product or did I not do something I need to do to get it to behave itself?
    Please advise! Thank you,
    Ellen

    hmm the a64 is locked so you cannot use a cpu multipier to have only cpu go faster..
    i oc with the fsb....but noticed that i may actually be over running my power, at high oc's(233)  if i unplug at least 3 hard drives, and some fans it will run microsofts memmory tester...but not with them in.
    you may be able to oc if you drop your mem speed down in bios to 333 or 200.
    so when you oc the memm will clib from there...i have seen good results from that.
    one person was able to catch my 232 results from dropping down to 200 mem speeds.

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

Maybe you are looking for