I have few replicated DBs (PDA replication) and I need to create a view in one of the DBs that uses a table from a DB that is not included in the replication set ( db is not replicate in the subordinate).
Is is possible to do that? and how it will behave in the subordinate?
Answer by Rafael-LzPz (1) | Jun 07, 2017 at 05:21 AM
Is not permitted to create such views because in the SUBORDINATE is missing the source DB
The create view sql will fail in the MASTER with the following error:
REPL_TEST.ADMIN(ADMIN)=> create view external_view as select * from PRO_QRADAR.SV00056.T2; ERROR: CREATE VIEW refers to a cross-db query with at least one database being non-replicated
And it will never be replicated/executed in the sub
NPS 7.2.0.3 Replication 1.6