Share data between PDB's in the same CDB [message #672638] |
Sat, 20 October 2018 22:03 |
|
goancea
Messages: 3 Registered: January 2013 Location: Bucharest
|
Junior Member |
|
|
Dear all,
I have the following question: can data from one PDB be read by other PDB, in the same CDB?
We currently have separate databases and a huge data export/import procedure (export/import serialization/deserialization procedures, daemons to load/unload the data in MQS, queue's between) for a huge quantity of data every day.
If granting select for one PDB user for tables in another PDB in the same container is possible, we can skip the export/import complicated, time and resource consuming procedure.
Thank you!
George
|
|
|
|
|
|
|
|
Re: Share data between PDB's in the same CDB [message #672733 is a reply to message #672728] |
Thu, 25 October 2018 14:07 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
goancea wrote on Thu, 25 October 2018 18:37Now we replicate the data using an inhouse mechanism (serialization, putting the data in MQS, import the data in the other database, deserialize and import the data in similar tables).
I want to skip this export/import procedure because is time consuming, generate errors and missing data.
The best approach I guess is to put all applications in one database.
How big a database can be?
You need to be a bit careful about consolidating many databases into one. You can convert many databases into pluggable containers in a single container database no problem, but you need to think about the instance as well. Can the one instance really service all the PDBs as well as when they had an instance each? For example, if any if them have redo generation as a performance bottleneck, then converting to PDBs will be a disaster.
Using database links will work just as well between separate databases as it will between separate PDBs in one database. Better try it that way first, and perhaps save the expense and hassle of going to mutlitenant.
|
|
|