Operations of the large pool and user sessions

DB version: 10.2.0.4

I noticed performance of RMAN being increased after you set a higher value for the LARGE_POOL. But a top LARGE_POOL would increase the performance of the transactions of the user sessions with high memory needs?

increase in the SGA of 8192 to 10240

Tags: Database

Similar Questions

  • Whenever I update "send/receive" a message asking me to write the network password and user name.

    I am connected to wifi in the hotel (Orange) and I can't SEND email, I just have to receive them.

    Whenever I update "send/receive" a message asking me to write the network password and user name. This from my mail server (not orange because that one is ok I have access to the internet).

    Most of the suppliers do not let you send if you are not connected through them, or they have special settings.  So for now, see if you can access your e-mail via webmail and use this interface and in the future, contact your ISP and ask them if there is a way to send emails when you are connected through a different network.

    Steve

  • Ask the operation slow with large SGA and fast with little CMS

    Hello

    We have a situation where one of the insert is running slow and fast QA in PROD. Both are the same versions of database - Oracle 10.2.0.4 on HP Unix 11.31. To avoid the cause of databases running on another server, we copied from our Production database to the same server where the QA database is running and began with init.ora PROD that has 7 GB 6 GB SGA_TARGET and SGA_MAX_SIZE. For the QA database, SGA_MAX_SIZE is 700 MB and SGA_TARGET is 600 MB. Both are running on the same server, and with the same data. We have refreshed QA with data from PROD. If we start with PROD init.ora QA database, QA also behaves the same way PROD.

    This problem is only with the specific insert. Here is the result of this specific statement tkprof. Can someone please interpret this for me? I am poor in SQL tuning :-( Why the statement behaves ODD with the size of the SGA PROD? Generally, we would think THAT larger SGA should give better performance.

    call the query of disc elapsed to cpu count current lines
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Run 1 56710.39 56067,75 7343 311186373 0 0
    Fetch        0      0.00       0.00          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Total 2 56710.39 56067,76 7343 311186373 0 0

    Chess in the library during parsing cache: 1
    Optimizer mode: CHOOSE
    The analysis of the user id: 27 (TEST)

    Rows Row Source operation
    -------  ---------------------------------------------------
    0 CRDETAIL of SEQUENCE (cr = 0 pr = 0 pw = time 0 = 29 US)
    0 REVIEWS (cr = 0 pr = 0 pw = time 0 = 21 US)
    0 SORT GROUP BY (cr = 0 pr = 0 pw = time 0 = 20 US)
    401 HASH RIGHT SEMI JOIN (cr = 23299915 pr 7343 pw = time = 0 = 93982966 en)
    237 TABLE ACCESS BY INDEX ROWID CR_STRUCTURE_VALUES2 (cr = 96 pr = 0 pw = time 0 = 504 en)
    253 CR_STRUCTURE_VALUES2_PK INDEX RANGE SCAN (cr = 4 pr = 0 pw = time 0 = 278 en)(object id 1467582)
    TABLE ACCESS BY INDEX ROWID CR_COST_REPOSITORY 841 (cr = 23306003 pr 7343 pw = time = 0 = 94546465 en)
    1317368058 NESTED LOOPS (cr = 79721182 pr 7343 pw = time = 0 = 18565176955 en)
    VIEW 26912 (cr = pr 9874 7343 pw = time = 0 = 5269231 en)
    26912 MINUS (cr = pr 9874 7343 pw = time = 0 = 5242317 en)
    27462 SORT UNIQUE (cr = 9627 pr = 7329 pw = time 0 = 5040815 en)
    271564 CR_STRUCTURE_VALUES2 TABLE FULL ACCESS (cr = 9627 pr = 7329 pw = time 0 = 1357961 en)
    568 SORT UNIQUE (cr = 247 pr = 14 pw = time 0 = 43467 US)
    TABLE ACCESS BY INDEX ROWID CR_STRUCTURE_VALUES2 2357 (cr = 247 pr = 14 pw = time 0 = US 14751)
    2357 CR_STRUCTURE_VALUES2_PK INDEX RANGE SCAN (cr = pr 11 = 14 pw = time 0 = 10028)(object id 1467582) US
    INDEX RANGE SCAN CRCR_MN_IX 1317341146 (cr = 79711308 pr = 0 pw = time 0 = 50420511 US)(object id 1469401)


    Implementation plan of lines
    -------  ---------------------------------------------------
    0 THE INSERT STATEMENT MODE: CHOOSE
    SEQUENCE "CRDETAIL" 0 (SEQUENCE)
    0 REVIEWS
    0 TRI (GROUP BY)
    401 HASH JOIN (RIGHT HALF)
    HOW TO ACCESS THE TABLE 237: ANALYSES (BY INDEX ROWID) OF
    "CR_STRUCTURE_VALUES2" (TABLE)
    INDEX 253 MODE: SCANNED (SCAN INTERVAL) OF
    "CR_STRUCTURE_VALUES2_PK" ((UNIQUE) INDEX)
    ACCESS MODE TO THE 841 TABLE: ANALYSIS (BY INDEX ROWID) OF "CR_COST_REPOSITORY" (TABLE)
    1317368058 NESTED LOOPS
    VIEW 26912
    26912 LESS
    27462 SORT (SINGLE)
    TABLE 271564 ACCESS MODE: ANALYZED (FULL) OF
    "CR_STRUCTURE_VALUES2" (TABLE)
    568 (SINGLE) SORT
    HOW TO ACCESS THE TABLE 2357: ANALYSES (BY INDEX ROWID)
    OF "CR_STRUCTURE_VALUES2" (TABLE)
    INDEX 2357 MODE: SCANNED (SCAN INTERVAL) OF
    "CR_STRUCTURE_VALUES2_PK" ((UNIQUE) INDEX)
    MODE 1317341146 INDEX: ANALYSIS (SCAN INTERVAL) OF "CRCR_MN_IX".
    (INDEX)

    ********************************************************************************

    And here is the statement in question:

    INSERT
    INTO cr_allocations_stg
      (
        "ID",
        "COMPANY",
        "GL_ACCOUNT",
        "COST_CENTER",
        "COST_ELEMENT",
        "PROFIT_CENTER",
        "MASTER_ORDER",
        "ORDER_NUMBER",
        " FUNDING_PROJECT",
        "POSTING_ORDER",
        "POSTING_COST_CENTER",
        "ORIG_COST_ELEMENT",
        "ORIG_COST_CENTER",
        "ORIG_PROFIT_CENTER",
        "TRADING_PARTNER",
        "WORK_ORDER_NUMBER",
        "DR_CR_ID",
        "LEDGER_SIGN",
        "QUANTITY",
        "AMOUNT",
        "MONTH_NUMBER",
        "MONTH_PERIOD",
        "GL_JOURNAL_CATEGORY",
        "AMOUNT_TYPE",
        "ALLOCATION_ID",
        "TARGET_CREDIT",
        "CROSS_CHARGE_COMPANY"
      )
    SELECT crdetail.nextval,
      "COMPANY",
      "GL_ACCOUNT",
      "COST_CENTER",
      '5253000',
      "PROFIT_CENTER" ,
      "MASTER_ORDER",
      "ORDER_NUMBER",
      "FUNDING_PROJECT",
      ' ',
      "POSTING_COST_CENTER",
      "ORIG_COST_ELEMENT",
      "ORIG_COST_CENTER",
      "ORIG_PROFIT_CENTER",
      " TRADING_PARTNER",
      "WORK_ORDER_NUMBER",
      CASE
        WHEN amount > 0
        THEN 1
        ELSE -1
      END,
      1,0,
      ROUND(amount * 0.0574000000, 2),
      month_number,
      0,
      '593',
      1 ,
      7,
      'TARGET',
      ' '
    FROM
      (SELECT "COMPANY",
        "GL_ACCOUNT",
        "COST_CENTER",
        "PROFIT_CENTER",
        "MASTER_ORDER",
        "FUNDING_PROJECT",
        "POSTING_COST_CENTER",
        "ORDER_NUMBER",
        "ORIG_COST_ELEMENT",
        "ORIG_COST_CENTER",
        "ORIG_PROFIT_CENTER",
        "TRADING_PARTNER",
        "WORK_ORDER_NUMBER",
        month_n umber,
        0,
        SUM(amount) amount,
        SUM(quantity) quantity
      FROM CR_COST_REPOSITORY
      WHERE (amount_type    = 1 )
      AND (month_number     = 201404)
      AND ( "MASTER_ORDER" IN MASTER_ORDER
      AND EXISTS
        (SELECT 1
        FROM
          (SELECT SUBSTR(ELEMENT_VALUE, 1, DECODE(INSTR(ELEMENT_VALUE, ':'), 0, L ENGTH(ELEMENT_VALUE) + 1, INSTR(ELEMENT_VALUE, ':')) - 1) AS ELEMENT
          FROM CR_STRUCTURE_VALUES2
          WHERE STRUCTURE_ID       = 2
          AND DETAIL_BUDGET        = 1
          AND STATUS               = 1
          AND UPPER(PARENT_VALUE) IN ('ELECTRIC ALL OTHER','ELECTRIC COR')
          MINUS
          SELECT SUBSTR(ELEMENT_VALUE, 1, DECODE(INSTR(ELEMENT_VALUE, ':'), 0, LENGTH(ELEMENT_VALUE) + 1, INSTR(ELEMENT_VALUE, ':')) - 1) AS ELEME NT
          FROM CR_STRUCTURE_VALUES2
          WHERE STRUCTURE_ID      = 9
          AND DETAIL_BUDGET       = 1
          AND STATUS              = 1
          AND UPPER(PARENT_VALUE) = 'A&G OH ORDER EXCLUSION'
          ) Z
        WHERE Z.ELEMENT = MASTER_ORDER
        )
      AND "GL_ACCOUNT"   <> '91081001'
      AND "COST_ELEMENT" IN COST_ELEMENT
      AND EXISTS
        (SELECT 1
        FROM CR_ST RUCTURE_VALUES2 A
        WHERE A.STRUCTURE_ID = 5
        AND A.DETAIL_BUDGET  =1
        AND A.STATUS         = 1
        AND COST_ELEMENT     = A.ELEMENT_VALUE
        )
      AND "GL_ACCOUNT" NOT IN ('5100000','5325000','5327000')
      AND "SOURCE_ID"      <> '7' )
      GROUP BY "COMPANY",
        "GL_ACCOUNT",
        "COST_CENTER",
        "PROFIT_CENTER",
        "MASTER_ORDER",
        "FUNDING_PROJECT",
        "POSTING_COST_CENTER",
        "ORDER_NUMBER",
        "ORIG_COST_ELEMENT",
        "ORIG_COST_CENTER",
        "ORIG_PROFIT_CENTER",
        "TRADING_PARTNER",
        "WORK_ORDER_NUMBER",
        month_number
      )
    
    

    Enjoy your first answer on this.

    Thank you and best regards,

    Murali

    Option 1:

    You run with two different ORACLE_HOMEs - that is potentially two different copies of the Oracle executable to the patch different sets?

    Option 2:

    A change of size of SGA is unlikely to directly affect the execution plan, but it also has change the size of the PGA TOUR at the same time? A change in the pga_aggregate_target could affect the choice of the mechanism of the join optimizer. (But not to change an in a join; but hash semi-join to nested loop is possible).

    Possibility 3:

    The db_file_multiblock_read_count leaves then the size that oracle defines by default depends on the db_cache_size divided by process; so, if you have reduced the sga_target_size you (implicitly or explicitly, no doubt) reduced the db_cache_size, and if you don't reduce the process in the same way, then the default db_file_multiblock_read_count been reduced. What you did on your system stats, this could change the cost of (for example) full tablescans, which could lead to a change in execution plan.

    It would be useful to see the results of a call to explain the plan / dbms_xplan.display in both cases so that we can see the variation in estimates of Oracle.

    Concerning

    Jonathan Lewis

  • Manage the large number of users

    Dear all:

    We get a pre Prod database which we may have to create around 1200 users who have account within the database. Here are my concerns:

    1. What is the best way for users to connect to the database? We used traditionally file Tnsnames.ora but it would be tedious to go with that with so many users. We have heard of Active Directory that could help users to connect to the database. Is a proven way to go and how to implement it?

    2. What are the parameters we need to change/change in our spfile/init to welcome a large number of users? We are and we will use dedicated connections. It seems to me that we have to change the setting to a number greater than > 1200 at #process. Memory management we define automatic as SGA and PGA managed by Oracle. We have already appointed a large part of memory(8GB) to Oracle to make the management of SGA/PGA both for us.

    3. what other issues we must fear for the database when so many users log in the database? Most of these users won't use any storage to create objects.


    Any help, advice, suggestion will be highly appreciated.

    Thank you.

    1. in fact, it is quite easy to write Windows scripts to distribute files tnsnames.ora, and it will be cheaper and easier to manage than the OID (Oracle Internet Directory), which is the LDAP solution to replace tnsnames.ora for searches.

    2. in the function if you use the shared server or dedicated connections. If you are using dedicated connections, then the process is the main. Allow any dead or inactive sessions, process etc., so less substantive 1500.

    3. This isn't a lot of users. Some databases out there takes care of hundreds of thousands of users. You must work on how many of these users will be active at the same time, and what will be the volume of transactions. For example a large report can use more resources than 1000 users, data entry.

  • The AM pool and instance variables

    Hi all

    A question for you...

    Q: can I use Application Module Impl instance Variables conditionally execute a method?

    I have an AMImpl method that is exposed in the client interface. I want to call this method under certain conditions.
    This method must not be performed more than once in a user session.
    So once the method is executed, then I can put a value to the variable instance true [If type = Boolean, "run" = TRUE].
    So next time when the user press the same button {say... or any other UI events..} to run this method even, so I can check the value of the instance variable
    If that's true I re - will not run.


    Basically, value of the instance variable persists between two requests for user {events UI} of the user interface.


    But this approach is correct... ?


    Q. every time, will benefit from the same user in the same instance of the application module pool request module... ?

    A: I hope that the answer is no user can get not get the same instance of AM each time. But if the user gets a new instance of AOS 'unreferenced' then, this instance will be reactivated with the data
    who should have passive when the user has lost the first instance of AOS. If the user gets all return in this second AM e.g. Passivate1-> Activate2 mechanism


    Now... We can think of this instance variable persists more than two applications for different user... ?
    Only items passive {your, sight lines, bind variable etc.} will persist on the user queries... sacred... ?
    But variable instance AM isn't passive. We cannot use the instance variable to avoid several of my method execution.
    If I get a new instance of AM, then the value of the instance variable could have reset as that was not earlier passive.

    I hope that until now everything is fine...


    Now... Can I use class variables to avoid several execution of my method... ?
    That is, instead of instance variable... can I use a static variable...?
    So all instances of AM in AM pool, will have the same value as the variable of class... ?

    Is it OK... ? Or am I wrong anywhere... ?

    Can some one please clarify...

    Thank you very much
    AFA

    AFA,

    I thought that all instances of AM are having the same class type. The values of static variables would be the same for them.

    We lose how these values while the passivation. ? >
    your assumption about static variables is not correct if you run the application on a single server. The framework is able to run the application on a cluster of multiple computers. So if you set a static variable in the application it is defined only on one machine.
    This is the reason why you should not use static variables in a module of the application. You get a lot of side effects in a production environment, you will not be able to debug.
    Again, do not use static variables in an app module.

    You can use instance variables in the module of your application, but you must the passivate yourself (same is true for activation). That's what the doc is talking about. It gives you just an example of how do in an average backup.

    If you are using 11g you can use the shared application modules, which are used to load the data once and use these data in any other module app. You cannot change the data in the shared module, it's only for search data.

    If you really need the global variables, your best option is to write in a special db table, use EO and VO to access.

    Timo

  • Registry Booster Uniblue says I have total of 928 errors on the registry system and users!

    PC seems to work (maybe slow sometimes). Purchase of Registry Booster and system Twecker will really make a difference? ALTERNATIVES?

    How normal is that after four years of use of the lamp?

    You must ignore the report and uninstall Registry Booster.

    RegistryCleaners of the negligible benefits and can create errors intractable system that cannot be resolved by reinstalling the operating system and everything that this implies.

  • How to read the Drwtsn32.log and user.dmp files

    I'll have the blues of the blue screen and need to read these files to help me find the problem.

    I found the problem

    NVIDIA GeForce4 MX 420 with AGP8X

    as he tried to update last update driver was, but wouldn't Toad. I'm incotact with the support of tec awaiting a response

    Thank you for answer

  • Strangely the large windows and icons

    Windows on my screen are strangely great. I would like to know how to solve this problem.

    I had recently installed a new graphics driver from AMD, and after noticing a few major bugs/problems, I uninstalled then reinstalled an old version. After doing so, the office has returned to normal, but the icons, windows and the taskbar are always older than resolution.

    As you can see the icons (on the left), window (Center) and the task bar (bottom) were all expanded.

    My resolution is set to the default value of 1600 x 900 and the size of the icons is small.

    Thank you in advance for the answers.

    Check the size of text DPI settings? Make sure that it is set to 100%

    Control Panel\All Control Panel Items\Display

  • Check the permissions of a user session

    I have a problem with a supplier 3rd party application

    The application is very poor (this requires access s/n)

    I believe that the application performs the following operations when a user connects

    User1 create a session

    It's round fires a trigger or procedure (I can't see the code for as it is encrypted)

    The trigger allows User1 a tas bunch of roles, then runs the sql statement in the User1 and him revokes roles (even if the declaration of the User1 is still ongoing)

    Sometimes the the User1 sql statement can take a few hours to run

    During this time, it is possible to check what are the roles granted to the session of the User1?

    I think at one of the tables $ x will have the answer

    This is a Dev env and there is nothing in the dba_audit_trail

    G.

    The REDO logs will have all THE statements that have been executed.

  • The Authentucated smart card user session is stopped airtight when the card is removed, regardless of httpd SSLSessionCacheTimeout (default 300) setting. Why?

    I installed safety device in the option tab / advanced ff. Then using smart cards to connect to my server. The smart card user is authenticated and secure connection goes smoothly. When the card is removed from the card reader, the connection is immediately interrupted, regardless the SSLSessionCacheTimeout settings. Mine is set to 300.

    I did the same thing with IE, it maintains the connection until the expiry of the SSLSessionCacheTimeout.

    It is characteristic of FF-specific-designed? Or do I FF browser-specific sth keep my secure connection based on the parameter SSLSessionCacheTimeout?

    Thank you

    Hey SecureDevPaty,

    I wonder if you have installed a cert in the side server or client-side.

    I'm not an expert in the present, but these are the references that I found. I * think * after reading this session http://stackoverflow.com/questions/12.../session-disconnect-the-client-after-smart-card-is-removed LAA there is a feature of ssl in the about: config page. If you are looking for ssl, look at the features of trading. who, after having reread the thread we already did.

    I started to read more about the rules of ssl

    and a few rfcs. My question is, the rule for timeout, is this set on the server? with a specific rule in the cert? If it is a basis of cert, I would ask stackoverflow.com

  • Satellite M100-184: English-how to get the restore CD and user manual

    Hello guys,.

    (1) how can I get an English version of my laptop recovery CD? The one I have is written in Spanish and I am not able to follow the procedures as I didn't undrstand of Spanish language.

    (2) Furthermore, how can I get an English version of the operating manual for my laptop?

    I need you guys to help me more urgent as possible.

    The portable _My details are as follows: _
    Model name: SATELLITE M100 - 184
    Model No.: PSMA00E - 03Y01WSP

    Best regards
    Uche

    Hello

    (1) the recovery CD can be ordered only in the same language as the country where the phone was purchased.

    2) of the user manual are in different languages European Toshiba support page:
    http://EU.computers.Toshiba-Europe.com-> download-> Toshiba operating manual & support

    Good bye

  • bean, containing the business logic and user interface components

    Hello experts design ADF, please guide me.   I came across a critical design aspects.  I have the homepage with a lot of UI, region 1, region 2 components. I bind the components of the user interface of the page at a session scope managed bean and is the reason why, when control passes to the region 1 or region 2, I'm going to do a lot of processing logic and then on that basis, I have to update the page user interface components.   Same thing with region 2 also.  And then I should be able to access the information in all regions and also through other components of interface user etc.

    I see only the scope session bean can help me here to get my tasks in all regions and in all the other components of the interface user to the page because I'm not able to spend too many parameters in all regions.     Now the problem is, I can't serialize this bean because as I've mentioned a lot of user interface components are updated based on logic.

    If I do not serialize the bean, I might have a problem in the future when the application must be deployed to the cluster envt.

    I don't know how can I go with my design now.   Please give me ideas, brilliant and very grateful for your advice.

    Thank you

    Hello

    I did not follow the entire thread, but this last message, I can tell that you are not using ADF how it should be used. So let me address two issues

    1. I use data controls generated on methods of bean managed my areas (workflow).

    If you create a POJO data control that you configured as controlled beans then this will be two instances (separated) from the same Java class. This means that they do not share anything. The only option to share state between a managed bean and a data control is if you would have the data dynamically control bean up the bean managed using the language of Expression of the 8which then however creates a dependency between the DC and the bean - however, there are use cases like that)

    2 activation / deactivation of the buttons in the parent view of a region

    This can be done using bean-injection, which is a bean managed in extended view defined on the parent view that you pass as parameter for the workflow. See: http://www.oracle.com/technetwork/issue-archive/2013/13-may/o33adf-1920483.html

    As said, I haven't read the entire thread, but want to point out that there is enough information in writing (product documentation) and video (Insider ADF - who teach the development of SFM practices http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html take the time to review this)

    Frank

  • Where can I find the Windows password and user name information

    I download a new system from my computer and everything was going well until they asked my Windows username and password. I do not remember, and I can't find. Can you get it someone please let me know where I should look... Thank you

    Hello, dreamcatcher16

    Please use the Forum for answers!

    You upgrade to Windows Vista or Windows 7?

    You can get your username by going to C:\Users\ and find your user name under Windows Vista and C:\Documents and Settings\ for Windows XP.

    We are unable to provide assistance with respect to the recovery of a password.

    If you are able to connect to your machine and have administrator rights, you can then change your password by clicking on start, right-click on computer and choose manage. Open the users section and groups, then users, right click on your account and choose set password.

    I hope this helps.

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My mouse travel NSB made the larger screen and I can't figure out how to make smaller

    The touchpad on my Acer Aspire has stopped working so I bought a mouse - mouse travel NSB.  It was working fine until suddenly, the screen has grown and I don't know how and I 1 knows how to get it back.  If anyone can help.  My husband just thinks that I have to buy a new computer.  It can't be that hard!  Thank you.

    Try operating ctrl and rotate the mouse wheel.

  • Windows 7, last user in the login screen and 'User', losses other accounts in the login page

    I am running Windows 7, it was a new installation. Since I set up my machine, I created 3 accounts in my system and in the login page I always had the possibility to choose one of these accounts.

    1 user 2 3

    Since last weekend, when I try to change username, I have just the last user who was logged and a "Different user" option (no image that it incidentally) where I need to type the name of the user who wants to go to and the password.

    Last known--> if another user select this--> I need to type the user name and password for the user newactive

    How to restore the possibility of having all my 3 available users in the form of connection with their photos?

    Thank you!!!

    I would like to use system restore to set up Windows in three days.

Maybe you are looking for