RAC init parameters

Hello

We have 2 node rac database version 11.2.0.4 on Linux platform.

There is a different opinion between our system dba and application dba on init parameter of the cars.

System dba definied *.processes = 2000 in rac db init file.

This means that processes 2000 can connect to instance 1 and 2000 process can connect to instance 2 at the same time?

Or does this mean that 2000 process can connect to all DB?

We (application dba) says 2000 process can connect to instance 1 and 2000 process can connect to instance 2 at the same time.

then sysdba said dba 2000 process can connect to all DB IE 1500 to 1 and 500 (max) to the instance 2, but total will not be more than 2000.

Help, please.

Thank you

Ashish

We (application dba) says 2000 process can connect to instance 1 and 2000 process can connect to instance 2 at the same time.

then sysdba said dba 2000 process can connect to all DB IE 1500 to 1 and 500 (max) to the instance 2, but total will not be more than 2000.

This DBA application is correct. 2000 process can connect to instance 1 and 2000 process can connect to instance 2 at the same time. Also... Here is the link to the documentation on this setting: http://docs.oracle.com/database/121/REFRN/refrn10175.htm#REFRN10175

Note that it says that "several instances can have different values.

Finally, ask your SYSDBA check RESOURCE_LIMIT $ GV in an Oracle RAC database. Note that each instance has a limit. Here's my setting for the setting PROCESS of my database to RAC 3-blink of eye:

SQL > show parameter processes

VALUE OF TYPE NAME

------------------------------------ ----------- ------------------------------

aq_tm_processes integer 1

db_writer_processes integer 1

gcs_server_processes integer 2

global_txn_processes integer 1

JOB_QUEUE_PROCESSES integer 20

log_archive_max_processes integer 5

whole process 1500

So, I can have up to 1500 process. Fortunately, his instance the because here is what my current use looks like:

SQL > select INST_ID, resource_name, current_utilization, limit_value

2 from resource_limit $ SGS where resource_name = '' process. ''

INST_ID SELECT RESOURCE_NAME CURRENT_UTILIZATION LIMIT_VALU

---------- ------------------------------ ------------------- ----------

1 724 1500 process

2 709 1500 process

3 720 1500 processes

I have more than 2000 process total in all instances, higher than my setting. This should prove that the application DBA statement is correct.

HTH,
Brian

Tags: Database

