Long lasting Workspaces with many Rows, Merging and Locks

Hi all!
We sucessfully implemented a solution using Oracle Workspace Manager combined with Oracle Locator (Spatial). The present version of our product uses Workspace Manager to enbale "private working areas" for the users. They can edit data in this areas (workspaces), goto savepoints (undo) and merge their work with the live-data. The live-data meanwhile is locked for other users.
Our current workspaces have a short lifetime and contain about 100-200 versioned datarows. A merge operation takes about 5 to 10 seconds.
We are planing to enhance our system in terms of long time planing situations. The user will be able to edit a project (workspace) and keep his editings for a long time. So what we will have are:
- Workspaces that exist for a long time and
- Workspaces that include thousands of versioned rows.
Any experience with this kind of Workspace Manager usage? What about the merging performance? Do merging or refesh operations block each other? Which locks are set? Unfortunately I can't find any hints in the documentation.
Please help, any opinions welcome!
Thanx,
Nothi

Hi,
This is a common usage for Workspace Manager, so since you already have a working solution you should not have any issues when using workspaces that exist for a long period of time. In terms of the actual performance, it would be dependent on the number of rows being merged, the total size of the base table among other things, etc and so I will not be able to exactly qualify the difference between your two cases.
You can merge and refresh unrelated workspace simultaneously. However, if you are merging and refreshing the same workspace or its parent at the same time, locks will needed to be taken to guarantee the validity of the data. If you are running into locking issues, you may be able to use the row_level_locking system parameter, depending on your exact situation.
Without changing the value of this system parameter(default is false/off), a MergeWorkspace will acquire exclusive locks on the parent and child workspaces, while a RefreshWorkspace will also acquire an exclusive lock on the parent and a shared lock on the child. After setting row_level_locking to true, the child workspace locks will remain the same, but the parent workspace lock for either MergeWorkspace or RefreshWorkspace will become a shared lock along with the necessary row locks needed by the Merge operation.
Hope this helps.
Ben
null

