Hello everyone,
I would like to reopen the discussion from the below post, as I am still having some doubts.
I understand since the introduction of CustomerData DB instance, Pega recommends to use this instance (over PegaDATA) when creating a fully exposed tables (non-pega tables), etc. However, I would like to ask the following questions…
[by db instance I mean the db instance rule at the app level, and by db schema I mean the schema name at the database level]
-
Why Pega doesnt ship CustomerData db instance by linking it to a separate db schema? I see it is inheriting from PegaDATA db instance, hence being linked to pegadata db schema.
-
When creating dedicated tables in our applications, it is recommended to keep them separate from the db schema where Pega OOTB tables are linked, hence we should create a new db instance (e.g. AppData) and link it to a separate dedicated db schema (e.g. App_Schema). Question is, what is now the best practice for the CustomerData db instance? Should it be linked to the db schema App_Schema or linked to another separate schema (e.g. AppCustomerData_Schema)?
-
In case of cross border applications (on same infrastructure), where each country has its own dedicated db schemas (e.g. AppCountryA_Schema, AppCountryB_Schema, etc.), how the CustomerData db instance can be configured? Can we think of multiple CustomerData db instances such as CustomerDataCountryA, CustomerDataCountryB, etc. where each can be linked to their own dedicated schemas? If so, then when creating data types and sourcing them with the new db instances (CustomerDataCountryA, CustomerDataCountryB), will it mimic the same functionality as when selecting the OOTB CustomerData db instance, like creating a non-pega table?
Thanks you.