Similar Questions

  • A query is very convenient which lists all the important associated DG init parameters

    Version: 11.2/10.2

    Did you guys a very practical query that I could run in the primary and Standby sites that will be all important lists
    Data Guard related init parameters.

    Something like below but a query that lists important Dataguard bound init.ora parameters
    col name format a35
    col display_value forma a20
    set pages 25
    
    SELECT name, display_value FROM v$parameter WHERE name IN ('db_name', 
    'db_block_size','undo_retention',
    'shared_servers', 
    'memory_target','sessions',
    'processes', 
    'session_cached_cursors', 
    'sga_target', 
    'pga_aggregate_target', 
    'compatible', 
    'open_cursors',
    'nls_date_format',
    'db_file_multiblock_read_count',
    'cpu_count',
    'cursor_sharing')ORDER BY name;

    Hello

    You must include standby settings, check below to see if it is useful for you or not?

    sys@ORCL> set line 500
    sys@ORCL> column name for a30
    sys@ORCL> column display_value for a30
    sys@ORCL> SELECT name, display_value FROM v$parameter WHERE name IN ('db_name','db_unique_name','log_archive_config','log_archive_dest_2','log_archive_dest_state_2','fal_client','fal_server','standby_
    file_management') order by name;
    
    NAME                           DISPLAY_VALUE
    ------------------------------ ------------------------------
    db_name                        orcl
    db_unique_name                 orcl
    fal_client
    fal_server
    log_archive_config
    log_archive_dest_2
    log_archive_dest_state_2       enable
    standby_file_management        MANUAL
    
    8 rows selected.
    
    sys@ORCL>
    

    My environment is not in sleep mode, so some of the values are NULL.

    Thank you.

  • Compare the INIT parameters

    Hello gurus,

    I was invited to "' * compare the INIT parameters among 3 bodies *"; " 2 on a particular server and 1 on another server. The oracle DB versions I have for all instances of 3 are:

    Instance 1: 10.2.0.4.0
    Instance 2: 11.2.0.1.0
    3 instance: 11.2.0.1.0

    Please let me know what should I do in matter of compare parameters these instances installed on my servers init. The only thing I know is ' SQL > create pfile from spfile;

    It depends on you are looking for.

    One way is to compare the parameter $ v or v$ spparameter between instances using the links in the database. Version 10 and 11 have a different number of parameters.

    HTH
    Antonio NAVARRO

  • DataGuard - init parameters

    We copy the day before primary init files db, all initialization parameters are identical to that of the primary database

    Usually is the change of settings in the standby mode different

    I'll give a slightly different answer to @bpeasland.  And that's a typical response of DBA.

    It depends on.

    Which plan you use your DG waiting for?  for example, a database, a switch, a backup...?

    If you plan to use for backups or reports, then it is not a problem to have a lower specced ensures that primary.  As long as you are fully aware of the consequences.

    If you want to use as a failover, so it's more of a problem, but again, this depends on what your needs are.  Is your organization willing to accept that a failover situation, your DB can perform the same as it normally does?  How long for?  What is your RTO for the primary?

    It depends on.

    BTW if you look at the Hardware reqs (https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB4715) there is no mention of a primary/secondary or this production that makes them different, other than architecture and OS.

  • Dynamically change the Init parameters

    Hello

    We will improve our database 10.1.0.5 to 10.2.0.5.

    The database is running on pfile.

    SQL > show the pfile parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    chain of SPFile

    After you run the tool preupgrade, got the warnings below.
    **********************************************************************
    Update settings: [update of the Oracle 10.2 database init.ora or spfile]
    **********************************************************************
    ATTENTION: - > "streams_pool_size" must be increased at least 50331648
    ATTENTION: - > "session_max_open_files" must be worn at least 20


    I don't find these settings in the pfile file. Is it possible to dynamically change these settings?

    Can I add these parameters to the pfile file before the upgrade of the database?

    SQL > show parameter of flow

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    STREAMS_POOL_SIZE big integer 0

    SQL > show parameter session_max_open_files

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    session_max_open_files integer 10

    Thank you
    Pradeep

    As noted, if the values are not explicitly defined, they assume default values - see the documentation

    http://docs.Oracle.com/CD/B14117_01/server.101/b10755/initparams209.htm#REFRN10243
    http://docs.Oracle.com/CD/B14117_01/server.101/b10755/initparams187.htm#REFRN10196

    HTH
    Srini

  • Init parameters

    Background: ColdFusion programmer, trying to learn Flex

    Problem
    How can I pass arguments to initialize / variables in a Flex application at launch? I have searched around the livedocs, but haven't found anything.

    More details
    Each language has a way to pass variables to initialize / arguments / information in the launch ColdFusion app using a URL and form variables. C++ uses the array Args. Some languages use init files. Flex does something? Can I use < param > tags when the page using the < object > tag to call the swf file? Or can I include variables URLS on the page that starts the Flex application and have Flex back on these variables URLS somehow?

    Thank you

    -Neil

    First of all, it is not a matter of Flex Builder, so it should go in the forum Discussion General Flex, not here.

    Second, here's a hint for the documentation search: for some reason any Adobe encapsulates google quotes search terms, which makes it an exact phrase match. Then, when I search here: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part2_De vApps.html
    using the words: transfer data to Flex
    I get without success. Remove the quotes from the search terms on the results page google returns several good hits, prominent is this one:
    http://livedocs.Macromedia.com/Flex/2/docs/00001003.html

    Tracy

  • After you have patched init parameters

    Version of the database: 10.2.0.4 Patch 45 on Windows 2003
    1. documentation says to resolve the value '_first_spare_parameter' 6904068 bug. What should be the value if we actually see this bug occurring after you apply the hotfix. How can we determine that we need this setting to be turned on?

    2. How can we determine that we must define "_third_spare_parameter"? How can we check if there is a regression on the log files?

    No, the mentioned parameter '_first_spare_parameter' just NOT and NOT lone operative. It will work as expected only when the Patch 6904068 is applied.

    Description of the main problem:
    Excessive CPU consumption when the mutex for slider axis has been activated. Testicles made on this matter, consisting of the repeated execution of a
    and and the same SQL statement by multiple sessions simultaneously. They will all support for the mutex of mode S child cursor. If the mutex cannot be obtained
    After a few times of spinning, kgx calls a customer provided wait function. For the slider S mutex, the wait function (kksLockWait) was actually yield the CPU
    rather than wait for a fixed time. For this particular unit test, given the number of processors available and the fact that the process had little to others
    that run this SQL, call performance apparently does not provide enough time and the end result is that the processes were constantly spinning and
    the consumption of CPU, trying to get the mutex. This problem is the result of combined factors - the repeated execution of the same simplistic SQL top
    number of simultaneous sessions that running SQL and do not do anything else, large number of processors on the computer and perhaps other factors as well. This
    the combination is probably unlikely to happen in any real life application scenario, although this client insisted that their unit test was representative of their
    real-world application.

    Description of the fix: in kksLockWait(), now wait for a period fixed instead of give up trying to get the mutex in S mode and there is no holder of X.
    By forcing a period much more long wait between attempts to get mutex (compared to "yield"), the unit test has been found to consume much less CPU and
    delivered at rates higher than the old latch implementation

    The time-out period is controlled by a parameter. The parameter as it comes in unique pieces is called "_first_spare_parameter" and takes an integer
    a value that represents the time-out in CENTIseconds (1cs = 10ms). The default value of 0 will retain the current behavior (ie the cPU performance). The value can be
    dynamically adjusted to the level of the SYSTEM, but not at the level of the SESSION.

  • There the init.ora parameters cannot be changed at all?

    DB version: 11 GR 2

    We have the following two types of initialization parameters

    Dynamic - which can be changed without a rebound in DB (example CURSOR_SHARING)
    Static - which can be changed with a rebound in DB (example MEMORY_MAX_TARGET)

    The two types of init parameters listed above can be changed with or without a rebound in the DB. There are initialization parameters that cannot be changed at all with or without a rebound in DB?

    Max wrote:

    Documentation is Oracle that describes the init.ora parameters ' Oracle database reference 11gRelease 2'. It is not answered my question

    Maybe it does.

    of DB_BLOCK_SIZE

    The value of DB_BLOCK_SIZE in effect at the time you create the database determines the size of the blocks. The value must be set to its initial value.


  • Necessary init.ora parameters

    Hi all


    I want to start the database using the nomount using init .ora file
    What, then, are the only init parameters that must be present in the init file so that db is started

    his authorization as a folder number all owned by root! This file should be owned by oracle or user from which you installed oracle.

  • EBS R12.1.3 on the 12 c RAC database

    We are running EBS version 12.1.3 on RAC cluster for node 3 11 GR 2 and works well. We are currently working on upgrading our RAC database to 12 c.

    Looking at the Oracle support, I can see there are notes related to stamps of interoperability thus recommended on 12 c init parameters.

    I can't find any other relevant document where there are performance problems and possible solutions.

    I'm sure that the people would have taken this path... ghoulish someone please provide input as to what measures we should take to make sure that we don't encounter unforeseen problems.

    Know your opinion.

    TO THE

    I'm not aware of important performance issues at the top of the 12.1.0.1 of database with R12, and I believe that if you apply all the patches in the following docs, then you should be good. If you have specific concerns, please do not hesitate to share with us.

    With the help of Oracle 12 c version 1 Real Application Clusters with Oracle E-Business Suite Release 12 (Doc ID 1490850.1)

    Interoperability note EBS 12.0 or 12.1 with RDBMS 12cR1 (Doc ID 1524398.1)

    12.1.0.1 database with Oracle E-Business Suite certified

    https://blogs.Oracle.com/stevenChan/entry/12_1_0_1_db

    Thank you

    Hussein

  • RAC load balancing question

    We have added a third node of a cluster with two nodes on 11/7. Before the addition, expenses (via the OS uptime command or above) on the two first nodes were included between 20 and 40. The first node was the more active of the two, rarely fall below 30, but on both charges were very high. These first two nodes have two dual core CPU with 16 GB of RAM, who have six cases of db on each. The third node has two quad core CPU and 16 GB of RAM. We added only the busiest db on the third node, so there is only a single instance. We have added the third node to all remote to connect DB files tnsnames, with LOAD_BALANCE = yes. For the first week, Sunday 11/7 to Sunday 11/14, most incoming connections were still nodes 1 and 2. Connections have been made to node 3, but not as much as we would like. However, since this last Sunday 11/14, the majority of the connections are nodes 2 and 3. Rarely a connection will node 1. We can connect directly on node 1 with no problems. Nothing has changed over the weekend and nothing has been restarted. Is something that takes a while to 'calibrate' load balancing? Is there something that we can check or change to give a more balanced load? We are new on the PAP, so we are puzzled as to why it happened this way. Any guidance or advice is greatly appreciated.

    You must configure at the level load balancing server-side.

    (1) register all instances in any listener by setting local_listener and remote_listener of init parameters
    (2) CLB_GOAL set of each service, to set the expected duration of connections ("SHORT" for the pools of connections or "LONG" for forms)
    (3) set the GOAL of each services, updated the workload expected (FLOW for batch) or TIME of SERVICE for web sessions

  • ORA-28500 and ORA-02063 when querying sql server tables.

    Hello

    I am getting below error when querying (also with oracle reports) talbes of MS SQL 2008 database who have more lines. There is no problem with tables with less number of lines.
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    ORA-02063: preceding line from SQLSERVER

    When I asked "select *"Areas"@sqlserver;", it is retriving 195 lines and then the display above error.» This table contains 10716 lines.

    Here are the details of our environment:

    Database Oracle 11 G RAC (2 knots) on RHEL 5 64 Bit, MS SQL 2008

    ODBC. INI
    [oracle@proddb1 ~] $ cat /etc/odbc.ini
    [ODBC data sources]
    MSSQL = MS SQL Server

    [mssql]
    Driver=/opt/Microsoft/SQLNCLI/lib64/libsqlncli-11.0.so.1790.0
    Database = Ksa_Fakieh_SFA
    LogonID = OracleUser
    Password=0r@cle999
    Server = SJSQLV01.fakiehgroup.com
    QuotedId = YES
    AnsiNPW = YES
    [ODBC]
    IANAAppCodePage = 4
    Trace = 0
    UseCursorLib = 0
    UseCursorLib = 0


    INIT FILE:

    [oracle@proddb1 ~] $ cat $ORACLE_HOME/hs/admin/initDG4ODBC.ora
    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA. AR8MSWIN1256
    HS_NLS_NCHAR = UCS2
    #
    # ODBC specific environment variables
    #
    Set ODBCINI=/etc/odbc.ini
    #


    Listener.ora:

    # ###############################################################

    #

    TRACE_FILE_LISTENER_PRODDB1 = fakieh1

    LISTEN_DG4ODBC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1511))(HOST = proddb1.fakiehgroup.com))
    )
    )
    SID_LIST_LISTEN_DG4ODBC =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/oracle/fakieh/db/tech_st/11.1.0) (SID_NAME = DG4ODBC)
    (ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib')
    (PROGRAM = dg4odbc)
    )
    )

    #
    # Definition of RAC database listener
    #

    LISTENER_PRODDB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1 - vip.fakiehgroup.com) (PORT = 1521)(IP = FIRST)))
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1) (PORT = 1521)(IP = FIRST)))
    )
    )

    SID_LIST_LISTENER_PRODDB1 =
    (SID_LIST =
    (SID_DESC = (ORACLE_HOME = /u01/oracle/fakieh/db/tech_st/11.1.0)(SID_NAME = fakieh1))
    )

    STARTUP_WAIT_TIME_LISTENER_PRODDB1 = 0
    CONNECT_TIMEOUT_LISTENER_PRODDB1 = 10
    TRACE_LEVEL_LISTENER_PRODDB1 = OFF

    LOG_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    LOG_FILE_LISTENER_PRODDB1 = fakieh1
    TRACE_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    TRACE_FILE_LISTENER_PRODDB1 = fakieh1
    ADMIN_RESTRICTIONS_LISTENER_PRODDB1 = WE
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_PRODDB1 = OFF


    IFile=/U01/Oracle/Fakieh/DB/tech_st/11.1.0/Network/admin/fakieh1_proddb1/listener_ifile.ora


    Thank you
    Mohammed.

    Mohammed,
    Without seeing the tracing information, it is difficult to say why this problem occurs.
    However, could you add the following to the file initDG4ODBC.ora gateway -.

    HS_RPC_FETCH_REBLOCKING = OFF
    HS_FDS_FETCH_ROWS = 1

    and try to select it again again SLQPLUS session and see if the same problem occurs?

    Kind regards
    Mike

  • Connect to PostgreSQL since Oracle 11 GR 2

    Hi people!

    Try to connect to PostgreSQL Oracle 11.2.0.3 (RAC). My configuration files are:

    initRT.ora:
    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = RT
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = /tmp/odbc_trace.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    
    # ODBC specific environment variables
    #
    set ODBCINI=/etc/unixODBC/odbc.ini
    Listener.ora:
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2))))                # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON                # line added by Agent
    
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME =/u01/app/oracle/product/11.2/db)
          (PROGRAM = extproc)
        )
        (SID_DESC=
          (SID_NAME = RT)
          (ORACLE_HOME = /u01/app/oracle/product/11.2/db)
          (PROGRAM = dg4odbc)
          (ENVS = "LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2/db/lib:/u01/app/oracle/product/11.2/db/hs/lib")
        )
      )
    tnsnames.ora:
    RT = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=RT))(HS = OK))
    isql rt rt3 passw
    +---------------------------------------+
    | Connected!                            |
    |                                       |
    | sql-statement                         |
    | help [tablename]                      |
    | quit                                  |
    |                                       |
    +---------------------------------------+
    SQL> quit
    oracle@hostname: psql -h rt rt3 passw
    Welcome to psql 8.3.9, the PostgreSQL interactive terminal.
    
    Type:  \copyright for distribution terms
           \h for help with SQL commands
           \? for help with psql commands
           \g or terminate with semicolon to execute query
           \q to quit
    
    rt3=>
    As you can see, I can connect to PostgreSQL. Then in DB I created DB link as follows:
     CREATE DATABASE LINK "RT"
       CONNECT TO "RT3" IDENTIFIED BY "passw"
       USING 'RT';
    
    
    oracle@hostname: sqlplus rt3/passw
    
    SQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 15 03:46:12 2011
    
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    Data Mining and Real Application Testing options
    
    rt3@sid1> select * from users@rt;
    select * from users@rt
                        *
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from RT
    
    
    Elapsed: 00:00:00.01
    rt3@sid1>
    Don'tunderstand why I can't connect to Oracle? Thanks in advance.

    Kind regards
    Pavel.

    Feel free to post a file gateway trace level 255.

    Published by: kgronau on November 21, 2011 11:59

    I think I found the root cause - meet you again HS_FDS_SQLLEN_INTERPRETATION = 32 in your file init bridge?
    Then please comment-it is not necessary for the of DataDirect ODBC drivers as they compile their driver following the last level 3 ODBC 64-bit standard.

  • clean clean

    I use the 1.1 plugin eclipse and the 8520 with the api 5.0 Simulator.

    My application saves a file called DATA.txt and I'm trying to get rid of it.

    I tried clean.bat - it's still there.

    I tried the own eclipse - it's still there.

    I know that this is because the I have open in my application and read the init parameters, which are

    worse - so I want to re - initialize this file. But I can't because I can't delete it.

    Where is the file on the pc?

    What happens here?

    Thank you!

    lucidbee

    I cut and pasted this example of the documentation of the API for the class FileConnection.  It tells you how to create (and remove) a file.

    ... the following code can be used to create a new file on a file system, where CFCard is a valid root name existing file system for a given application:

     try {     FileConnection fconn = (FileConnection)Connector.open("file:///CFCard/newfile.txt");     // If no exception is thrown, then the URI is valid, but the file may or may not exist.     if (!fconn.exists())         fconn.create();  // create the file if it doesn't exist
    
         fconn.close(); } catch (IOException ioe) { }
    

    Developers should always check for existence of file or folder once a connection is established to determine if the file or directory actually exists. Similarly, directories or files can be deleted using the FileConnection.delete () method, and developers should close the connection immediately after deletion to avoid exceptions to access a connection to a non-existent file or directory.

  • test DB has no AMM, the request takes 5 seconds, the prod DB has AMM query takes 5 minutes

    I created a copy of test of production for a long time, when I was creating the test I have not activated AMM.

    A developer created a new report and told me that it took seconds to run on the Pb test, as he was taking up to 10 minutes on the Pb of the production. I got it to extract the SQL code for the report and he ran from a command line, and on the Pb test, it took 5 seconds and more than 5 minutes on the Pb of the production.

    I then checked the AMM with the show memory_target parameter to see if AMM was activated and on the Pb of the prod is 1 GB on the DB test is 0

    memory allocation requests show this for prod:

    NAME                                     VALUE

    ------------------------------        ----------

    PGA maximum allowed 578929664

    pga_aggregate_target 0

    SGA_TARGET 0

    MEMORY_TARGET

    -------------

    578929664

    for the BP to test:

    NAME                                       VALUE

    ------------------------------          ----------

    PGA maximum allowed 214604800

    pga_aggregate_target 101711872

    SGA_TARGET 624951296

    MEMORY_TARGET

    -------------

    839556096

    I have not dbcontrol currently enabled on the Pb test, so I could not watch the advisors of the memory, but it is enabled on the Pb of the prod, that tells me it should be to the 1 GB is currently at.

    Two of these db are on the same server.

    Now I wonder if I should disable the AMM on the prod server and allocate manually to match the test, or should I change the AMM if possible so that it can perform as good as the Pb of test?

    Thanks in advance.

    I tried the suggestion of Geert earlier but I forgot to mention that it made no difference.

    However, I managed to find out what it is, starting at the beginning by looking at all the init parameters. It was then that I noticed the Prod OPTIMIZER_FEATURES_ENABLE was set to 9.2.0.8, while the test was 11.2.0.3, a quick alter system set optimizer_features_enable = '11.2.0.3' scope = both and the query ran<5 seconds,="" just="" like="" the="" test.="" it="" also="" got="" rid="" of="" the="" note="" that="" the="" cpu="" costing="" was="" not="">

    I thought a bit more wording accurate in the order note explain plan could be useful - but in any case, it makes sense, I guess...

    However, this has been a useful exercise for me, I have a better idea how they use the remote database for retrieving information and will make suggestions, it may be easier to create views of the side remote (SQL Server), rather than on the side of the Oracle.

    Still do not know how the test done with the right parameter and the prod has not, I used to create the init.ora file to create the test instance by getting a carbon copy of the production spfile, but I missed this setting this time.

    In any case, it's a good thing I had the right parameter under test - otherwise the Developer & users may have accepted, he was going to be a slow and left...

    Thanks again for all your help

    PS. Now here is the plan explain of production:

    SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL,NULL,'ALLSTATS LAST'));
    SQL_ID  bqh1aq71rshpp, child number 1
    -------------------------------------
    SELECT /*+ GATHER_PLAN_STATISTICS */
    DOMCUST.CUSTOMER,DOMHEADER.WOODTYPE,DOMHEADER.ISSUEDATE ISSUEDATE,
    vw_testlots.TLOT_PREV PREV_LOT, VW_TESTLOTS.TLOT_NEXT NEXT_LOT,
    DOMLOTS.lotno ship_lot,       VW_PTMS_LOTS.AIRDRY
    AIRDRY,VW_PTMS_LOTS.BRIGHTNESS BRIGHT,VW_PTMS_LOTS.DIRT
    DIRT,VW_PTMS_LOTS.VISCOSITY VISCOSITY,
    (A.CCSF_0+B.CCSF_0)/2 CCSF_0,
    (A.TEAR1_0+B.TEAR1_0)/2 TEAR1_0,
    (A.BL_0+B.BL_0)/2 BL_0,
    (A.BURST_0+B.BURST_0)/2 BURST_0,
    (A.BULK_0+B.BULK_0)/2 BULK_0,
    (A.POROSITY_0+B.POROSITY_0)/2 POROSITY_0,
      (A.BOND_0+B.BOND_0)/2 BOND_0,
    (A.OPACITY_0+B.OPACITY_0)/2 OPACITY_0,
    (A.CCSF_1+B.CCSF_1)/2 CCSF_400,
    (A.TEAR1_1+B.TEAR1_1)/2 TEAR1_400,                                 (
    
    Plan hash value: 2207188603
    
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                              | Name         | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  | Writes |  OMem |  1Mem | Used-Mem | Used-Tmp|
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                       |              |      1 |        |    255 |00:00:05.90 |    1091K|     45 |     45 |       |       |          |         |
    |   1 |  SORT AGGREGATE                        |              |    255 |      1 |    255 |00:00:00.91 |     385K|      0 |      0 |       |       |          |         |
    |*  2 |   FILTER                               |              |    255 |        |  57880 |00:00:01.11 |     385K|      0 |      0 |       |       |          |         |
    |*  3 |    TABLE ACCESS BY INDEX ROWID         | LOTTEST      |    255 |      1 |  57880 |00:00:00.99 |     385K|      0 |      0 |       |       |          |         |
    |*  4 |     INDEX RANGE SCAN                   | UK_LOTNO     |    255 |     45 |    767K|00:00:00.85 |    5015 |      0 |      0 |       |       |          |         |
    |   5 |  SORT AGGREGATE                        |              |    255 |      1 |    255 |00:00:00.52 |     158K|      0 |      0 |       |       |          |         |
    |*  6 |   FILTER                               |              |    255 |        |  55792 |00:00:00.47 |     158K|      0 |      0 |       |       |          |         |
    |*  7 |    TABLE ACCESS BY INDEX ROWID         | LOTTEST      |    255 |      1 |  55792 |00:00:00.36 |     158K|      0 |      0 |       |       |          |         |
    |*  8 |     INDEX RANGE SCAN                   | UK_LOTNO     |    255 |     45 |    516K|00:00:00.55 |    1372 |      0 |      0 |       |       |          |         |
    |   9 |  SORT ORDER BY                         |              |      1 |      1 |    255 |00:00:05.90 |    1091K|     45 |     45 | 70656 | 70656 |63488  (0)|         |
    |  10 |   NESTED LOOPS                         |              |      1 |        |    255 |00:00:04.47 |     547K|     45 |     45 |       |       |          |         |
    |  11 |    NESTED LOOPS                        |              |      1 |      1 |    255 |00:00:04.47 |     546K|     45 |     45 |       |       |          |         |
    |  12 |     NESTED LOOPS                       |              |      1 |      1 |    255 |00:00:03.88 |     383K|     45 |     45 |       |       |          |         |
    |  13 |      NESTED LOOPS                      |              |      1 |      1 |    255 |00:00:03.02 |     979 |     45 |     45 |       |       |          |         |
    |  14 |       NESTED LOOPS                     |              |      1 |      1 |    255 |00:00:03.01 |     712 |     45 |     45 |       |       |          |         |
    |* 15 |        HASH JOIN                       |              |      1 |      1 |    255 |00:00:03.01 |     527 |     45 |     45 |   858K|   858K| 1283K (0)|         |
    |  16 |         NESTED LOOPS                   |              |      1 |     19 |    255 |00:00:00.01 |      28 |      0 |      0 |       |       |          |         |
    |  17 |          NESTED LOOPS                  |              |      1 |      1 |      9 |00:00:00.01 |      17 |      0 |      0 |       |       |          |         |
    |  18 |           TABLE ACCESS BY INDEX ROWID  | DOMCUST      |      1 |      1 |      1 |00:00:00.01 |       2 |      0 |      0 |       |       |          |         |
    |* 19 |            INDEX UNIQUE SCAN           | PK_DOMCUST   |      1 |      1 |      1 |00:00:00.01 |       1 |      0 |      0 |       |       |          |         |
    |* 20 |           TABLE ACCESS FULL            | DOMHEADER    |      1 |      1 |      9 |00:00:00.01 |      15 |      0 |      0 |       |       |          |         |
    |* 21 |          INDEX RANGE SCAN              | PK_DOMLOTS   |      9 |     21 |    255 |00:00:00.01 |      11 |      0 |      0 |       |       |          |         |
    |  22 |         VIEW                           | VW_PTMS_LOTS |      1 |    101 |  15101 |00:00:03.05 |     499 |     45 |     45 |       |       |          |         |
    |  23 |          SORT UNIQUE                   |              |      1 |    101 |  15101 |00:00:03.02 |     499 |     45 |     45 |  1328K|   587K| 1180K (0)|         |
    |  24 |           UNION-ALL                    |              |      1 |        |  15101 |00:00:03.06 |     499 |     45 |     45 |       |       |          |         |
    |  25 |            HASH GROUP BY               |              |      1 |    100 |  15101 |00:00:02.98 |       0 |     45 |     45 |  3004K|   982K| 3262K (1)|    1024 |
    |* 26 |             FILTER                     |              |      1 |    100 |  15842 |00:00:02.99 |       0 |      0 |      0 |       |       |          |         |
    |  27 |              REMOTE                    |              |      1 |        |  16563 |00:00:02.95 |       0 |      0 |      0 |       |       |          |         |
    |* 28 |            TABLE ACCESS FULL           | PTMSLOTS     |      1 |      1 |      0 |00:00:00.01 |     499 |      0 |      0 |       |       |          |         |
    |* 29 |        INDEX UNIQUE SCAN               | PK_DOMLOTS   |    255 |      1 |    255 |00:00:00.01 |     185 |      0 |      0 |       |       |          |         |
    |  30 |       TABLE ACCESS BY INDEX ROWID      | DOMHEADER    |    255 |      1 |    255 |00:00:00.01 |     267 |      0 |      0 |       |       |          |         |
    |* 31 |        INDEX UNIQUE SCAN               | PK_DOMHEADER |    255 |      1 |    255 |00:00:00.01 |      12 |      0 |      0 |       |       |          |         |
    |  32 |      TABLE ACCESS BY INDEX ROWID       | LOTTEST      |    255 |      1 |    255 |00:00:00.91 |     383K|      0 |      0 |       |       |          |         |
    |* 33 |       INDEX UNIQUE SCAN                | PK_LOTTEST   |    255 |      1 |    255 |00:00:00.91 |     382K|      0 |      0 |       |       |          |         |
    |  34 |        SORT AGGREGATE                  |              |    255 |      1 |    255 |00:00:00.91 |     382K|      0 |      0 |       |       |          |         |
    |  35 |         TABLE ACCESS BY INDEX ROWID    | LOTTEST      |    255 |      1 |    261 |00:00:00.90 |     382K|      0 |      0 |       |       |          |         |
    |* 36 |          INDEX RANGE SCAN              | UK_LOTNO     |    255 |      1 |    261 |00:00:00.90 |     382K|      0 |      0 |       |       |          |         |
    |  37 |           SORT AGGREGATE               |              |    255 |      1 |    255 |00:00:00.90 |     382K|      0 |      0 |       |       |          |         |
    |* 38 |            FILTER                      |              |    255 |        |  57880 |00:00:01.09 |     382K|      0 |      0 |       |       |          |         |
    |* 39 |             TABLE ACCESS BY INDEX ROWID| LOTTEST      |    255 |      1 |  57880 |00:00:00.97 |     382K|      0 |      0 |       |       |          |         |
    |* 40 |              INDEX RANGE SCAN          | UK_LOTNO     |    255 |     45 |    767K|00:00:00.85 |    1798 |      0 |      0 |       |       |          |         |
    |* 41 |     INDEX UNIQUE SCAN                  | PK_LOTTEST   |    255 |      1 |    255 |00:00:00.53 |     162K|      0 |      0 |       |       |          |         |
    |  42 |      SORT AGGREGATE                    |              |    255 |      1 |    255 |00:00:00.53 |     162K|      0 |      0 |       |       |          |         |
    |  43 |       TABLE ACCESS BY INDEX ROWID      | LOTTEST      |    255 |      1 |    264 |00:00:00.52 |     162K|      0 |      0 |       |       |          |         |
    |* 44 |        INDEX RANGE SCAN                | UK_LOTNO     |    255 |      1 |    264 |00:00:00.52 |     162K|      0 |      0 |       |       |          |         |
    |  45 |         SORT AGGREGATE                 |              |    255 |      1 |    255 |00:00:00.52 |     162K|      0 |      0 |       |       |          |         |
    |* 46 |          FILTER                        |              |    255 |        |  55792 |00:00:00.46 |     162K|      0 |      0 |       |       |          |         |
    |* 47 |           TABLE ACCESS BY INDEX ROWID  | LOTTEST      |    255 |      1 |  55792 |00:00:00.35 |     162K|      0 |      0 |       |       |          |         |
    |* 48 |            INDEX RANGE SCAN            | UK_LOTNO     |    255 |     45 |    516K|00:00:00.57 |    5282 |      0 |      0 |       |       |          |         |
    |  49 |    TABLE ACCESS BY INDEX ROWID         | LOTTEST      |    255 |      1 |    255 |00:00:00.01 |     255 |      0 |      0 |       |       |          |         |
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - filter(:B1-365<=:B2+365)
       3 - filter(("WOODTYPE"=:B1 AND "PRODDATE">=:B2-365 AND "PRODDATE"<=:B3+365))
       4 - access("LOTNO"<:B1)
       6 - filter(:B1-365<=:B2+365)
       7 - filter(("WOODTYPE"=:B1 AND "PRODDATE">=:B2-365 AND "PRODDATE"<=:B3+365))
       8 - access("LOTNO">=:B1)
      15 - access("DOMLOTS"."LOTNO"="VW_PTMS_LOTS"."LOTID")
      19 - access("DOMCUST"."DOMCUSTID"=1)
      20 - filter(("DOMHEADER"."DOMCUSTID"=1 AND "DOMHEADER"."ISSUEDATE">=TO_DATE(' 2014-05-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "DOMHEADER"."WOODTYPE"='H'
                  AND TRUNC(INTERNAL_FUNCTION("DOMHEADER"."ISSUEDATE"))<=TO_DATE(' 2015-05-30 00:00:00', 'syyyy-mm-dd hh24:mi:ss')))
      21 - access("DOMHEADER"."DOMID"="DOMLOTS"."DOMID")
      26 - filter("A"."StartTime">GREATEST(SYSDATE@!-730,TO_DATE(' 2013-04-16 13:00:00', 'syyyy-mm-dd hh24:mi:ss')))
      28 - filter("PRODTIME">SYSDATE@!-730)
      29 - access("DOMHEADER"."DOMID"="DOMLOTS"."DOMID" AND "DOMLOTS"."LOTNO"="DOMLOTS"."LOTNO")
      31 - access("DOMLOTS"."DOMID"="DOMHEADER"."DOMID")
      33 - access("A"."LOTID"=)
      36 - access("LOTTEST"."LOTNO"=)
      38 - filter(:B1-365<=:B2+365)
      39 - filter(("WOODTYPE"=:B1 AND "PRODDATE">=:B2-365 AND "PRODDATE"<=:B3+365))
      40 - access("LOTNO"<:B1)
      41 - access("B"."LOTID"=)
      44 - access("LOTTEST"."LOTNO"=)
      46 - filter(:B1-365<=:B2+365)
      47 - filter(("WOODTYPE"=:B1 AND "PRODDATE">=:B2-365 AND "PRODDATE"<=:B3+365))
      48 - access("LOTNO">=:B1)
    
    105 rows selected.
    
    Elapsed: 00:00:00.12
    

Maybe you are looking for

  • A few gray Apple music songs and must be played manually, even if in a playlist.

    Songs from my iTunes library, downloaded from Apple's music, are gray and will not play in a playlist unless selected manually. Some of the songs had been able to normally play before, but have become randomly gray. I don't think that this is somethi

  • 2 D3 and a wifi edition

    I look around this forum, try to find a thread on the problems of wifi. I didn't, and I don't know that I missed, so I apologize if this has been covered before. (actually surprised it wasn't a bunch already also on droidforums.net) Wife and I got ou

  • How to use a NI9401 as a relay controller?

    I am very new to Lab-View and I would use the NI9401 digital output signal to activate my relay (which rotates on a vacuum pump).  What generation mode do I use (1 sample on request), and how I would trigger the module to turn the 5 volts and stop it

  • RV110W DHCP issue?

    Rv110w, I have 4 VLANS. vlan3 feeds a mute switch and a wireless access point. Looking at the router DHCP leases, it shows connected and non-connected devices. A little as it does not refresh the list. The 50 value leases. Questions: Is this normal?

  • BitLocker Drive

    Original title: bitlocker drive Hello! I used remove trojan appilcation and application pull out something in my windows after one of my readers that has bitlocker when I wanted to type password, suddenlu an error came and writing found appilcation,