Impact of two databases schema in an oracle instance [message #145442] |
Thu, 03 November 2005 01:56 |
nirupam
Messages: 3 Registered: November 2005
|
Junior Member |
|
|
As of now I have two seperate databases (DB1, which is Oracle 8.1.7.4 & DB2, which is Orcale 8.1.7.2) on a single Solaris box. Lets assume that DB1 has schema S1 and DB2 has schema S2
now we want to move to a new Solaris box which has a single database instacne (9i) and put both S1 & S2 in it (i.e. an oracle database with two schemas, right?)
what will be the impact on performance, capacity? what areas should we consider to avoid any issues?
Regards
Nirupam
[Updated on: Thu, 03 November 2005 07:19] Report message to a moderator
|
|
|
|
Re: Impact of two databases sharing an oracle instance [message #145480 is a reply to message #145479] |
Thu, 03 November 2005 07:08 |
nirupam
Messages: 3 Registered: November 2005
|
Junior Member |
|
|
Sorry I didn't put my question correclty
As of now I have two seperate databases (DB1, which is Oracle 8.1.7.4 & DB2, which is Orcale 8.1.7.2) on a single Solaris box. Lets assume that DB1 has schema S1 and DB2 has schema S2
now we want to move to a new Solaris box which has a single database instacne (9i) and put both S1 & S2 in it (i.e. an oracle database with two schemas, right?)
what will be the impact on performance, capacity? what areas should we consider to avoid any issues?
|
|
|
|
Re: Impact of two databases sharing an oracle instance [message #145484 is a reply to message #145482] |
Thu, 03 November 2005 07:41 |
nirupam
Messages: 3 Registered: November 2005
|
Junior Member |
|
|
Thanks,
Following are the areas I can think of, please let me know your views
1) they will share the SGA, which means
A) The database buffer cache holds copies of data blocks read from data files of both the schemas.
B) redo entries of both the schemas will share the redo log buffer
C) Common shared pool for both the schemas
D) common Large Pool which is an optional memory area to provide large memory allocations for sessions, backup and restore operations etc
2) Program Global Area (PGA) will not be shared? Am I right?
3) The background processes will be shared? Like DBWR (Data Base Writer), LGWR (Log Writer),SMON (System Monitor),PMON (Process Monitor), ARCH (Archiver), RECO (Recovery),USER, CKPT (Check Point), Lock Manager Server (LMS), Queue Monitor (QMN), Dispatcher, Server. Do you know if they are the single thread processes or can handle multiple threads? It looks like only DBWR (Data Base Writer, ARCH (Archiver) and Queue Monitor (QMN) can spawn multiple threads as DBWR0, DBWR1 etc
Do you see any impact due to this sharing?
4) ARCH process will be shared by both schemas so the archive/backup should be schedule properly to avoid overlapping
5) To avoid disk I/O issues, the data and index tablespaces (for each schema) will be created on separate disk blocks. I guess, the DB data files will be on SAN
6) Rollback segment will be shared. it will make restoration complicated
7) SGA would need more physical memory (RAM) to avoid paging (swapping the pages from disk)
Maintenance in one database might have impact on the availability of the second schema
9) shared temporary table space which is used for sorting might have impact if sqls on both schemas need sorting at same time
10) any impact if both the schemas uses DBLink to other databases? One in a single instance both will share the Net*8 right?
Overall, my interest is to figure out the affected areas if we move two related schemas (which are in separate database instances as of now) to a single database instance.
|
|
|
|
|