About listeners for different databases in the same ORACLE_HOME

Hello experts, I have a doubt
I have installed 3 different databases in the same server which OS is Suse Enterprise 10. At this moment I have just one listener that registers all the services. The number of connections are big for two of the three databases so I do not know what might be the best practices for this environment. I have some question I would like you suggestion for me:
DB version: 11.1.0.7
Should I have three listener, one for each database?
Is a good practice to have only one listener for multiple instances in the same server?
Are there differents between have only one listener for all the instance and have one listener for instance?
What about the performance?
Than you in advance, I hope you can guide me.

Best practice is not to have multiple databases on one server, depending on resources.
Should I have three listener, one for each database?
No. That is pretty undesirable and requires more administration.
Is a good practice to have only one listener for multiple instances in the same server?
Yes. Remember the listener is only a broker and there are no permanent connections between client, listener and database.
Are there differents between have only one listener for all the instance and have one listener for instance?
Yes. The latter is an administration nightmare.
What about the performance?
Who cares? The only factors are
listener.log becomes too big --> set up proper cleanup procedures
The number of semaphores is exceeded (Unix) or no more threads can be created (Microsoft winblows), which will give rise to ora-12500.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Can you run multiple APEX listeners for different instances on the same server

    Please confirm that we can run multiple APEX listeners for different instances on the same server?  Is it an xml setup configuration or do we need to do more??
    Thank You,
    Tony Miller
    SmartDog Services
    Austin, TX

    Yes.. Just exactly what I was looking for...
    Thanks Jari!!
    Thank You,
    Tony Miller
    SmartDog Services
    Austin, TX

  • Data from different databases in the same report.

    Hi Everyone,
    I am trying to build a reconciliation report in which I need to show the data from the source and target, side by side.
    Source and target are both different databases, although being oracle only
    Whenever a new data model is created, it gets attached to a data source and in the report we need to choose a specific data model.
    Can we have data from different databases in the same report ?

    Yes, it is possible.
    One way Is to use dataTemplates. There you can make queries from any number of different databases (The max I have done is 5).
    It looks something like that:
    <dataTemplate name="NameOfTemplate">
    <dataQuery>
         <sqlStatement name="Q1" dataSourceRef="Connection1">
              <![CDATA[     select * from table1]]>
         </sqlStatement>
         <sqlStatement name="Q2" dataSourceRef="Connection2">
              <![CDATA[     select * from table2]]>
         </sqlStatement>
      </dataQuery>
      <dataStructure>
         <group name="RESULT1" source="Q1">
              <element name="P_FIRST_NAME" value="P_FIRST_NAME"/>
         </group>
         <group name="RESULT2" source="Q2">
              <element name="P_DATE" value="P_DATE"/>     
         </group>
      </dataStructure>
    </dataTemplate>dataStructure is very important when you get data from different places, if you don't define those elements, then only the result from Q1 is shown.
    The second possible way is to make as two different data models, each containing their own query and then set Main Data Set as concatenated SQL Data Source.
    Best of luck,
    Evelyn

  • Different zoom levels for different clips in the same project?

    Hi
    I am making a movie with videos from two different cameras. As a result some of the clips are cut down in size to a small portion of the screen. This can be solved if it is possible to use different zoom levels for different clips in the same project. I have not been able to do this. Is it possible?
    kind regards
    Soren

    You can scale the small clips up to the same size of the larger one... but you will get a quality loss.
    Using Motion or Scale to Frame Size commands
    Better to scale the large ones down to a Sequence that matches the smaller clip dimensions.

  • How do I create multiple databases on the same ORACLE_HOME

    Hi,
    I would like to know how can I create 2 databases on the same ORACLE_HOME? Also is it possible to start both databases at the same time?
    When I installed oracle,a directory named database has been created under ORACLE_HOME, which contains all initorc1.ora ,etc ?
    At this point how do I create another database named orc2 on the same machine?
    Thanks in advance.
    winnie philip.

    Hi,
    Set the oracle_sid=db1
    Now rename your init.ora to init<oracle_sid>.ora in $oracle_home/dbs directory.
    Change the db_name parameter to appropriate name in the init<oracle_sid>.ora file.
    Now create the database.
    In the same fashion create another database with the new database name and different oracle_sid
    Now in order to switch between the databases.
    Change the env variable Oracle_Sid to the value of the database which you wanted to start.
    Regards
    Anand

  • Need to run the same query on different databases with the same argument

    Hi folks,
    I've a script: obj, which has simple stuff, when I execute @obj
    this asked me for the object_name
    and in return gives me object/s if it exists in this (connected) db.
    Now to check in 2 other dbs, I've to disconnect from here and then connect to those dbs and run the same @obj there and give the same argument, e.g., EMP and it'll return the answer.
    What is desired ... if not very hard on you :-(
    Some thing like @objAll
    asked only once object_name ... e.g., I gave EMP
    now go to all the 3 dbs and give me the result in ONE spool file only.
    What do you think, is this tough, I did something, but it was not involved connecting to different dbs, within the same script, but here we cannot create db links and have to disconnect and connect to the db to get some information.
    Please do reply, if my question is not understandable or any ...
    Thanks in advance.
    Best regards.
    Edited by: user8604530 on Jun 27, 2012 1:51 PM

    As far as i understand from your question : you cannot create db links ? right..
    well another option is to create a shell script , something like this :
    vi check.sh
    export ORACLE_SID=db1
    sqlplus / as sysdba <<EOF
    select query comes here;
    exit;
    EOF
    export ORACLE_SID=db2
    sqlplus / as sysdba <<EOF
    select query comes here;
    exit;
    EOFchmod 777 check.sh
    This does the job for you.. I am unsure how to pass the parameters in sql while running through a sheel script.. but if thats possible you will be able to achieve what you want.
    Regards
    Kk
    Edited by: Kk on Jun 27, 2012 2:44 PM

  • SQL Server wants to open properties of wrong database and cannot restore logs of different databases at the same time

    We have implemented our own way of logshipping by backing up the transaction logs of all our non-system databases every hour. Then we transfer the backups (before SQL Server 2008 R2 with additional zip and unzip steps) to the second environment where we
    restore them only during the night on databases in standby-state (Like this, our developers can access the databases without disturbing the productive system and we can restore the t-logs during night, so not shutting out the developers during the day).
    Now since we replaced our hardware in the productive environment, we replaced the hardware in the second environment with the servers from previous productive environment. Same SQL Server 2008 R2, same Service Pack (SP2), same installation procedure. But
    since then the SQL Server in the second environment behaves different:
    - When the logs of some database "A" are restored, I cannot access the properties of any database, i.e. database "B", I only get the error message "Cannot show requested dialog. (SqlMgmt) Database 'A' cannot be opened. It is in the
    middle of a restore. (Microsoft SQL Server, Error: 927)"
    - Our logshipping runs multiple instance at the same time, so restoring multiple databases' logs. But since the change, two of the instances fail restoring of datatbases, i.e. "B" and "C" with the error message "Database 'A' cannot
    be opened. It is in the middle of a restore.". The jobs guarantee to restore only logs of the database they need to restore, they have strictly separated sets of target databases and only try to restore the databases of their sets.
    Before the new installations, we did not have these strange behaviours. But as said, it is the same SQL Server version, the same service pack, and we followed the same installation document but maybe with the small changes in settings. The user the jobs
    are running under is a domain admin, the login they use has dbcreator, processadmin, db_owner and db_backupoperator roles. My login on the SQL Server has sysadmin rights and as described similar problems.
    Is this problem known or does somebody have an idea where to go looking for?
    Thanks, Chris

    Hi Christar,
    According to your description, after you configuring Log shipping between two database, you remove the hardware from production environment to dev environment, in this hardware, there are saved the transaction logs of your database.
     When restoring  your database, there will occurs error 927, right?
    SQL Server Log shipping allows you to automatically send transaction log backups from a
    primary database on a primary server instance to one or more
    secondary databases on separate secondary server instances. It consists of three operations:
    1.Back up the transaction log at the primary server instance.
    2.Copy the transaction log file to the secondary server instance.
    3.Restore the log backup on the secondary server instance.
    Since you want to move your hardware avoiding copy job, we need to verify if .mdf and .ldf file are not saved in your hardware, or else,
     if you move your hardware, you could not open your database in your Primary Server. I recommend you can refer to the following steps.
    Full back up your primary database and restore it into the secondary database. It would have been set up as WITH STANDBY ,the databases would read StandBy/ Read Only.
    Perform transaction log backups via a SQL Server Agent job running on the primary server instance, save them in your hardware.
    In night, you move hardware to your dev environment, you can manually restore these transaction log backups or set up a SQL Server Agent job to restoring them from your hardware.
    There is detail about how to configure log shipping in SQL Server 2008R2 step by step, you can review it.
    http://mostafaelmasry.wordpress.com/2013/01/02/log-shipping-in-sql-server-2008r2-step-by-step/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • HR Authorisation Management for different companies in the same client

    Hi,
    Could anyone please help in this....
    My client has two companies. They want to restrict the authorisation to both the companies so that no one can see each other companies data and at the same time access tha data.
    For Eg, there are two payroll officers, each in both the companies, If i give authorisation to run Payroll driver(PC00_M40_CALC), anyone of them can run payroll for any of the companies. (though,their Payroll area is different). There are many restrictions to be maintained like Maintance of Master data, Maintanance of OM structure as assignement of position, running Payroll, viewing the payslip etc...
    How can this all be restricted so that, the respective  companies can view and access their own data without interfering in to the other company.
    I could only find object P_PYEVRUN which helps me restrict to view the created documents of posting for other company code.
    Can anyone put light on how i should proceed further... I heard we can restrict HR master data, but what all i know is we can restrict at infotype level. My problem is, two persons should access PA30(each from different companies), but should not be able to edit other companies data.
    Thanks
    --Pranitha

    Hi ,
    If you are creating the another company undar the same client . then you can not use different no. range.
    or if you are going different client for different compnay code then you can use different number range for material master.
    SAM

  • How to configure one Listener for 2 databases on the same server

    Hello all,
    Please, I am stuck as with my application server which requests the port 1521. I want to configure the repository to make use of the port 1521 which is also shared by another database on the server.
    Regards,
    Nadine

    Maybe it is worth mentioning here that am installing it with two different users as to have two ORACLE_HOME independent of each other.
    Below are the configuration files for the Listener.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = test.appstech.local)
    (ORACLE_HOME = /d02/app/oracle/product/10.2.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (GLOBAL_DBNAME = testing.appstech.local)
    (ORACLE_HOME = /d01/app/oracle/product/10.1.2/ora_infra)
    (SID_NAME = testing)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ebs.appstech.local)(PORT = 1521))
    TRACE_LEVEL_LISTENER = USER
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test.appstech.local)
    TESTING =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = testing.appstech.local)
    Regards,

  • Different links for different forms of the same list.

    Greetings,
    I have a custom list created with several columns one of which is the Title column. I have created three different views for this list.
    Using SharePoint Designer 2013 I have created three separate forms, one is a custom new for, a custom edit form and a custom display form. For specific reasons, I have not setup these forms as default. 
    I'd like to change the URL of the Title column depending on the view. 
    For example, if I am on View1 and click on the Title column, then I should see the custom display form I have built. In short, I want a way to manually change the url of the Title column. 
    I plan on creating several other forms for this same list and hence I need to know how I can change the URL of the Title column to match the need of the workflow.
    Thanks in advance.
    Daniel Christian (MCTS)

    May be you can achieve it using different java scipt for different views:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d7083056-594b-45b4-9fd4-9d615cdf5875/how-to-change-link-of-list-items-title-in-sharepoint-custom-list-by-programmatically-on-sharepoint?forum=appsforsharepoint
    However another suggest is that you create multiple title column with different links. every view will have a different title column so it can achieved.

  • Could not get connections for 2 databases at the same time

    Hi, I have a session bean which calls 2 entity beans in one method. The 2 entity
    beans are located in different databases (different datasources and different
    pools). When running, I got the following error:
    Couldn't get connection:
    java.sql.SQLException: Connection has already been created in this tx context
    for pool named iitga_jdbc. Illegal attempt to create connection from another pool:
    iitdbmap_jdbc
    It seems WebLogic only allows one database connection within one method.
    Thanks,

    Hi Henry,
    If you want two beans bound to different database, you need
    to use XA pools with TXDataSources because in this case you
    have a distributed transaction.
    Set up you pools using XA drivers and make sure you use
    TXDatasources.
    If you tell us which database you use we may come up with
    sample pool configurations.
    "Henry Hiu" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi, I have a session bean which calls 2 entity beans in one method. The 2entity
    beans are located in different databases (different datasources anddifferent
    pools). When running, I got the following error:
    Couldn't get connection:
    java.sql.SQLException: Connection has already been created in this txcontext
    for pool named iitga_jdbc. Illegal attempt to create connection fromanother pool:
    iitdbmap_jdbcRegards,
    Slava imeshev

  • Diferent password expiration days for different users in the same system.

    Hi sdn gurus,
    We need to configure different password expiration days for different groups of users in the same system.
    We know how to configure the system to define a password expiration time for the complete system (parameter login/password_expiration_time), but we must configure some expiration time to a group of users and another expiration time to another one in the SAME system.
    Somebody know a way to do this?
    Thanks in advance for your help!!!

    Hi Sunny,
    Thanks for your reply!!!
    We know the parameter is for the complete system ... but we are trying to find out if exist another way to define diferent passwrod expiration days, to diferent group of users (may be with an additional system parameters or UME configuration).
    Thanks to all for your help.

  • RMAN restore database from another backup of different database in the same host

    Hi Experts,
    I have taken FULL Database Backup using RMAN , now I want to Restore and Recover the same database on different instance on Same Host.
    Could u suggest any document or Steps to achieve this task.....
    Thanks,
    Mouni.

    No Problem.
    Please check this :
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#BRADV420
    ORACLE-BASE - Duplicate a Database Using RMAN in Oracle Database 11g Release 2
    Ensure you follow what Mr. Hemant has mentioned.
    Regards
    Karan

  • Get row count for different tables to the same line

    How can I get the row count for different tables in one line:
    SELECT count(A), count(B), count(C) from table tb_a A , tb_b B, tb_c C;
    Thanks!

    >
    Hi,
    How can I get the row count for different tables in one line:
    SELECT count(A), count(B), count(C) from table tb_a A , tb_b B, tb_c C;Something like this? One of the many uses for CTE's - Common Table Expressions - AKA
    subquery refactoring. Worth getting to know - very handy!
    with acount as
      select count(*) as counta from dual  -- put your table name here
    bcount as
      select count(*) as countb from dual  -- put your table name here
    ccount as
      select count(*) as countc from dual  -- put your table name here
    select a.counta, b.countb, c.countc from acount a, bcount b, ccount c;HTH,
    Paul...
    Edited by: Paulie on 25-Jul-2012 17:44

  • Regarding the use of different services for different parts in the same display layout

    hi,
    i am trying to design an application using flex at the frontend and in the gui what i have designed i have the upper portion consisting of four panels
    displaying the critical events at real time whereas in the lower half of the gui design i have designed something that based on the user provided input the
    the information should be displayed in the lower half of the gui design layout.i just wanted to know whether it is possible to use two services like request response http based service for the lower half and real time data pushing using either amf or amfx or http with polling in the upper half.but i want them to be displayed on the same gui.
    thanks

    Hi,
    Please refer the below link:-
    http://www.sap-img.com/sap-sd/sap-sd-cin-configuration.htm
    Thanks & Regards,
    Rahul Verulkar

