Multiple clients and multiple databases on one system

Does SAP support having a single system ( Let's call it PEQ for the sake of argument ) having multiple clients ( again, for the sake of argument, call them 200, 250, 260, and 300) allow for each client to have it's own physical database ?
For example, here is what I would like to have set up:
PEQ 200 - database 1
PEQ 250 - database 2
PEQ 260 - database 3
PEQ 300 - database 1
So PEQ 200 and 300 access database 1, PEQ 250 accesses database 2, and PEQ 260 accesses database 3.
I only want to know if this is possible and if so how would you set it up.  I do not want to get into any discussion on whether this is the best way to go or not.  Any pointers to OSS notes on the subject are more than welcome.
Thanks;
Bruce

> So PEQ 200 and 300 access database 1, PEQ 250 accesses database 2, and PEQ 260 accesses database 3.
>
> I only want to know if this is possible and if so how would you set it up.  I do not want to get into any discussion on whether this is the best way to go or not.  Any pointers to OSS notes on the subject are more than welcome.
Simple answer: No.
Long answer:
- Workprocesses don't know anything about "clients". A client is nothing more than an additional field in a table with the client number. So it's not possible to configure them to connect to a certain database using a "client number".
- A client alone has nothing but application data. It has no dictionary (tables, views) and it has no repository (source code) that can be executed
- A SAP system (ABAP) has cross client customizing that would need to be shared somehow, technically not possible since also here the workprocess (which is the lowest unit) does not know whether a table is client dependent or not.
Maybe there is a way to come out of this dilemma - if you tell us, what you (business) requirement is.
Markus

Similar Messages

  • Multiple databases in one file: a small snafu

    Hello everyone,
    Opening multiple databases in a single file is an administrative convenience. It is well explained in the manual (see db/docs/ref/am/opensub.html). Normally, there is little difference between databases in their own physical files or grouped together in a single physical file. There is one small sentence in the manual that says the following:
    (begin fragment)
    However, since multiple databases in a file exist in a single physical file, opening two databases in the same file simultaneously requires locking be enabled unless all of the handles are read-only. As the locks for the two databases can only conflict during page allocation, this additional locking is unlikely to affect performance.
    (end fragment).
    I didn't pay attention to it, except the "unlikely to affect performance" part which told me that I wasn't to worry about it. The sun was shining. Life was good.
    And I was wrong. It was one of those "epic bug quests" I had to embark on, only to realise that it may not be a BDB bug, but my carelessnes. Nevertheless, I'm left with an uneasy feeling which I would like to explain here.
    Consider BDB configured as a concurrent data store.
    There are 2 threads. The first thread has the following pseudocode:
    cursor1 = db1->cursor(...)
    while(cursor1->c_get(... DB_NEXT...))
    // 1
    cursor2 = db2->cursor(...)
    while(cursor2->c_get(... DB_NEXT...))
    The second thread does only the following:
    db3->put(...)
    db1, db2 and db3 are all distinct databases. All cursors are read-only (the cursor implicitly used in db3->put is of course a write cursor).
    While the first thread is running, the second thread executes db3->put(...) at "//1".
    Question: what happens?
    Answer 1: if db1, db2 and db3 reside in different physical files, nothing special happens. Everything proceeds as it should.
    Answer 2: if db1, db2 and db3 reside in the same physical file, both threads block "sometimes".
    The "sometimes" used here means "when the put operation in thread 2 needs to allocate a new page".
    Reading the BDB source code is extraordinarily difficult (which says more about my limitations than about the clarity of the code) but here is what happens, as far as I could determine:
    (thread 1) cursor1 needs and acquires a read lock on db1
    (thread 2) db3->put needs a write lock on db2 to allocate a new page. Since db2 is in the same physical file as db1 and thread 1 already has a read lock, thread 2 waits until the read lock is released. Thread 2 blocks.
    (thread 1) cursor 2 needs a read lock on db3. For some reason, BDB detects that the another thread is waiting for a write lock on the physical file, and thread 1 blocks.
    Both threads block waiting on each other to complete.
    I suppose the system is the way it is to avoid starvation, but there you have it: be careful when you're lumping together multiple databases in one file!
    Anyone who can clarify or confirm this is welcome.
    Vincent

    I had experienced a similar problem. I run multiple process. Each one of them starts a transaction that does db->put and db->pget to its own database (which also has a secondary index). When each database is in a separate physical file there is no problem but when I put all databases in a single file the processes start to dead-lock.
    The following combination of options solved the deadlocking problem:
    - use serializable isolation level instead of snapshot, i.e. do not pass DB_TXN_SNAPSHOT to txn_begin
    - do not pass the DB_NO_WAIT option to txn_begin
    - use Btree instead of a Hash
    Hope that helps.

  • SMSY//Logical component definition - multiple roles for one system?

    Dear all,
    as our client has a divided system landscape (three-tier operational line as well as two-tier development line) some systems have more than one role to fill. The development system on development line is source system for all developments, as well as post-processing system for retrofit purpose from operational line. The maintenance system on operational line is target system for developments from development line, as well as source system for maintenance activities on operational line.
    --> What are the consequences of assigning multiple roles to one system?
    --> Is there anonther option than assigning multiple roles?
    Best regards
    Nick

    We have Event Manger 7.0 installed into a stand-alone SCM 7.0 system. When trying to set this up in SMSY, the only options given for setting up the Logical System is to associate with with EHP3 or EHP4 for in ECC 6.0.
    Obviously we have not installed EM into ECC. So where are the other appropriate entries in SMSY for recognizing that EM is installed in SCM?
    1) This system must be maintained as SCM 7.0 in SMSY and not as SAP ERP 6.0 or EHPX for SAP ERP 6.0, this is the reason as you can see this system SCM 7.0 can be assigned just to SAP ERP 6.0 or EHPX for SAP ERP 6.0.
    2) There's no Main Instance available to be selected when you have a SAP SCM 7.0. You must select one or more of the following main instances below.
    BI Content
    SCM Server
    cFolders on SCM Server
    GEOCODING
    Portal Content
    SAP LiveCache
    SAP NW - Adobe Docu. Service
    SCM Optimizer
    SCM WCL
    XI Content
    These are the main instances available to SCM 7.0

  • Can anyone recommend a client and proposal database?

    Can anyone recommend a client and proposal database for the iPad?

    As far as the clients, it should say at the bottom of a finder window how much space is available. If you're wanting to monitor a user's usage as an administrator it'll have it in Server Admin -> Server Settings -> System -> Quota.

  • Multiple databases in one single RAC cluster

    Hi, I would like to know if one can have multiple databases running on a single RAC cluster, we have several databases in our shop and would like to consolidate all of them into a single 3-4 node RAC cluster running databases with 10.2 and 11.1 versions.
    I am newbie to RAC and would like to get some clarification if anyone has done this, google search comes up with few hits on this topic, so obviously this is not doable.
    In our case we have one database supporting critical applications and few other not so critical but are used very extensively between 9-5, so what is the use of RAC if I cannot consolidate all my databases into one cluster, or if I need a separate cluster for each of these critical databases?
    I have been all the Oracle docs that keep repeating one database multiple instances and one instance-one machine-one node, they don't even advise running multiple instances on a single node?.
    I appreciate any insight.
    Thanks.

    ora-sql-dba wrote:
    Can you give more details on how you would setup multiple databases running different versions on a single RAC cluster, I am yet to find any documentation that supports or even elaborates on this topic.You can configure a cluster with 12 nodes. Then, using dbca, configure a dev instance for nodes 1 and 2, a prod1 instance for nodes 3 to 6 and a prod2 instance for nodes 7 to 12.
    You also can configure each of these instances for all 12 nodes. And use it on all 12 nodes.
    Or, after configuring it for all 12 nodes, you can start the dev instance on nodes 1 and 2, prod1 on 3 - 6 and prod2 on the remaining nodes. If dev needs more power, you can for example shutdown prod2 on node 12 and start another dev instance there.
    My issue is with the 2nd option - running more than one instance on the same node or server. Why? Each instance has a basic resource footprint ito shared memory needed, system processes required (like db writer, log writer, sys monitor) etc. It does not make sense to pay for that same footprint more than once on a server. Each time you do, you need to reduce the amount of resources that can be used by each instance.
    So instead of using (for example) 60% of that server's memory as the SGA for a single instance, if you use 2 instances on that server you now have to reduce the SGA of each to 30% of system memory. Effectively crippling those instances by 50% - they will now have smaller buffer caches, require more physical I/O and be more limited in what they can do.
    So unless you have very sound technical reasons for running more than one instance on a server (RAC or non-RAC), do not.

  • Multiple databases in one Environment

    I am tryiing to figure out the best way to implement my JE environment. My use case requires that I be able to use UNIX tools like 'cp' to move JE databases from place of generation (development) to place of consumption (production). Moreover, each JE database stores very different data and has different refresh cycles (ex., one of them may be refreshed every week, another may be refreshed once a month, etc.)
    My dilemma is:
    1)- Should I use one env w/multiple databases, or,
    2)- A separate env for each database?
    With (1), I can't see a way of selectively updating one of the databases and copying over the changed JE log files to production servers (for read-only access at runtime). Every time I want to update one database, I'm thinking I'll have to pull down all JE log files, update the DB and push out all JE log files to production servers.
    (2) seems to go against the guidelines I've seen in this forum, viz., one env per process is more efficient.
    Thoughts/experiences/comments are welcome.
    Thanks

    Hi,
    What Charles suggested is the best approach if you need to avoid the performance issues with having multiple environments in a single process (you mention that you've read about them elsewhere on the forum). Please also be aware that we're working to solve those problems in an upcoming release. So if you prefer, you can implement your application using multiple environments now, and expect that the performance issues will be resolved later. This might make sense if your deployment will be small at first, and performance will not be a big issue right away.
    Mark

  • Multiple Databases in one Business Area?

    Can I put multiple databases into the same Business Area?
    The crux of the problem is as follows: I am migrating data from one database to another. There will be a period of dual running, whilst the products are migrated.
    I want to be able to write reports that compare the data between the two databases, and show me the discrepancies.
    Oh one of the databases is not Oracle, so using a db link is not an option.
    null

    Can I put multiple databases into the same Business Area?
    The crux of the problem is as follows: I am migrating data from one database to another. There will be a period of dual running, whilst the products are migrated.
    I want to be able to write reports that compare the data between the two databases, and show me the discrepancies.
    Oh one of the databases is not Oracle, so using a db link is not an option.
    null

  • How to install two oracle database on one system

    i want to install two oracle databases on single system how it is possible
    how i can manager oracle home and is this possible to install two different version of oracle in single home or single system forexample oracle 9 and oracle 8 .
    A.R

    Hi,
    yes, u can have more databases on a single machine and they can be of different versions.
    You have to use and initialize the correct ORACLE_HOME to create the DB of the version U use.
    For ex, u have 2 homes:
    C:\Oracle\Ora817 8i home and C:\Oracle\ora920 9i home
    Normally, using OFA, imagine that You want create 2 db, TEST_8I for 8i home and TEST_9I for the 9i home, You shold have:
    C:\Oracle\Admin\TEST_8I\<<OFA DIRS>> and C:\Oracle\Oradata\TEST_8I for 8i DB adn C:\Oracle\Admin\TEST_9I\<<OFA DIRS>> and C:\Oracle\Oradata\TEST_9I for the 9i version.
    It is important, when You create the DB, that u use the executables of C:\Oracle\Ora817\bin to create 8i db and C:\Oracle\Ora920\bin for the 9i one.
    Then U can use the 9i listener to manage both instances
    Hope this helps
    Max

  • How to export and import database from one laptop to another?

    hi,
    plz anyone help me to export and import one of my user in the database to another laptop.....
    i hav absoulutely no knowledge in doing this, plz some one help to do it from scrap...
    thanks in advance for ur kind help

    what's the oracle version on Source and Target Database release version? Take a look at the below links.
    [http://wiki.oracle.com/page/Oracle+export+and+import+]
    [Import_Export_FAQ|http://www.orafaq.com/wiki/Import_Export_FAQ]
    Export
    [Oracle Export Utility|http://www.psoug.org/reference/export.html]
    [Oracle Import Utility|http://www.psoug.org/reference/import.html]
    HTH
    Anantha

  • Is it possible to uninstall just clients and not databases using winbatch

    Due to security updates we have chosen to remove all previous versions of Oracle CLIENT, and we currently have a WinBatch script that parses all home locations and then uninstalls the Oracle software from those home directories using the Oracle uninstaller.... yep you can see where this is going, on a PC with Oracle Database installed (IE Devs) their database(s) were uninstalled too DOOOHHHH!!
    What I am in need of is a scripted method to parse all home directories (because we all know Devs will just reinstall the client they think they need) and uninstalls just the CLIENTS and not the databases. Is this possible programmatically?
    Edited by: 960187 on Sep 19, 2012 3:09 PM

    960187 wrote:
    Due to security updates we have chosen to remove all previous versions of Oracle CLIENT, and we currently have a WinBatch script that parses all home locations and then uninstalls the Oracle software from those home directories using the Oracle uninstaller.... yep you can see where this is going, on a PC with Oracle Database installed (IE Devs) their database(s) were uninstalled too DOOOHHHH!!
    What I am in need of is a scripted method to parse all home directories (because we all know Devs will just reinstall the client they think they need) and uninstalls just the CLIENTS and not the databases. Is this possible programmatically?
    Edited by: 960187 on Sep 19, 2012 3:09 PMThis is a fool's errand. The database home includes the client software. And that is necessary because there are times when the database instance itself has to take the role of a client.
    Yes, there can be a separate 'client-only' home that can be fairly easily identified, but that still leaves a client in the db home.
    You need to re-think your 'requirement'.

  • Multiple databases in one application with locations unknown

    Hello everyone,
    I am developing an application that uses several databases, one database for each user. The users, and the parameters for their database connections, are read from a configuration-file at runtime.
    I would like to use JPA to access the databases. This is where the problem arises, because if I try to get an EntityManagerFactory, I have to specify a name; I just use <username>-pu. This causes a PersistenceException because "No Persistence provider for EntityManager named maarten-pu". Which is correct, because my persistence.xml contains no persistence units.
    I cannot define all persistence units beforehand, because at that time the configuration-file is not yet read.
    Does anyone know how to solve this problem?
    Kind regards, and thanks in advance,
    Maarten

    Hello everyone,
    I am developing an application that uses several databases, one database for each user. The users, and the parameters for their database connections, are read from a configuration-file at runtime.
    I would like to use JPA to access the databases. This is where the problem arises, because if I try to get an EntityManagerFactory, I have to specify a name; I just use <username>-pu. This causes a PersistenceException because "No Persistence provider for EntityManager named maarten-pu". Which is correct, because my persistence.xml contains no persistence units.
    I cannot define all persistence units beforehand, because at that time the configuration-file is not yet read.
    Does anyone know how to solve this problem?
    Kind regards, and thanks in advance,
    Maarten

  • Combining multiple databases into one in the physical layer

    I have several databases in the physical layer that I would like to combine into one database. How can I do this safely without interfering with the existing physical joins in the physical layer and the column mappings in the BMM layer ?
    Can you recommend the best procedures to follow in order to get this accomplished?
    Boniface Ntawutarama

    hi Boniface,
    I think so No,you cant combine all databases into single one.Actually why you want to do this?
    According to the requirement you select a database and concerned tables to build the repository,same way with other databases also you build RPD and establish joins in physical layer
    Lets wait for any more specific answers on this from experts.
    By,
    Kranthi.

  • Transfer of FM, reports and DB tables from one system to another System

    Hello Experts,
    I have one query,
    We have two different development system and I want to transfer few programs, function modules and DB tables with entries to another development system.
    Ex. 100 (Client) 1st Development system.
          200 (Client) 2nd Development System.
    I want Transfer Programs from client 100 to client 200 system.
    Can you please tell me how we can do this?
    Thanks in advance.

    Hi,
    Try it using tcode SCC1.
    Thanks,
    Archana

  • Upload and Download Query From one System to another  ?

    Hi Everybody ,
    I am working in an Upgradation Project ( From 4.6C  to ECC 6 ).
    It seems Queries cannot be coppied from 4.6 C  to  ECC 6 .
    Can anybody tell me how to Download the Queries from 4.6C  and  Upload to ECC 6  with detail steps.
    Thanks in Advance .
    Regards.
    Srikanta

    Hi,
    1.     Executed the program RSAQR3TR with ' Export ' option  for user group,Queries & info sets .It will store all the entries as Data cluster into one TR ( source system ).
    2. Now move this TR to new System
    3. And again execute the program RSAQR3TR with Import option by providing the TR (source System ).
    now it will store all the objects into new TR . ( target system ).
    you need to re-run the program with option ' Copy Standard Area -> Global Area' after import.
    Please check the results with 'test ' option before moving the queries.
    Even , you can try with Download/Upload options with RSAQR3TR.
    Hope this will help you.
    Regards.
    Ravi Sankar.Z
    Edited by: Ravi Sankara. Z on Mar 25, 2009 12:39 PM

  • Two databases in one system how to connect sql

    Hi all
    Plz help me I have two data bases installed on my system Oracle
    9i n Oracle 10g my problem is when I go on command prompt n connect to sql it always connect with 9i but me want to connect with Oracle 10g plz help me how it
    possible I have Windows xp professional
    Arshad

    Hi Arshad,
    You need to check your PATH environment variable in Windows.
    You can check that the path will first point to your 9i installation by entering SET in your dos command prompt.
    Then, change the PATH first entries to first your 10g /bin folder.
    Otherwise, you can:
    * set ORACLE_HOME= <10g home location>
    * then enter: %ORACLE_HOME%\bin\sqlplus.exe <connect string>
    When your question is answered, please mark your thread as ANSWERED and eventually point which post was helpfull or correct
    HTH,
    Thierry

Maybe you are looking for

  • How can i set a long String to a xmltype field in oracle9i use PHP?

    i can set xml String to xmltype field with: $sql_insert_sql = "insert into g_province (p_id,p_regionid,p_provincenameobj,solt) values (g_province_q.nextval,'".$_GET['region_id']."',sys.XMLTYPE.createXML('".$xml_con."'),0)"; but if $xml_con too long,i

  • My Apple Mail keeps crashing after every 2 hours or so?

    I can usually get 2 or so hours use out of Apple Mail before it crashes. I've got about 6 Gmail accounts setup on it plus my iCloud account. Mail is by far my favourite email client but if this continues to happen the only solution is converting - pl

  • Messages application crashes on launch

    *** Terminating app due to uncaught exception 'NSObjectInaccessibleException', reason: 'CoreData could not fulfill a fault for '0x6d00004b <x-coredata://DAA5DDFB-3506-4BC8-8A28-44DAA42DB61E/ABCDContact/p436>'' terminating with uncaught exception of t

  • A small error

    Hai, my form consists of only a checkbox group which i have to select or deselect But when i press the ok button .I get the following error "Validation Error: {0}Value is not valid " What does ' {0}' stands for? Thanx for reading this.

  • Problem loading cs2 on my 10.5.8 but cs1 runs just fine...help?

    I have an older G5 tower that is running 10.5.8 and have had photoshop cs2 on it since about 2006 and friend gave me a copy of Adobe Creative Suite standard and CS2 premium upgrade. I figured I needed to uninstall photoshop so I did and then  I finis