10G event question

Hello all
I am coding Forms in 10G and i have an architectural question. If i am coding a form event with plsql that is not hitting the database how do i know that it is not making a call to the app server. I am worried about coding events that make too many calls back to the server which limits performance. I have coded in .NET and the ability to have events on everything is great for features but really bad for performance. I don't want to create features that are hindering performance due to round trips.
thanx in advance

Hi,
good, question, that I don't have an answer for. I would assume it to be three round trips because the trigger fire in different times and as far as I remember Forms only bundles triggers that are on a specific item.
Forms does not know whether or not PLSQL code is associated with a trigger and this currently is discussed internally at Oracle as well as here on the forum (some month ago).
The outcome so far is that it is difficult to not ping the server about actions taking place on thw Forms client because it could be a navigation involved. This, if not reported back to the server, leads e.g. to the :system.cursor_item giving the wrong return value. As said, this is something we are discussing but haven't come to a conclusion.
For you this means that no matter if there is a PLSQL code associated with a trigger, a network round trip is made. However, keep in mind that we are not issuing a round trip for all triggers on an item but bundle all triggers that fire to the same time (e.g. all POST triggers on an item will cause one roundtrip)
Frank

Similar Messages

  • Discoverer 10G Plus Questions

    Hi
    We're in the process of upgrading from Discoverer 4 (APPS EUL) to 10G. We're doing away with the Desktop client. Most users will be given access to Discoverer Viewer and other users will be given access to Plus. We have recently upgraded or DEV instance and there are a few "questions" (i.e. gripes) that users have come back to me with:
    1) Do all reports have to be stored on the database to allow them to be accessed by Plus or Viewer? Can only the 10G client version open files from a local hardrive or shared network drive?
    2) Can only one report be open at any given time with Plus or Viewer? In client it is possible to have 2 reports open at the same time to facilitate easier comparisons.
    3) NULL values are still showing the word "NULL" even though in Tools Options we have set it to show blank, existing reports are still using the NULL value.
    I'd very much appreciate feedback on any of the 3 points above.
    Thanks.
    Paul.

    Hi paul,
    Its a good idea to upgrade from 4i to 10g 4i is no more used by many and their are some issues or bugs with it.The latest version is 11g which has been released 1 week back.If not go with 10g version available.
    1) Do all reports have to be stored on the database to allow them to be accessed by Plus or Viewer? Can only the 10G client version open files from a local hardrive or shared network drive?Yes they have to stored in the database so any ened user can access them from plus or viewer.
    Can only one report be open at any given time with Plus or Viewer? In client it is possible to have 2 reports open at the same time to facilitate easier comparisons.Yes,if the reports are registered as different reports and if the end user has access to both the reports thn he can open and compare it OR if both reports are in same workbook as different sheets than its easy to view or compare.
    NULL values are still showing the word "NULL" even though in Tools Options we have set it to show blank, existing reports are still using the NULL value.It should show blank,might be some problem.In discoverer 10g i think you will not find this issues.
    Hope this helps you.
    Best Wishes,
    kranthi.

  • 10g memory question on windows 2003 64-bit

    oracle 10.2.0.4
    windows server 2003 sp2 64-bit
    We have a 10g database running on a windows 2003 64-bit with 32GB memory. We set the sga max and target to 10GB and cache to 5GB.
    When I look at the task manager, I see there is only 1GB of free memory left. We only have the database running on this server. I would expect a lot more free memory on this server. What would account for the difference? thx
    32GB - 10GB (db) - 5GB (cache) - 6.5GB (20% OS) = 10G

    Handle:      user13153528
    Status Level:      Newbie
    Registered:      May 24, 2010
    Total Posts:      38
    Total Questions:      15 (15 unresolved)
    so many questions without ANY answers.
    so, what is windows doing with the other memory, how do I see it?OS file system cache

  • Oracle 10g installation questions

    Hi,
    I tried to install Oracle 10g (Enterprise Edition) on Windows 2000 server, and encountered the following error when I used the Database Upgrade Assistance to ugrade one of my existing Oracle 8 database TEST.
    ORA-01658: Unable to create INITIAL extent for segment in tablespace USERS.
    I searched the forum, and seems that there is not enough space for my USERS tablespace. Is it the right solution?
    If I clicked Ignore for the above erro, another error appeared:
    ORA-00942: table or view does not exist.
    I don't have table or view in TEST database, it is just a database instance created by Oracle 8. Do I have to create tables or views in order to upgrade it to Oracle 10g database?
    I tried to upgrade an existing Oracle 8 database TEST1 which has data in it, and got the following error:
    ORA-01119: error in creating database file D:\oracle\oradata\test1\sysaux01.dbf.
    ORA-27044: unable to write the header block of file.
    One last question is that after the failing of the DBUCA, I was told that the 10g was successfully installed on my server while no orcl database was created even if I chose
    to create a database orcl during my installation.
    The following are services running for 10g after the installation.
    OracleCSService Started
    OracleOraDb10g_home1iSQL*Plus Started
    OracleOraDb10g_home1SNMPPeerEncapsulator
    OracleOraDb10g_home1SNMPPeerMasterAgent
    OracleOraDb10g_home1TNSListenerLISTENER10 Started
    Anybody has any idea what went wrong?
    Your early reply is greatly appreciated.
    Jane

    I believe the answers are:
    1. the Oracle client needs to be the same bits as the TimesTen server. i.e. if you have 64b TimesTen, then you will need 64b Oracle client. If you have 32b TimesTen then you will need 32b Oracle client.
    2. Yes. I believe you can install 64b TimesTen with 64b Oracle client and connect this to a 32b Oracle server. I dont have any idea about performance overhead of this configuration.

  • Oracle 10g Install Question

    Hi All,
    I have to install oracle 10g onto a server where there is existing oracle 9i software.
    Is it safe to go ahead with the install, while the 9i databases are up?? what are the consequences of doing this?
    OS patches and kernel parameters as required for oracle 10g have already been changed.
    10g is being installed into a different oracle home and i would choose not to overwrite any of the files as asked by root.sh script.
    OS is hp-ux 11i (11.11).
    Thanks & Regards
    Chandar
    Edited by: chandark on Dec 9, 2008 9:50 PM

    Hi,
    Thanks for your reply.
    Sorry for not being clear in my question earlier.
    I am planning to install Oracle 10g on a server with existing 9i software. My question is whether we should shutdown all 9i databases for the duration of the install or we can leave them running as long as we do not overwrite any 9i files including files in /usr/local/bin directory that contains oranev etc...
    To be on the safer side it is always recomended to shutdown any oracle instances running before we start the install. Wanted to know the consequences if we have them up and running for the duration of the install.
    Thanks & Regards
    Chandar

  • Albums and events question

    Hi when I drag folders containing photos into Iphoto it creates an event. What I currently do is after the event is created, I select an event, I hit the + sign in the bottom left and create an album.
    I like having my albums on the left side for quick access to my library of photos. The problem is that if I add 30 folders, 30 events are then created.
    I have to manually create an album out of each event one at a time. Is there any way that once an event is created it automatically creates and album. So say that 10 events are created, 10 albums will appear on the left.
    If I select a couple events and hit the + option and hit create an album, it will only create one album out of the events selected. I would like to select multiple events at one time and have multiple albums created instead of just one. How do I do that?
    Is what I want to do possible? thanks

    Well let me answer a question with a question
    Why have all your Events mimicked in Albums? IF you can find the pic in an Event, you can find it in an Album.
    To say nothing of all the basics: If you have the year, month, day. Title, keywords, camera a model etc etc you can use any (and all) of these to find your pics too.
    To merge Events: Simply drag one to another in the iPhoto Window.
    Regards
    TD

  • Alter system set events Question

    Version 10202 on AIX
    sql> alter system set events '4030 trace name heapdump level 536870917; name errorstack level 3';
    Questions about this statement..
    what this command is doing, i guess creating tracefile for event 4030...& the location of trace file would be the current direcotry?
    & how to setup same kind of event trace for other events, any tips....& what to check in tracefile for problem?

    The values for level I have record are 1, 2, 3, 8, and 32 so I am guessing the number shown is the address of a specific heap to be dumped. The address of a heap would potentially change with a change in the shared pool storage parameters. Where did you get the address value?
    The dump should go to the user background dump destination and not the current directory.
    PS - if you have metalink look at document: #218105.1 Introduction to ORACLE Diagnostic EVENTS
    HTH -- Mark D Powell --
    Message was edited by: MDP add PS to Metalink Doc
    mpowel01

  • Forms 6i to 10g Migration Questions

    Hi,
    My company is thinking about migrating Forms 6i to 10g. I wonder if you can share some of your experience with us (and with thousands of others who will also face the same daunting task)
    1. How do you like/dislike Forms 10g after the migration?
    2. What are the pitfalls of Forms 10g? What are the strengths?
    3. Other than Oracle Migration tools, is there any other tools that can help us?
    4. How long is the migration process typically taken?
    5. What problems have been encountered in the upgrade process?
    Thank you very much!
    Sincerely,
    John Sun

    May I answer your question with some questions of my own? :)
    1. Are you migrating from Forms6i client-server or web?
    2. If Web, to a non-Windows middle tier (hopefully)?
    3. Do you plan to incorporate OID/SSO and/or Portal in the new environment?
    I just reached the end of a 6-month long prototyping project to migrate our Forms/Reports 6i application (80% client-server, 20% web) to 10g, using SSO and Portal for report destination. We migrated about a dozen forms of varying complexity and rewrote our main application/menu form. We originally thought the prototype would take 3-4 months. The purpose was to learn what we needed to develop the best migration approach and have an idea of what it would cost. The application has about 650 forms/reports modules. Costs and the learning curve prohibited a move to J2EE/ADF; oh I wished... Management is hoping we can complete the full migration in about a year, but I think... well, this is a public forum and I am using my real name. ;)
    We've only been using 10g release 2 since the end of January. Stay away from release 1 at all costs. Even release 2 is not what I would call entirely stable. I just opened a SR on MetaLink a few days ago for a problem I was able to recreate where the use of a button on a form-level toolbar that directly or indirectly call_forms a new form, and then navigation occurs back to the original form (say, when trying to minimize or rearrange widows) causes the session to crash with the infamous ORA-92101. We rely heavily on a hierarchical tree for our application menu, and keyboard navigation on the tree is somewhat broken (tree triggers not firing).
    However, many long-standing 6i bugs have been fixed, and I really, REALLY do appreciate being at PL/SQL version 10 in Forms.
    But we have some real challenges too, some self-inflicted. Some 400 of our application forms were converted from SQL*Forms 3.0 via Kumaran a while back. This is admittedly our greatest challenge. The V3 forms, being they were character-based with no mouse support, had lots of code in Key-navigation triggers that was never meant to be in navigation triggers (validation, etc) and would get bypassed if the user skipped the field using a mouse. Kumaran solved this problem using mouse triggers which are no longer supported on the web. We also are attempting to introduce some enhancements during the migration like become Section 508 compliant.
    I did not opt to use the migration tool; it doesn't really do that much for you anyway.
    One headache for us was Reports. We eliminated many temporary tables (permanent tables created temporarily) in user schemas for the use of global temporary tables. Granted, this feature showed up in Oracle9i. But in 10g, we found inadvertently that database sessions for reports are initiated by a java process and reused for performance, meaning different reports sometimes (and unpredictably) are sharing database sessions instead of getting their own. It would've been nice to know this beforehand because it was a challenge to find out the hard way.
    My biggest complaint is that Forms still lags behind in features that are part of the application server. For example, I would've loved to implement Enterprise Users and rid our database of the many thousands of user accounts. But Forms doesn't support it. And Oracle really should have provided a migration tool to create the OID resource that links the OID user account via SSO to the database account. Especially since Forms only works with database accounts. All we got was a 9i-based White Paper on the APIs to write our own. This is Oracle data, not application data for heavens sake!
    I've opened easily over a hundred SRs during this time, and am quite sure that my name is mud by now and that I have lost any chance of ever getting hired by Oracle. ;)
    If your DBAs are database-centric and not used to administering a middle tier-- or administer an old middle-tier like 9iAS 1.0.2.2.2, get them into instructor-led training on 10g administration BEFORE they have to install the 10g infrastructure and middle tiers. The architecture is radically changed and infinitely more complex. As far as the workload the developers will face; Forms is still pretty much Forms, but the state of your existing code will play into it.
    I was so tired of spending years on older versions of Oracle software. And I am proud to announce that I am now intimately familiar with what is known as The Bleeding Edge.

  • 10g listener question

    Hi
    All,
    First question
    When I do some minor modification in tnsnames.ora. Do I Need to stop and start listener again.
    Second question
    And If I want to stop and start listener Do I need to stop all the databases before I can stop and start listener ? (9i and 10g)
    Thanks,
    Vishal

    When I do some minor modification in tnsnames.ora. Do I Need to stop and start listener again.No, tnsnames.ora is totally independant to the listener.
    And If I want to stop and start listener Do I need to stop all the databases before I can stop and start listener ? (9i and 10g)No, the listener is used only to connect new client to the server, once the connection is done, listener is not used anymore for that connection.
    Note you can reload instead of stop and start the listener.
    Micolas.

  • 10g, DBMS_ADVANCED_REWRITE question

    Hi,
    I'm on an Oracle 10g database. I have been reading about the DBMS_ADVANCED_REWRITE package. It sounds really cool. I do have one question about how it works ...
    If I have a query ...
    select mycol1
    from mytable
    where mycol2 = 123
    order by mycol1;
    Is there any way to use this package with out knowing what '123' would be? ie it is possible it can change?
    Is it possible to do something like the following?
    select mycol1
    from mytable
    where mycol2 = VARIABLE
    order by mycol1;
    Thanks for helping this novice.

    The DBMS_ADVANCED_REWRITE package allows you to intercept specific SQL statements and replace them with alternative statements. This is done by defining functional equivalence definitions, which are used by the rewrite engine in addition to regular query rewrites. This can be useful when you need to make minor alterations to the way applications work when you don't have access to the code. This article presents a simple example of how this can be achieved
    see this link
    http://www.oracle-base.com/articles/10g/dbms_advanced_rewrite.php

  • Click Event Question - VB6 SDK 6.5

    A quick question for you guys:
    On the A/R Invoice form, I have a UDF that exists as a combo box.  I can trap the et_COMBO_SELECT event on that combo box just fine, however, I would like to generate a click event on the 'Name' field on the main form from the UDF et_COMBO_SELECT event.  The problem I'm running into is that because the form that contains the UDF has a different UID from the actual A/R Invoice main form, I get an error when I try to perform the click event on the 'Name' field.  The code I'm using is below.  Any help would be appreciated.
    Thanks,
    Greg
    '(A/R Invoice) Change value of eqp_DivisionCode global variable when combo select event triggers
    If eqp_pVal.FormType = -133 And eqp_pVal.FormMode = fm_ADD_MODE And _
       eqp_pVal.ItemUID = "U_Division" And eqp_pVal.EventType = et_COMBO_SELECT Then
       Set eqp_frm = SBO_Application.Forms.Item(FormUID)
       Set eqp_cmbDivision = eqp_frm.Items("U_Division").Specific
       eqp_DivisionCode = eqp_cmbDivision.Selected.Value
    End If

    Hi Greg,
    if you want to access a User Defined Field on a System Form but in header level you need to approach it as follows:
    If (pVal.EventType = et_FORM_LOAD And pVal.FormType = 139 And _
        pVal.Before_Action = True) Then
            Set oform = m_App.Forms.Item(FormUID)
            Dim oUsrForm As SAPbouiCOM.Form
            Dim num As Long
            Dim UDFformUID As String
            num = Right(FormUID, (Len(FormUID) - 2))
            num = num + 1
            UDFformUID = "F_" & num
            Set oform = m_App.Forms.Item(UDFformUID)
            oform.Items.Item("U_1").Specific.String = "Test"
        End If
    Regards,
    Lisa Mulchinock
    SAP SDK Consultant
    Galway

  • Wait event in 10g "events in waitclass others" , DB is stuck

    Hi ,
    I need help ,
    no one can login into the DB , there are 5 updates running in parallel right now ,
    only those who were inside before the updates began to run can work .
    connect through listener is impossible , but without listener (i.e sqlplus user/password) is o.k .
    in v$session_event for each update I see "events in waitclass others" wait event , with large values either in "total_waits" column , and "total_timeouts" .
    I cannot find anything in asktom , or google .
    yesterday we migrated from 9i to 10g .
    a month ago we did the same in the dev area with no problems .
    did anyone see that events before , and know what should be done to solve this problem ?
    Thanks ,
    Lior .

    sir,
    my few parameters that i've set.
    fast_start_mttr_target = 220
    db_recovery_file_dest_size = 10G (includes backupset, archivelogs, flashback)
    sga_target = 1048M
    pga_aggregate_target = 600M
    these two statements consuming significant time of wait..
    SELECT TO_CHAR(OLDEST_FLASHBACK_TIME, 'YYYY-MM-DD HH24:MI:SS') FROM V$FLASHBACK_DATABASE_LOG
    SELECT (:"SYS_B_0" - sum(percent_space_used)) + sum(percent_space_reclaimable)
    FROM v$flash_recovery_area_usage
    there is also lots of time consuming in control file sequential read..
    any hints for the problem..which parameters i've to check or any other...

  • 10G installation questions

    HI
    At the time I was installing my Oracle10G in my WinXP, the ip address of my host ( PC) was "192.168.1.105". Now it is changed to "192.168.1.100", my EM is not working ( em_start_out,txt - see below )
    Questions:
    ========
    1. How do I handle and address this issue ?
    2. Can I force installer to use host name instead of IP sddress ?
    3. Can I install just the enterprise Manager along. ?
    C:\oracle\product\10.2.0\db_2\oc4j\j2ee>dir
    Volume in drive C is HP_PAVILION
    Volume Serial Number is 3436-15C3
    Directory of C:\oracle\product\10.2.0\db_2\oc4j\j2ee
    08/21/2006 06:10 AM <DIR> .
    08/21/2006 06:10 AM <DIR> ..
    08/10/2006 02:32 PM 264 deploy_db.ini
    08/10/2006 02:29 PM <DIR> home
    08/10/2006 02:27 PM <DIR> isqlplus
    08/10/2006 02:27 PM <DIR> oc4j_applications
    08/10/2006 02:27 PM <DIR> OC4J_DBConsole
    08/10/2006 02:37 PM <DIR> OC4J_DBConsole_192.168.1.100_orcl
    1 File(s) 264 bytes
    7 Dir(s) 136,122,929,152 bytes free
    C:\oracle\product\10.2.0\db_2\oc4j\j2ee>cd
    em_start_out.txt
    ======================================
    C:\oracle\product\10.2.0\db_2\oc4j\j2ee>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://192.168.1.100:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleor
    cl service is starting.
    The OracleDBConsoleorcl service could not be started.
    A system error has occurred.
    System error 3 has occurred.
    The system cannot find the path specified.
    C:\oracle\product\10.2.0\db_2\oc4j\j2ee>

    Atual,
    Thanks.
    I tried. did not help.
    I have two questions.
    1. At this point, I am unable to start the window service " OracleDBConsoleorcl".
    How do I check the logfile to address this issue.
    2. How do I see the logfile created by the "emctl startup dbconle" command.
    3. What is the config file used by the "emctl startup dbconle" command to derive the following URL http://192.168.1.100:1158
    Here is my terminal output
    ========================
    C:\Documents and Settings\HP_Administrator>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Hi Atual,
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://192.168.1.100:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleor
    cl service is starting.
    The OracleDBConsoleorcl service could not be started.
    A system error has occurred.
    System error 3 has occurred.
    The system cannot find the path specified.
    C:\Documents and Settings\HP_Administrator>

  • Calendar Event Question

    I'm new to iPhone, coming from Blackberry. I would like to be able to schedule an event to repeat every five weeks and another event every four weeks. Is there a way to customize this? If not, can you recommend an app which will give me a reminder every four and/or every five weeks? Thank you!

    Sorry, answering my own question. It seems you have to do it on iCloud. Kind of frustrating if you're not on your computer but at least it's possible. Thanks for reading.

  • Iphoto Events Question

    This is probably a very easy question.
    If you have one event called Trips and drag photos out of that event into a few others to break them down into seperate events like Trips 2007 and Trips 2008, do the pictures you drag over to new albums get copied over so you can delete the original Trips event or does it just create a pointer from original event to new event?
    I just want to be sure so I dont have multiple copies of photos taking up space if I dont have to.
    Thanks in advance

    Patrick
    You need to be really clear on your Terminology for this one.
    do the pictures you drag over to new albums get copied over so you can delete the original *Trips event* or does it just create a pointer from *original event to new event* ?
    Are you talking about Albums or Events?
    When you drag from Event to Event the actual file is moved. Events in the iPhoto Window correspond exactly with the Folders in the Originals Folder in the iPhoto Library package file (Right click on it in the Pictures Folder -> Show Package Contents). You can move photos between Events, you can rename Events, edit them, create them, as long as you do it via the iPhoto Window. Check out the Info Pane (wee 'i', lower left) the name and date fields are editable. Edit a Event Name using the Info Pane, the Event Folder in iPhoto Library/Originals will also have the new name.
    When you add a photo to an Album it's a reference and not moving an actual file.
    So which are you talking about, Albums or Events?
    Regards
    TD

Maybe you are looking for

  • How to transfer metadata from old PC to new Mac?

    All, I would like to transfer my entire iTunes library from a PC to a MacBook Pro. The PC runs XP. My key question is how to import the metadata, i.e., play count and ratings?

  • How can I create different headers in Pages 09?

    I hope someone can explain to me how to solve this issue: I'm creating a simple training manual and I want the different chapters to appear in the header of the page - Chapter 1, Chapter 2, etc. Left and right pages are different because the margin h

  • No syslog on device center

    Hi all, I have test for the ws-c2960s-tc-l to unplug the cable, it can see the syslog in device center. however when i test for cisco3945 to unplug the UTP cable. it doen't show any message on device center. I can see the syslog from the log/syslog.l

  • Oracle 11g r2 report server on vmware esxi 5.1

    dear gurus assist me we are facing issue with oracle 11g r2 report server on vmware esxi 5.1 see all of sudden report function, however we restart server then it work fine, where it is on windows 2008 r2 sp1 our vendor say not certify by oracle this

  • Setting menu duration

    Hi I'm trying to set my loop duration in iDVD 8 to a precise value in seconds, but it like the slider jumps between specifics random value depending on the selected audio track. I don't seem to be able to set it at a specific wanted value, eg. 30 sec