Maybe you are looking for

  • HT3964 My macbook light goes off by itself...

    Hello everybody! Lately my macbook (white) version 10.5.8 goes black by itself. The computer is still on. There is still a faint image but its too dark to see. I can get it back if i recude the light all the way down (F1) and then increase it all the

  • Cracked casing question.

    I've got the missing chunk of the casing where the lid closes. I've read on here that Apple is willing to fix it, no questions asked, but I'm wondering how long it takes to fix. Do they send it away, or are they able to replace it in store? I apologi

  • Failed Delta from R/3

    Hi all: I had a failed delta load from R/3 ( Cost Centers: Actual Costs Through Delta(0CO_OM_CCA_9) ) to our BW Production System . We deleted the requests that failed . We tried doing re-construct but it says the previous delta has not finished .Is

  • CIF - error handling and maintance

    Hi sap gures please let me know  how to handle CIF errors and how to maintain and support the CIF in the production supporting project please help me Regards R.suresh Kumar

  • Installing Agfa Duoscan T1200 scanner with latest OS X (10.4.8)

    Does anyone know if it is possible to install my Agfa Duoscan T1200 scanner in my G4 without causing much trouble? My G4 has a Ultra SCSI card installed. When I check the contents of my PCI Cards it says that I have ADPT,2930CU installed. I am assumi