Adding database grants
This content applies only to On-premises and Client-managed cloud environments
The user associated with the ExternalMKTData schema must have grants to certain tables in the PegaDATA schema. From your database client, run the following statements:
ExternalMKTData privileges
GRANT SELECT ON ${dataschema}.PR_DATA_PUSH_MESSAGE TO ${mktdatauser};
GRANT SELECT ON ${dataschema}.PR_DATA_PUSH_REGISTRATION TO ${mktdatauser};
Replace ${dataschema} with the name of the schema referenced by the PegaDATA database rule, and ${mktdatauser} with the name of the user associated with the ExternalMKTData database rule.
Interaction History Data privileges
If the Interaction History tables are installed in a schema associated with a DB rule other than PegaDATA, for example PegaIHData, you must grant SELECT privileges on all Interaction History tables to the users and schemas associated with both the PegaDATA and ExternalMKTData DB rules.
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_APPLICATION to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_CHANNEL to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_CONTEXT to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_CUSTOMER to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_JOURNEY to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_LOCATION to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_OPERATOR to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_OUTCOME to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_FACT to ${pegadatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_APPLICATION to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_CHANNEL to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_CONTEXT to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_CUSTOMER to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_JOURNEY to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_LOCATION to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_OPERATOR to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_DIM_OUTCOME to ${mktdatauser};
GRANT SELECT on ${ihdataschema}.PR_DATA_IH_FACT to ${mktdatauser};
Replace ${ihdataschema} with the name of your IH schema, ${pegadatauser} with the name of your PegaDATA user, and ${mktdatauser} with the name of your External Marketing user.
Previous topic Completing required post-installation steps Next topic Configuring and starting agent schedules