Determining number of cursors needed !!!

Hi all,
We are developing a web-based app with lot of pl/sql procedures & functions (more than 150).
But we have to suggest the number of cursors to be set in the INIT.ORA to the client.
My question is "How to determine the number of cursors needed for my application to run smoothly for 100 users?".
Appreciate your views.
Thanks.

The open cursors initialization parameter controls the number of cursors that can be open per session, so the number of simultaneous users is irrelevent. If you're watching the number of open cursors your sessions have open, you can set parameters based on the high-water mark you've seen in testing.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC

Similar Messages

  • Get plot number for cursor in "Cursor Plot" = -1 mode (snap to any plot)

    I have a XY graph with multiple plots. For my cursors the "Cursor Plot" property is set to -1 so that the cursor can snap to any of the plots. My problem is that I need to get the plot number the cursors is currently associated with. HOw can I do that?
    thanks for any tips!
    klaus

    Hi Klaus,
    there is a property node for that.
    I've attached an example.
    Regards
    DianaS
    Attachments:
    XYPlot Cursor.vi ‏18 KB

  • Using MASSG to determine number ranges in NUMKR

    Hi,
    I am trying to get NUMKR to determine number ranges using reason for action(MASSG).  A new business unit is coming onboard and need to keep their existing staff numbers. Therefore two number ranges were set up. 01 for external and 02 for internal.
    A reason for hire action exists with the reason 99 - Data migration.
    NUMKR is set as follows.
    If MASSG = 99 and employee group = 1 then choose number range 01 otherwise if MASSG <> 99 and employee group = 1 then choose number range 02.
    However when running PA40. This does not work and it ends up always picking the otherwise option.
    Has anybody else experienced this?
    Thanks in advance

    Hi David
    There seem to be an error while setting the feature. You are adding another condition of EG=1 in the otherwise & that is probably causing an error. Can you set the feature as follows:
    Country Code = 99 > EG =1> MASSG = 99 --> 01 otherwise 02. And the otherwise that you get at the country code level =02 unless you have other country Molga's defined. Please check that all the employees that you are trying to get into the system initially are EG =1 else it will not work. After creating the feature & ensuring that the feature is error free, activate it.
    Regards
    UR

  • XSU - Maximal number of cursor in a query -(Typelength exceeds max value)

    Hi,
    Is there a way to increase the maximal number of cursors in a OracleXMLQuery object in XSU?
    I have an object splitted in more than 50 tables and I need more than 50 cursors in order to get the whole object as XML.
    XSU is giving me an error each time I try to get more than 50 cursors in a query:
    <ERROR>oracle.xml.sql.OracleXMLSQLException: Typlaenge groesser als Hoechstwert</ERROR>
    (sorry it is german, it means something like Typelength exceeds the maximal value)
    It would be great if someone knows, I tried everything.
    Cheers,
    Diego

    Hi,
    Go to context related method of Search view
        - redifine method DO_INIT_CONTEXT, before redifine copy the existing code.
        - Add the same code to your redfined method and specify the no of max hits required.
        - if this is a custom application you can find the code in Standard Search applications like Quotation/Sale Order etc
    Sample code :
    method DO_INIT_CONTEXT.
      data:
       lv_cnode type ref to cl_bsp_wd_context_node_asp,
       lr_qs    type ref to cl_crm_bol_dquery_service.
      field-symbols: <qs_name> type crmt_ext_obj_name.
    set flag for later intialization in DO_PREPARE_OUTPUT
      me->set_init_qs( abap_true ).
    check if QS already exist
      lv_cnode = get_dquery_cnode( ).
      lr_qs ?= lv_cnode->collection_wrapper->get_first( ).
      if lr_qs is not bound.
      add empty QS in order to allow application to prefill values
        assign lv_cnode->('BASE_ENTITY_NAME') to <qs_name>.
        lr_qs = cl_crm_bol_dquery_service=>get_instance( <qs_name> ).
        lv_cnode->collection_wrapper->add( lr_qs ).
      endif.
    Initialize maximum hits parameter if not yet set
      data: data_ref type ref to data.
      field-symbols: <max_hits> type i.
      data_ref = lr_qs->get_property( iv_attr_name = 'MAX_HITS' )."#EC NOTEXT
      assign data_ref->* to <max_hits>.
      if data_ref is not bound or <max_hits> = 0.
        data: max_hits_default type i.
        max_hits_default = 20000. "cl_crm_ui_parameter_util=>get_search_max_hits( ).
        lr_qs->set_property( iv_attr_name = 'MAX_HITS'
                                iv_value = max_hits_default ).  "#EC NOTEXT
      endif.
    Comment out this code as you might get error for this.
    register for change of dquery service
    set handler on_dquery_changed for lv_cnode->collection_wrapper.
    set handler on_config_data_changed.
    endmethod.
    Thanks,
    Aniket
    Edited by: Aaniket Korde on Dec 14, 2009 11:54 PM

  • Is there a way to make a number of cells add to a certain number. I need 5 or 6 cells to add to 1700. If one of the cells becomes 0, I need the other cells to change so the bottom number stays at 1700.

    is there a way to make a number of cells add to a certain number. I need 5 or 6 cells to add to 1700. If one of the cells becomes 0, I need the other cells to change so the bottom number stays at 1700.

    Okay then. If your seven numbers are in column B then the formula next to each number in column C would be
    =IF(B=0,0,1700/COUNTIF(B,">0"))
    This assumes all non-zero numbers are positive numbers. The sum will be 1700.

  • I am having alot of trouble i want to use imessage but everytime i turn it on it turns on but doesnt work and it says verifying but its verifying my old number and i need it to verify my new number but it wont let me

    i am having alot of trouble i want to use imessage but everytime i turn it on it turns on but doesnt work and it says verifying but its verifying my old number and i need it to verify my new number but it wont let me

    You can likely download the last compatible version by:
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.

  • How do I determine what xtras are needed?

    From the searching I have done it appears that xtras equired are mostly trial-and-error.
    Is there an efficient way to determine what xtras are needed for each lindividual movie?
    My programs are divided into a series of sequential movies.  At the end of each movie
    there is a goto statement to launch the next movie.  Does that require me to determine
    xtras for each separate movie? 
    In a perfect world there would be a way for Director to search a  folder for and present an aggregate list of all xtras required for that set of movies.
    If no such method exists, what is the recommended hunt and peck system?

    Thanks for the response, rduane.  But I refer to the procedures as a bit random for the reasons you mentioned in your explanation.  For example, you stated that, "Director will normally add all of the Xtras that you need to each movie as you build it".  And, yes, I know that it does add some automatically.  But, if Director really does "add all of the xtras that you need to each movie as it is built", how could I ever jump to one that is missing a needed xtra?  If it needs it, why wasn't it added when it was built?
    So, that's the reason I mentioned "trial and error", and "hunt and peck".  The system is not reliable in its handling of xtras, or which ones are needed where.  I am familiar with workarounds such as going to each movie and selecting Modify>Movies>Xtras to see which ones Director has added,  But that is all it tells you.  It does not tell you if it has added all the xtras "needed".  And when the error message comes up, it does name the missing xtra, but not which movie needs it.  So, one has to go find the named xtra and copy it over to the Xtras folder. 
    At least, that's what I do to fix it.  But I asked the question because I wanted to know if Xtras handling itself is unreliable, or if I'm doing something incorrectly.
    Dewey-+

  • New CS6 on disk for Mac will not take my valid serial number; do I need to register the product before it will accept serial number and load on my Mac Book Pro?

    New CS6 on disk for Mac will not take my valid serial number; do I need to register the product before it will accept serial number and load on my Mac Book Pro?

    Hi Erwin,
    Please go through the below forum link and check.
    https://forums.adobe.com/thread/1079210
    Regards,
    Anand

  • Determining number of teenagers living in a street

    I'm creating a java program to determine how many people are in a street, and how many of those people are teenagers. The information is gathered from an input file which is featured below.
    INPUT FILE*
    12 20 13 19 34 80 0 14 75 17 50 1 11 11 30 90 15 16 70 50 -2
    CODE*
    /* Session7A07.java */
    /* Determines number of teenagers living in a street */
    import java.util.*;
    import java.io.*;
    public class Session7A07
      public static void main (String[] args) throws FileNotFoundException
       /* variable declarations */
       int    age,
              people_count,
              teenage_count ;
       File age_file = new File("Session7A07.txt");
       Scanner age_data = new Scanner(age_file);
       age = age_data.nextInt();
       while (age >= 0)
          ++ people_count ;
          if (age >= 13 && age <= 19)
                  ++ teenage_count;     
          age = age_data.nextInt();
       System.out.printf ("Teenage Count = %d%n", teenage_count) ;
       System.out.printf ("People Count = %d%n", people_count) ;
    ERRORS_
    M:\>javac Session7A07.java
    Session7A07.java:23: variable people_count might not have been initialized
          ++ people_count ;
             ^
    Session7A07.java:25: variable teenage_count might not have been initialized
                     ++ teenage_count;
                        ^
    Session7A07.java:29: variable teenage_count might not have been initialized
       System.out.printf ("Teenage Count = %d%n", teenage_count) ;
                                                  ^
    Session7A07.java:30: variable people_count might not have been initialized
       System.out.printf ("People Count = %d%n", people_count) ;
                                                 ^
    4 errorsCurrently have 4 errors and would greatly appreciate the help.
    Thanks in advance.

    redfalconf35 wrote:
    int age,
    people_count,
    teenage_count ;the compiler doesn't like that you declared your variables but didn't initialize them to a valueTo expand on that: Member variables (those declared in the class, but outside of a method) are initialized with a default value if you don't explicitly initialize them. Variables declared in a method aren't given a default value, so if you use them without first setting their value, the compiler complains. Your while loop's body isn't guaranteed to be entered, so there's no guarantee that your variables will be set before use.

  • I purchased and downloaded Lightroom 5.5. After installing it, I was prompted for the serial number. When I entered it an error message appeared saying it was an upgrade serial number and I need to enter my original purchase number. This was my original p

    I purchased and downloaded Lightroom 5.5. After installing it, I was prompted for the serial number. When I entered it an error message appeared saying it was an upgrade serial number and I need to enter my original purchase number. This was my original purchase, not an upgrade. Now what do I do?

    It sounds like you bought an upgrade from Adobe. How much did you pay? The upgrade is about $80, and the non-upgrade is about $150. If you bought an upgrade version and had no previous version, you would see what you're seeing.
    If that is the case and I were you, I'd call Adobe, and arrange for a refund and to order the correct version.
    Hal

  • I have a disc for Photoshop CS-6 and entered the redemption code; system says I'm all set and a serial number is not needed. Install program on disc will not proceed without serial number.

    I have a disc for Photoshop CS-6 and entered the redemption code; system says I'm all set and a serial number is not needed. Install program on disc will not proceed without serial number. How do I resolved this Catch-22?

    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • I have CS2 with the discs and serial number. After needing to have my computer wiped, reloading the discs, and imputing the serial number, neither phone activation or on-line activation works. What do I do? Lanny

    I have CS2 with the discs and serial number. After needing to have my computer wiped, reloading the discs, and imputing the serial number, neither phone activation or on-line activation works. What do I do? Lanny

    Adobe took down the CS and CS2 activation servers, but they put up a version of CS2 for those who previously had a license to it.
    You will need to download the software from here, and use the serial number given on these pages. Follow the directions on this link, and you will soon be up and running again.
    Error: "Activation Server Unavailable" | CS2, Acrobat 7, Audition 3

  • To determine number of months

    Is there any function module to determine number of months ,when i give two dates ,ie startdate and enddate .
    thanks in advance.
    ravi.s

    Hi,
    Check this.
    MONTHS_BETWEEN_TWO_DATES
    Laxman

  • Determine Number of Decimal Place using BigDecimal

    I was interested to have the following getNumberOfDecimalPlace function :
    System.out.println("0 = " + Utils.getNumberOfDecimalPlace(0)); // 0
    System.out.println("1.0 = " + Utils.getNumberOfDecimalPlace(1.0)); // 0
    System.out.println("1.01 = " + Utils.getNumberOfDecimalPlace(1.01)); // 2
    System.out.println("1.012 = " + Utils.getNumberOfDecimalPlace(1.012)); // 3
    System.out.println("0.01 = " + Utils.getNumberOfDecimalPlace(0.01)); // 2
    System.out.println("0.012 = " + Utils.getNumberOfDecimalPlace(0.012)); // 3
    I use the following code
        public static int getNumberOfDecimalPlace(double value) {
            final BigDecimal bigDecimal = new BigDecimal("" + value);
            final String s = bigDecimal.toPlainString();
            System.out.println(s);
            final int index = s.indexOf('.');
            if (index < 0) {
                return 0;
            return s.length() - 1 - index;
        }However, for case 0, 1.0, it doesn't work well. I expect, "0" as result. But they turned out to be "0.0" and "1.0". This will return "1" as result.
    0.0
    0 = 1
    1.0
    1.0 = 1
    1.01
    1.01 = 2
    1.012
    1.012 = 3
    0.01
    0.01 = 2
    0.012
    0.012 = 3
    Any solution?

    Please [don't cross-post!|http://stackoverflow.com/questions/2296110/determine-number-of-decimal-place-using-bigdecimal], it's considered rude. If you must do it, then at least link each post so that people can find out which answers you've already got in order to avoid duplicate work on our part.
    Please read [_How To Ask Questions The Smart Way_|http://www.catb.org/~esr/faqs/smart-questions.html].

  • HT4061 Serial number not recognized need help

    Serial number not recognized need help
    <Edited by Host>

    Not recognized where? And what sort of help are you hoping for from us, your fellow users?

Maybe you are looking for

  • [Solved] encryption of swap with cryptsetup doesn't work

    Hi, I reinstalled my because of new hardware with EFI and GPT, and now I can't get work my swap partition encrypted. /etc/cryptsetup: cryptswap /dev/sda1 /dev/urandom swap Also with more options (key-length, etc) doesn't change the behavior. /etc/fst

  • Lacie d2 500gb unrecognised

    I bought a lacie d2 500gb drive yesterday, tried to mount it this mormning on both powerbook and g5 but it is unrecognised. I have two other 250gb lacies that have always worked fine. When i shut down and restart with the drive connected i get a mess

  • Boost Function problem in Studio 12.2

    Hi, I'm having a problem compiling a simple boost::function declaration which worked fine with 12.1 (and gcc). Here's the test code: #include <boost/function.hpp> #include <string> int main(int argc, char* argv[]) boost::function<void(std::string)> f

  • Calender Week View

    I have Desktop 4.1.4 installed.And I see in the calendar week view in the week 28.12.2008 to 04.01.2009 the week number "0" and in the following week the number "1" and so on.I think that's wrong because in the calendars the week from 28.12.2008 to 0

  • Cannot enable hyper-v in windows 8.1(EFI from bootcamp)

    Hi Guys, I wonder whether anybody has the same issue as me. Use boot camp assistant to follow the instruction to install windows 8.1 and failed at last step said windows cannot write into boot configuration data something Find one remediation solutio