Similar Messages

  • Input form with many rows

    Is it possible to make some little modification to a read only table (dragged in the uix form using a view object) in order to use it as an input form with many rows?
    I tried to do this by simply setting to ‘false’ the ‘readonly’ property of the columns.
    In the form there is a button that creates a new instance when it is clicked, this button works.
    The main problem is that, when I click the submit button, it does not perform the sql statement.
    How can I solve this?
    Or at least, what is the simplest way to create (with uix)an input form with many rows, that is based on a db view and automatically updates the database?
    Thanks, Mauro

    repost

  • HT202157 My AppleTV (2nd gen) crashed last night with the latest update and now all I have a flashing light.  What to do?

    My AppleTV (2nd gen) crashed last night with the latest update and now all I have a flashing light.  What to do? It showed a USB symbol point toward an iTunes symbol and won't reset after resetting with the remote.  Same thing.

    usb symbol pointing toward an itunes symbol is apples way of trying to get you to connect the appletv to your computer running itunes so it can restore the apple tv's software
    though it seems to be a connection few people make

  • How can i split a long single video with many different scenes in it ?

    how can i split a long single video with many different scenes in it ? in premiere pro cs3

    Yep better ask in the Premeire Pro forums, but while loading their forum page check the cutter tool (C) it will allow you to cut your footage

  • How do I close the white box with a keyhole, gear, and lock that sometimes randomly pops up in the upper left of my screen?

    Every now and then, a weird white box with a keyhole, gear, and lock pops up in the upper left of my screen. I can't seem to close it or move it, and when I try to use another application, it stays there and blocks features. The only way I've found to make it go away is by force closing Firefox.Why does it pop up and how do I close it? I'm on an iMac, Snow Leopard. Have the latest version of Firefox, 10.0.2.
    Here's a screenshot of the box: http://img11.imageshack.us/img11/6819/screenshot20120302at821.png

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Display query's result (with many rows & field) into a list ?

    I'd like to display the result of a query wich returs many rows without using a list of values but another component which allowed the display of sereval columns at the same time.
    Note: I can't use a LOV because I don't want to return no value, and I need a TLIST presentation.
    null

    A kludgy solution would be to create a database view that combines the multiple columns into a single standardly formatted column, and use that for displaying in a jcombobox.
    Depends upon whether you like to code Java or like to play in the database. grin
    If you do that Java solution please post the code here!

  • Problems with LabVIEW 7.1 and lock-in amplifier Stanford SR530?

    Does has anybody had problems with LabVIEW 7.1 and the instrument driver for the lock-in amplifier Stanford SR530?
    With LabVIEW 6 there are no problems at all, but with LabVIEW 7.1 it is impossible to communicate with the instrument.

    amr_attia wrote: (Private message, no need to private message)
     My problem is to get the data out from the divice x and y readings . Can you help me
    Here is the code and snippet. I had it from before. It reads Channel 1 and Channel 2 from the SR530, that is whatever the display is for Channel 1 & 2. You set the display manually or programmatically, I let you figure that part out.
    Cheers,
    mcduff

  • HT6154 iOS 7 and iPhone 4S - I lost my WiFi and Bluetooth capabilities last September with the new OS, and I THOUGHT it was actually fixed this morning with the latest release - my WiFi AND Bluetooth actually worked....for about 5 minutes, but no longer

    I thought this latest OS release had fixed my WiFi and Bluetooth problem, but I was excited for only a minute!  I actually was able to connect to my WiFi at home and paired my Bluetooth to my car - but after a few minutes, the Bluetooth automatically turned off and the WiFi no longer worked.  Is there a FIX to this???  I know it's the OS that disabled them and I'm not paying $500 for a new phone when my upgrade is not availbe for another six months!!!!

    My iPhone 4S did once again did  lose it's wifi connection after running perfectly for about 8 weeks.
    I was streaming Pandora Radio via bluetooth connection at the time, ( not sure if that has anything to do with why the wifi dropped out again, but I thought I'd mention it anyway)
    But!.... I was able to get everything up and running perfectly again by simply grabing my girlfriend's hair dyer heated it up again for about 5 - 7 minutes ( the over heated message even appeared this time) then powered it off, warped it in a plastic bag, stuck it back in the freezer for 15 minutes, took it out of the freezer, powered it back on, and Abracadabra it works perfectly again!!!
    Phone has been running perfectly AGAIN for about a week now.
    One strange thing this time after fixing it for a second time is that the the little WiFi symbol no longer shows at the top of the screen, but the wifi connection and everything IS RUNNING PERFECTLY!
    If all I've got to do once in a while, is spend about 20 minutes with a hairdryer and a freezer to keep my iPhone 4S running perfectly.....well I'm as happy as a pig in s*** :-)
    And please no comments about how I have now voided my apple support etc. I never had any to begin with  (it's a 2nd hand phone and  I really  couldn't care less about warranty issues etc etc etc..... The phone works, and that's all that matters to me!

  • On a long web page with many small pics Firefox (4.0.1 on Linux Mint 11) doesn't load them all at once, and MAFF replaces original pics with blank lazy.png

    Similar problem trying to save web page with ScreenGrab! (many small pics on the web page are blank). Maybe there is a way to fine tune Firefox?

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • The expand on Youtube is not working with many Youtube sites and they work on Internet Explorer

    On many of the sites on Youtube the expand does not work with Mozilla Firefox 4. I have gone to Internet Explorer and they work there. When I come back from Internet Explorer strange enough the expand on Firefox works. Obviously its picking up programming from Internet Explorer, unfortunately it does not last long. I've tried plug ins, reloading flash player after I deleted it and re-installed it, the problem still exist. Also on the expand screens that do work on the right side there is a very thin white line coming down the border. I'm not the only one with this problem. please help with this problem.

    Indeed, this is a bug in HTTPS-everywhere which you can see here : https://trac.torproject.org/projects/tor/ticket/4032

  • Long Secure Times with many RICs

    We are experiencing secure times of 8 to 15 minutes per table when the number of foreign key constraints is approx. 30 and the number check constraints is approx. 20. Total number of columns on our tables range from 35 to 60. I have tried converting the foreign key constraints to check constraints but that did not help. These times are a problem because we have 600 tables to secure. After performing a trace I can see that the bulk of the time is spent creating triggers...
    The plsql block that contains a call to
    sys.ud_trigs.trf_udtrgs_on_ver_enable.
    Is there anything we can do to improve performance? Analyzing tables doesn't help.

    Thanks for your reply. Here is the information you requested.
    1. The result of the following query: select * from wm_installation ;
    ALLOW_CAPTURE_EVENTS OFF
    ALLOW_MULTI_PARENT_WORKSPACES OFF
    ALLOW_NESTED_TABLE_COLUMNS OFF
    CR_WORKSPACE_MODE PESSIMISTIC_LOCKING
    FIRE_TRIGGERS_FOR_NONDML_EVENTS ON
    NONCR_WORKSPACE_MODE OPTIMISTIC_LOCKING
    NUMBER_OF_COMPRESS_BATCHES 50
    OWM_VERSION 10.1.0.3.0
    UNDO_SPACE UNLIMITED
    USE_TIMESTAMP_TYPE_FOR_HISTORY OFF
    ====================================================================
    2. The version of the database are you using.
    Oracle9i Enterprise Edition Release 9.2.0.2.1 - Production
    PL/SQL Release 9.2.0.2.1 - Production
    CORE 9.2.0.2.0 Production
    TNS for 32-bit Windows: Version 9.2.0.2.0 - Production
    NLSRTL Version 9.2.0.2.0 - Production
    ====================================================================
    3. The trace of the session that you created while calling enableversioning.
    BEGIN DBMS_WM.EnableVersioning('SECURED.AAC000','VIEW_WO_OVERWRITE');END;
    call count cpu elapsed disk query current rows
    Parse 2 0.01 0.01 0 0 0 0
    Execute 1 2.95 53.99 8 27119725 1313 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 3 2.96 54.00 8 27119725 1313 1
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 41
    ====================================================================
    4. Any test case that you might have that has the performance issue, including the RICs and check constraints.
    The following describes the table AAC000 with all the foreign key constraints and check constraints.
    Most check constraints are similar to: AOO >= -32768 AND AOO <= 32767
    Attribute          Data Type     Default          Code List
    ACC               NUMBER(10)               Z_VALUE_TYPE_CD001
    ACE               NUMBER(10)     -32768          **CHECK CONSTRAINT**
    ACE_9D066          NUMBER(10)               **CHECK CONSTRAINT**
    ACE_EVAL_METHOD_CD     VARCHAR2(3)     'FZD'          ACE_EVAL_METHOD_CD_CD001
    ACP_9D066          VARCHAR2(256)               
    AHA               FLOAT(126)               **CHECK CONSTRAINT**
    AHO               FLOAT(126)               **CHECK CONSTRAINT**
    ALE               NUMBER(10)     -32768          **CHECK CONSTRAINT**
    ALE_9D066          NUMBER(10)               **CHECK CONSTRAINT**
    ALE_EVAL_METHOD_CD     VARCHAR2(3)     'FZD'          ALE_EVAL_METHOD_CD_CD001
    ANT_9D066          NUMBER(10)               ANT_9D066_CD001
    AOO               NUMBER(10)               **CHECK CONSTRAINT**
    ARE               FLOAT(126)               **CHECK CONSTRAINT**
    ATN               NUMBER(10)               ATN_CD001
    AVA               FLOAT(126)               **CHECK CONSTRAINT**
    BEN_9D066          VARCHAR2(255)               
    CDP               NUMBER(10)               CDP_CD001
    CDV               VARCHAR2(8)               
    COC               NUMBER(10)               COC_CD001
    COMM_CPYRT_NOTICE     VARCHAR2(255)     'N/A'          
    COMM_LIC_TIER_NOTICE     VARCHAR2(255)     'N/A'          
    CREATION_DATE          DATE()               
    DCF               VARCHAR2(38)               
    DCF_9D066          VARCHAR2(38)               
    DIR               NUMBER(10)               DIR_CD004
    DMF               NUMBER(10)               **CHECK CONSTRAINT**
    DMR               NUMBER(10)               **CHECK CONSTRAINT**
    DRI_9D066          VARCHAR2(256)               
    EXS               NUMBER(10)               EXS_CD005
    FLDBGEOM          SDO_GEOMETRY()               
    FLDBID               NUMBER(10)               **CHECK CONSTRAINT**
    HAF_9D066          NUMBER(10)               HAF_9D066_CD001
    HGT               NUMBER(10)               **CHECK CONSTRAINT**
    HTR               NUMBER(10)               HTR_CD001
    HZD               NUMBER(10)               HZD_CD001
    LEN               NUMBER(10)               **CHECK CONSTRAINT**
    LMC               NUMBER(10)               LMC_CD001
    LNG               NUMBER(10)               LNG_CD002
    MCC               NUMBER(10)               MCC_CD003
    NAM               VARCHAR2(80)               
    NFI               VARCHAR2(18)               
    NFN               VARCHAR2(18)               
    OPERATOR          VARCHAR2(40)               
    ORIGINATING_SOURCE     VARCHAR2(100)               ORIGINATING_SOURCE_CD001
    ORIGINATOR          VARCHAR2(75)               
    ORIG_SOURCE_DATE     DATE()               
    ORIG_SOURCE_INFO     VARCHAR2(100)               
    PFG               FLOAT(126)               **CHECK CONSTRAINT**
    PFL_9D066          VARCHAR2(255)               
    PMID               NUMBER(10)     -32768          **CHECK CONSTRAINT**
    PRM               NUMBER(10)               PRM_CD001
    PRO               NUMBER(10)               PRO_CD006
    QLE               VARCHAR2(4)               
    RLN_9D066          VARCHAR2(255)               
    RLT_9D066          VARCHAR2(255)               
    RSTRN_DCLS_XMPT_CD     VARCHAR2(50)               
    RSTRN_DECLASS          VARCHAR2(75)               
    RSTRN_DSEM_CTRL_IC     VARCHAR2(255)               
    RSTRN_DSEM_CTRL_NIC     VARCHAR2(255)               
    RSTRN_FOREIGN_GOV     VARCHAR2(255)               
    RSTRN_RELEASIBILITY     VARCHAR2(255)               
    SCALE               NUMBER(10)               **CHECK CONSTRAINT**
    SEC               NUMBER(10)               SEC_CD001
    SEC_CD_CNTRL          VARCHAR2(50)               SEC_CD_CNTRL_CD001
    SEC_CLASS          VARCHAR2(4)               SEC_CLASS_CD001
    SEC_CLASS_SYS_ID     VARCHAR2(255)               
    SEC_CLS_AUTHORITY     VARCHAR2(10)               SEC_CLS_AUTHORITY_CD001
    SEC_CLS_AUTH_DESC     VARCHAR2(255)               
    SEC_CLS_AUTH_MULT     VARCHAR2(255)               
    SMC               NUMBER(10)               SMC_CD002
    SPEC_ID               VARCHAR2(100)               SPEC_ID_CD001
    SPL_9D066          VARCHAR2(510)               
    SSR               NUMBER(10)               SSR_CD001
    STC               NUMBER(10)               STC_CD001
    TXT               VARCHAR2(256)               
    UFI               VARCHAR2(37)               
    UFI_9D066          VARCHAR2(37)               
    UPDATE_SOURCE          VARCHAR2(100)               UPDATE_SOURCE_CD001
    UPDATE_SOURCE_DATE     DATE()               
    UPDATE_SOURCE_INFO     VARCHAR2(100)               
    VDC               NUMBER(10)               VDC_CD001
    VOI               VARCHAR2(11)               
    WID               NUMBER(10)               **CHECK CONSTRAINT**
    ZV2               NUMBER(10)               **CHECK CONSTRAINT**
    ZV2_9D066          NUMBER(10)               **CHECK CONSTRAINT**
    Z_VALUE_TYPE          VARCHAR2(100)               Z_VALUE_TYPE_CD001
    ====================================================================
    5. The number of rows in a typical table before versioning.
    There are no rows in the tables we are securing. Eventually we plan to have any where from a
    few hundred to a few hundred thousand rows in each table before securing, but we are trying to
    get past these performance issues.
    From what I can tell, each constraint requires 3 or 4 triggers and each trigger takes any
    where from 2 to 10 seconds to create.

  • How to use stored procedure with many return results and variable with perl

    Hi everybody,
    i´m writtting now a Perl programm, wich use a oracle stored procedure with more than 1 result and 1 variable(I have to return 2 variable fpr each result). I don´t now how I can get it.I already search the web but I didn´t find.
    My example:
    PROCEDURE get_projects_and_sub_projects (
    v_project_id IN INTEGER,
    v_project_c_id OUT INTEGER,
    v_project_id_find OUT VARCHAR2
    IS
    BEGIN
    SELECT c_id, proj_id
    INTO
    v_project_c_id,
    v_project_id_find
    FROM t_projet
    WHERE t_projet .ksa_pro_art_kbz = 'KU'
    AND t_projet.proj_id LIKE v_project_id || '%';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    v_project_c_id := NULL;
    v_project_id_find := NULL;
    WHEN OTHERS
    THEN
    kmessages.error (NULL,
    'get_projects_and_sub_projects',
    'Project-Name: ' || v_project_id,
    'Errornumber: '
    || SQLCODE
    || ' Error: '
    || SQLERRM,
    TRUE,
    TRUE
    raise_application_error (-20001,
    'Error '
    || SQLCODE
    || ' get_projects_and_sub_projects: '
    || SQLERRM,
    TRUE
    END get_projects_and_sub_projects;
    in Perl Program:
    sub get_projects_unterprojects_name($$){
    my ($db_handle, $proj_name_id) = @_; #$db_handle ist the DB Connection return value
    my $db_proj_c_id;
    my $db_proj_name;
    eval{ my $csr = $db_handle->prepare(q{
    BEGIN
    pro_doc_ber.get_projects_and_sub_projects(:proj_name_id, :db_proj_c_id, :db_proj_name);
    END;
    # parameter value
    $csr->bind_param(":proj_name_id", $proj_name_id);
    # return values
    $csr->bind_param_inout(":db_proj_c_id", \$db_proj_c_id, 11);
    $csr->bind_param_inout(":db_proj_name", \$db_proj_name, 20);
    $csr->execute(); };
    But this didn´t work. Could somebody give me some idea?
    Thank you
    Felx

    Some additional info would probably be helpful.
    What is your programming enviironment? Java?
    In any case I suspect that you will need to use the OCI to deal with specific Oracle types such as user defined object types -- thats not standard ANSI SQL.
    In Java I believe you need to use OPAQUE, there are some examples out there. I'm mostly a PL/SQL developer with some Java expereince so others here are more qualifed to answer your question more directly.

  • I have a Application Form with many form fields and...

    I need to edit some of the text. How do I do this without having to spend lots of time putting in the form fields again?

    I am guessing you have put the form together in something like InDesign, made a PDF, done a lot of work with form fields over the top in Acrobat and now need to update the base artwork whilst retaining your Acrobat Edits?
    The way to do this is make your base artwork edits and make a new PDF (with a different name), open your PDF with the added form fields and choose Document > Replace Pages, navigate to your new PDF and replace the pages.

  • Is it true that Thunderbird does no longer works well with POP mail servers and only works well with IMAP servers?

    Our email host is telling us that our outdated POP mail server doesn't work well with Thunderbird and it the reason we're having sporadic difficulty sending out emails with attachments when using Thunderbird (no problems when sending emails directly from the email host's web portal and bypassing Thunderbird). We'll often get notification when using Thunderbird and trying to attach PDF'd documents to an email that "Sending of message failed. The message could not be sent because the connection to SMTP server timed out." The email host company is advising that this problem will be solved if we upgrade from the free POP email to the not free IMAP email. True? Or are they just using this Thunderbird problem as an excuse to sign us up for unnecessary services?

    I think they are using this as an excuse.
    Messages are sent via SMTP. Both, POP and IMAP are protocols to receive mail.
    In any case, it would be '''their''' 'outdated POP mail server', not yours.
    Check this article for troubleshooting the problem.
    https://support.mozilla.org/en-US/kb/cannot-send-messages

  • Install errors with many 2014 apps and can we safely uninstall previous versions post-installation of the new releases?

    I'm getting errors for several CC 2014 applications. The CC desktop says "Installation Failed", and yet some have actually been installed despite the failed message.
    I also want to know if we can/should uninstall the old versions (CC and CC 64-bit) before (or after?) updating, because rather than upgrading the applications (which would have been nice), it just installs alongside them....so now I have 3 versions of Illustrator, 3 versions of PS, etc. I don't want all these versions, only the latest. Is it safe to uninstall the older versions (CC and CC 64) post-failed-installation of 2014, or should I just uninstall all and reinstall?
    Thanks in advance.

    I'm getting errors for several CC 2014 applications. The CC desktop says "Installation Failed", and yet some have actually been installed despite the failed message.
    I also want to know if we can/should uninstall the old versions (CC and CC 64-bit) before (or after?) updating, because rather than upgrading the applications (which would have been nice), it just installs alongside them....so now I have 3 versions of Illustrator, 3 versions of PS, etc. I don't want all these versions, only the latest. Is it safe to uninstall the older versions (CC and CC 64) post-failed-installation of 2014, or should I just uninstall all and reinstall?
    Thanks in advance.

Maybe you are looking for