Multiple Instances and schemas to One
Hi,
Good Morning to all gurus.
Using Oracle Version 11.2.0.2
We have a database With 4 instances and Each Instance will be having 10 to 15 schemas Based on Countries. Here in all schemas we will be having Huge data's (count may be 3 to 5 crores for some 10 tables)
Now am keen to Know If i change the above to a single instance and Single Schema(Common for all countries) What Pros and cons Will be there (Technical).
Any Links or Answers are highly appreciated.
HOPE GURUS Here can help me study and understand the above scenarios.
Regards,
Simma....
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2246908001297
cons:
o harder to manage
o harder to upgrade
o harder to patch
o harder to maintain
o causes your shared pool size to increase 1,000 times (shared sql goes down the tubes)
o takes more space
o queries against the dictionary will be impacted
o latching on the shared pool goes WAY up (latching = locks = serialization device =
slows you down)
pros:
o none that I can think of.
https://forums.oracle.com/thread/1032030
Seperate schemas have advantages with security, privacy, seperation of duties, and change control. Seperate schemas also have the advantage of logical granularity / grouping for easier management, upgrade, decommission, scalability, hardware or software migration.
Yes, you can develop applications faster if you don't have to think about security, scalability etc, but it will come back to haunt you later.
RobertGeier
AND
Separate schemas have the disadvantage of requiring additonal grants and privileges to support the reference of non-owned objects used in stored code and to support FK definitions across tables owned by different users.
Naming standards and system codes can be used to identify and segregate objects defined under one schema.
The use of solid naming standards with a well chosen group of owners (schemas) would likely be a good compromise. The choice really depends on how large the applicaiton is going to be object wise and how integrated the objects are going to be. The more integration the less separate owners is beneficial.
IMHO -- Mark D Powell --
Similar Messages
-
Move users and schemas from one instance to another
Hi, I'm starting out in a DBA position.
My task at the moment is to move users and schemas from one instance to another.
We're using 9.2.0.7.
I have concluded that the following steps are necessary to move users and schemas from one instance to another :
1. Create the needed tablespaces.
2. Create the users that exist in the source instance
3. Use exp to do a full export
4. Use imp to re-create the schemas from the output file created by exp in step 3
Am I missing anything ?
Thanks,
Gabriel3. Use exp to do a full exportInstead of doing a FULL export just export the users you want to move and imp that in other database using FROMUSER & TOUSER parameter.
Daljit Singh -
Multiple users and shopping carts, one searchable index?
Hi all,
I've got an idea but I would like to know if it possible with Business Catalyst. I'll try and explain as simply as possible:
I have multiple users (let's say 10). They all need separate shopping carts as they are all selling different products. They all need their own admin areas that keep track of their incomes, workflows, shopping carts, etc. They are essentially 10 independent users. Will the WebCommerce10 plan satisfy their needs, or will 10 separate WebCommerce single plans need to be sold?
Taking the above into account, is there anyway to have 10 independent shopping carts, but they can all be searchable simultaneously? e.g. think eBay, lots of users with their own independent admin areas and products, but one search field returning many results from all the user's shopping carts? Is there anyway to achieve something like this with BC? Can subdomains do this? Any other ideas how to achieve this if none of the above is possible?
My plan B is having a landing page where a link for each of the 10 users will take them to their relevant shopping carts, but this experience isn't quite as integrated as I would like, from a web surfer's point of view.
Thanks.
Clint,
Komma MediaHi Robbie,
Yes, this would require significant modification to the shopping cart functionality. As it is now, it's very dependent the ShoppingCart being associated with the session and therefore the user. To change that would be significant work.
Additionally, if you had two people logging in to the same account and editing the same order around the same time, this would tend to not to work well. This is because two users would be two sessions and they would often get routed to different app server instances. Because the way orders are managed, there's no way to immediately sync up the changes between multiple instances, and if you managed to do it would likely slow things down drastically. I would not recommend trying this with ATG.
Thanks.
Nick Glover
Oracle Support for ATG Products -
Multiple instances and Apache 2.2
I went thru the below livedoc to create multiple instances
and then associate them with apache config..
http://tinyurl.com/yzjpsl
But the instances are all started but I have two problems.
1. I cant find the CF administrator for all the sites
2. I can go to each instance administrator page but not the
main one and also apache does not resolve the VHosts.
Thus if I type in the full domain for one of the instance
sites then I get the page not found..
SO assume my problem is with apache config since the instance
sites are started and I can access them on the LAN.
This is my changes I made to the config of apache..
# JRun Settings
LoadModule jrun_module
"C:/JRun4/lib/wsconfig/1/mod_jrun22.so"
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
#JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/1/jrunserver.store"
#JRunConfig Bootstrap 127.0.0.1:51020
#JRunConfig Errorurl <optionally redirect to this URL on
errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
# Use name-based virtual hosting.
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/nathess"
ServerName www.nathess.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/mgel"
ServerName www.mariannegel.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/MGel/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51002
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/destinationcdg"
ServerName www.destinationcdg.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/DestinationCDG/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51003
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/mls"
ServerName www.multilingit.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/MLS/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51004
</IfModule>
</VirtualHost>I went thru the below livedoc to create multiple instances
and then associate them with apache config..
http://tinyurl.com/yzjpsl
But the instances are all started but I have two problems.
1. I cant find the CF administrator for all the sites
2. I can go to each instance administrator page but not the
main one and also apache does not resolve the VHosts.
Thus if I type in the full domain for one of the instance
sites then I get the page not found..
SO assume my problem is with apache config since the instance
sites are started and I can access them on the LAN.
This is my changes I made to the config of apache..
# JRun Settings
LoadModule jrun_module
"C:/JRun4/lib/wsconfig/1/mod_jrun22.so"
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
#JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/1/jrunserver.store"
#JRunConfig Bootstrap 127.0.0.1:51020
#JRunConfig Errorurl <optionally redirect to this URL on
errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
# Use name-based virtual hosting.
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/nathess"
ServerName www.nathess.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51000
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/mgel"
ServerName www.mariannegel.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/MGel/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51002
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/destinationcdg"
ServerName www.destinationcdg.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/DestinationCDG/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51003
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/Apache2/htdocs/mls"
ServerName www.multilingit.com
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/MLS/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51004
</IfModule>
</VirtualHost> -
Difference between Database, instance and schema
Hi
I don't know the clear difference between database, instance and schema.. In the broad sense, everything seems to be the same. If anyone can differentiate between them with some example, that will be of great help.
Thank you.Hi,
In Oracle, people often do use "database" and "instance" interchangeably, or together as one term: "database instance".
A "schema" is quite different. A schema is a collection of objects (such as tables, indexes or procedures). Every object belongs to exactly one schema, and every schema is a part of exactly one database. (Names may not be unique, however. For example, your database may have one schema named SCOTT, and another schema named USER1. Each of those schemas may have a table named EMP. The EMP table in the SCOTT schema, or SCOTT.EMP, is not the same as the EMP table in the USER1 schema, or USER1.EMP. A different database, my database for example, may also have schemas called SCOTT and USER1, which are completely independent of the SCOTT and USER1 in your database.) -
how do i manage multiple users and devices with one apple id without everything showing up on every device?
How to use multiple iPhone, iPad, or iPod devices with one computer
-
Control multiple updates and queries within one transaction in JPA
Hi,
I have a question regarding control multiple updates and queries within one transaction. We are using EclipseLink 2.3.1. With below code, will I be able to:
- have all insert, update, select queries committed in one transaction;
- queryGetBalance will return the latest OrgBalance after update;
- if one fails, everything rolls back.
Thanks!
Jeffrey
PS: I realized that I cannot use em.getTransaction().begin() and em.getTransaction().commit(), since I am using JTA.
=============
@PersistenceContext(unitName="Test")
EntityManager em;
em.setFlushMode(FlushModeType.COMMIT);
newTransaction.setAmount(1000);
newTransaction.setType("check");
em.persist(newTransaction);
orgAudit.setUpdateUser("Joe")
orgAudit.setupUpdateTime(time);
em.merge(orgAudit);
Query queryUpdateBalance = em.createQuery("update OrgBalance o set o.balance = o.balance + :amount where orgId = :myOrgId");
queryUpdateBalance.setParameter("amount", 1000);
queryUpdateBalance.setParameter("myOrgId", 1234);
Query queryGetBalance = em.createQuery("select OrgBalance o where o.orgId = :myOrgId");
queryGetBalance.setHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);
queryGetBalance.setHint("javax.persistence.cache.retrieveMode", CacheRetrieveMode.BYPASS);
queryGetBalance.getResultList();
em.flush();
Edited by: JeffreyW on Dec 12, 2011 10:34 AMYes, the operation will be in a single transaction, assuming you are using a JTA managed SessionBean and the code is part of a SessionBean method.
-
Long story, but the iPlanet version is 4.1 SP9. We will be filtering users coming in remotely (via internet VPN or dialup) to the SSL implementation, the internal intranet users to the clear-text implementation... thanks!
Hi,
you can run more then one instance in iWS.
like one for http://www.test.com:80(for TEXT) and other for https://www.test.com:6000
(Note: you couldn't not able to use same port for different instance). I hope this may answer your question.
Thanks,
Daks. -
Multiple instances and mail config
Maybe I dont understand the right concept of multiple
instances but what I did was the following:
Setup up an instance for each domain I have running as a
VHost on apache.
What I was trying to accomplish is the failover of any one
domain and also to use separate mail settings for each domain.
But this is where I seem to have misunderstood the concept of
multiple instances, is it not possible to use a different smtp
server for each domain? When my forms for each domain generates an
email I want the email to originate from that domain not the main
one setup in CF...
ThanksYour on the right track.
Set up say 4 websites (virtual hosts) eg www.mydomain1.com,
www.mydomain2.com etc
Set up 4 cf instances if you have 4 domains, maybe call them
mydomain1, mydomain2 etc
Using the Web Server configuration tool, config the cf
instance mydomain1 to virtual host mydomain1, cf instance mydomain2
to VH mydomain2 etc
The website should now be working using their own Cf
instances.
Go into the CF Admin, scroll to the bottom of the left menu
and you should see Instance Manager
Clicking on this should either reveal the 4 cf instances or
you may have to add them (should be a button)
Once you see all 4, you should be able to click on the admin
for each individual instance and change the smtp server as
appropriate.
This won't give you failover though, if a CF instance goes
down, that site is gone. Clustering is the way to give failover and
you can achieve this fairly easily.
Expanding on the above example, you would create 8 CF
instances eg mydomain1-1 mydomain1-2, mydomain2-1 mydomain2-2.
Create 4 clusters eg mydomain1cluster, mydomain2cluster etc
In the CF Administrator Add mydomain1-1, mydomain1-2
instances to mydomain1cluster etc
Using the Web Server configuration tool, config the cluster
mydomain1cluster to virtual host mydomain1 etc
each domain should now be using 2 cf instances, you will be
able to down on of those instances the the site will continue
working.
Back in the instance manager under CF Admin, you should now
have 8 instances - config mydomain1-1, mydomain1-2 to the
appropriate smtp server etc
The above is for CF MX 6 onwards too, not sure about previous
versions.
I think thats what your after? I've skimmed over some parts
above in relation to the clustering, but there's a handy doc
floating around on the web by Herrlich & Ramuschkat that will
guide you through it.
BTW, those instances can sit on multiple physical servers for
hardware redundancy. Depending on how many domains you have and the
power of your machines, this is a preferred way to go although
expensive due to multiple CF licences -
Multiple Instance of XI in one BOX ?
Hi All,
Is it possible to install two instances of XI (say DEV and QA environment) in one box.I understand for the abap stack we can use different system numbers for different environment.For the java stack,the port would then include the system number thus allowing multiple instances.
Has anyone tried this ,does it work?
Thanks in advance.
Regards,
BikramHello,
I am not sure it could works because you can only connect one J2EE stack to one ABAP client.
In your case you need 1 J2EE Engine for each client -> So 2 J2EE Engine.
I am not sure you can install 2 JAVA Addin for one ABAP Stack !!??
Good luck
If you try it could post the result ?
Best regards,
Chris -
Tips needed for multiple iPods and users with one PC...
We are a family of four, with four iPods and one PC. We have two (Windows) user accounts set up. My husband and son share one, and my daughter and I use the other. My husband's and son's music does not show up in my user library and visa-versa. There are some songs that my husband has purchased that I would like on my iPod, but there are songs that my daughter has that I DON'T want on my iPod. Is there a way to set up 4 separate librarys that can choose to share (or not share) songs?
Windows XPWhen the iPods belong to different people, there are basically two ways of using multiple iPods on a computer and these involve:
a) Sharing a single iTunes library and or user account or
b) Creating multiple user accounts.
Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
Sharing a Library and/or User Account
If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish): Loading songs onto iPod automatically - Windows
Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
iTunes: Creating playlists of your favorite songs
How to create a Smart Playlist with iTunes
Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
Loading the iPod shuffle differs slightly but it can still be used with the others, for details have a look at this page:
Loading songs onto iPod shuffle - Windows
It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
Using multiple iTunes libraries -Windows
Separate User Accounts
Another option (which you've already tried) is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists -
How to create multiple reports and dashboards from one dataset?
Hi there,
I've centralized the data to an excel workbook from multiple data sources and added as a dataset to my new Power BI site. How can I build multiple reports and dashboards out of one dataset?Hi Kuber,
In the Datasets section on the Navigation pane (left side of your Dashboards page), you can click "..." next to each dataset. One of the options in the contextual menu is Explore. When you explore a dataset, you can create reports and save
them.
You can find more about this and other topics in our Getting Started content:
https://go.microsoft.com/fwlink/?LinkID=512054
Thanks,
M. -
Extending Outlook 2013 to multiple instances and profiles under the same user
Hello,
I understand that Outlook 2013 will only run one profile under a logged in user account. can i use Outlook Primary Interop Assembly
to add that ability to outlook 2013 ?
RegardsHello,
Only one instance of Outlook can be run. You can choose the profile programmatically using the
Logon method of the Namespace class. Here is what MSDN states:
Use the Logon method only to log on to a specific profile when Outlook is not already running. This is because only one Outlook process can run at a time,
and that Outlook process uses only one profile and supports only one MAPI session. When users start Outlook a second time, that instance of Outlook runs within the same Outlook process, does not create a new process, and uses the same profile.
If Outlook is already running, using this method does not create a new Outlook session or change the current profile to a different one.
You may find the
How to automate Outlook from another program article helpful. -
Multiple sites, and domains, only one log file is working
I have a custom install of Entropy latest version for apache 1.3
OS X 10.4.5 on an Xserve dual g5
Everything is running fantastic save for one thing.
The sites that I have set up for multiple domains and multiple websites only the site that is in the top of the List in Server Administration under Web and so forth... I have the top site (which is our own site) and the others under that gain no hits and stats information because everything is being logged under the top site. Does this make sense?
I use Awstats to generate information for the various sites but only the top site generates hits and it gets the information for everything.
I am using entropy because I needed a level of security to avoid spammers on our guestbook and contact forms and entropy has the ability to use turing test.
Our various sites are now requesting custom stats and information but cannot get this to work. I have set different file names for each of the sites logs both hits and error log.
What do I need to check and what information can I supply to you from my custom install that will help you help me get this working.
Thank you everyone for your help.
JosephAdd me to the "me too" list.
Could it have anything to do with the difference between a "local host aliases" and "virtual hosting"? Or is that just related to Mail service?
Maybe it belongs in another thread, but what are most folks using for log analysis? I've got 40 or so virtually hosted domains that I'd like to track so I can kill the sites that aren't doing my company any good... -
Installing multiple Instance and System Copy
Hello All,
In our customer landscape,we have a DEV Server and PRD server. Now the customer wants to install one more instance for Quality in the same DEV Server and then perform a system copy of PRD Server.(to make it 3 system landscape)
How to perform this and what all the things to be considered before performing the same...?
Kindly suggest.
Thank You,
Regards,
HasanIt will install separate instance and same support pack level will come.
You can see this video
[System Copy and Migration]
How to Perform a System Copy Export
How to Perform a System Copy Import
Maybe you are looking for
-
JNDI Lookup in OC4J *AND* Tomcat 5 (not either/or)
I've been struggling to get a web application to deploy and run correctly on Tomcat 5.x. I couldn't ADF to look up the Datasource I'd set up in the Tomcat configs. After reading this forum post: Problem deploying BC4J Toy Store app on Tomcat 4 I was
-
Is there any way of contacting a person in Adobe???? I am subscribing to Acobat Premier Pro, Got problems installing after my computer crashed. Dialogue tells me that my langauge or Platform is not supported. If I cannot contact you direct I WILL CAN
-
FORMS 6i and cells background color
Hello, I ve got a tabular forms based on a table. Is it possible to change the background color of ONE or MORE cells ? Thanks. Romeo.
-
Hi, I am using a Backup Application "Omniback" from HP. This Application uses RMAN internally to manage the Backup. Here are some messages that I get and I am not sure what it means. Can someone help with this ? RMAN-08013: channel dev_0: piece 1 cre
-
Feasibilty check of restriction of some field VA02
Hi Friends, I have one requirement that i have transaction V_V2 based on material and site it will give details of qty and sales order no based on material. By click on SO(Sales Order) in (V_V2 ) it will take to VA02 t. code here user can change Qty