Checklist to determine if an Oracle schema is self-contained

cool Thanks

Floo Bar

For a few months, I have been working on massive migrations of Oracle 10g/11g databases on Solaris to 12c on Linux. Most of these databases are highly consolidated with several schemas (no PDBs of course), and these schemas are used by different applications. These applications have supposedly nothing do to with each other. Of course, those applications being different, they follow different roadmaps. Knowing this, it was quite impossible to migrate the whole database at once, and schema-by-schema migration was relevant and comfortable for everybody.

I realized that the main challenge to address was not technical complexity, it was more about understanding the muddle between schemas that should be distinct.
Everytime I had to migrate another schema, I wondered : Is this particular schema “self-contained” ? Can I move it with Datapump from one database to another “as is”, with minimum work and error handling ?
I knew DBMS_TTS.TRANSPORT_SET_CHECK procedure…

View original post 654 more words

You can create a lot of constraints … 

tested in 12.2 You can create a lot of constraints ... create table aa (bbb varchar2(10) not null); Table created. alter table aa add (check (bbb is not null) enable validate); Table altered. alter table aa add (check (bbb is not null) enable validate); Table altered. alter table aa add (check (bbb is not null) enable … Continue reading You can create a lot of constraints …