Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-38394 Add Oracle RDS Instructions to Prereq Page #135

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

ianf-mongodb
Copy link
Contributor

@ianf-mongodb ianf-mongodb commented May 20, 2024

DESCRIPTION

Configuring Oracle on RDS for Continuous sync jobs is quite different to doing so on regular Oracle. The following grants appear to work; please replace WEBSCALESTORE with . Note this is just the permissions; it's still necessary to enable supplemental logging.

GRANT SET CONTAINER TO WEBSCALESTORE;
GRANT EXECUTE_CATALOG_ROLE TO WEBSCALESTORE;
GRANT SELECT ANY TRANSACTION TO WEBSCALESTORE;
GRANT LOGMINING TO WEBSCALESTORE;
GRANT CREATE TABLE TO WEBSCALESTORE;
GRANT LOCK ANY TABLE TO WEBSCALESTORE; 
GRANT CREATE SEQUENCE TO WEBSCALESTORE;
GRANT SELECT ON DBA_TABLESPACES TO WEBSCALESTORE;
GRANT CREATE SESSION TO WEBSCALESTORE;
GRANT SELECT_CATALOG_ROLE TO WEBSCALESTORE;
GRANT SELECT ANY TABLE TO WEBSCALESTORE; 
GRANT SELECT ON V$DATABASE TO WEBSCALESTORE;
GRANT FLASHBACK ANY TABLE TO WEBSCALESTORE; 
exec rdsadmin.rdsadmin_util.grant_sys_object('DBMS_LOGMNR', 'WEBSCALESTORE');
exec rdsadmin.rdsadmin_util.grant_sys_object('DBMS_LOGMNR_D', 'WEBSCALESTORE');exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOG', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOGFILE', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$ARCHIVED_LOG', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$TRANSACTION', 'WEBSCALESTORE', 'SELECT');exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOGMNR_LOGS', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOG_HISTORY', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOGMNR_LOGS', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOGMNR_CONTENTS', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$LOGMNR_PARAMETERS', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$ARCHIVE_DEST_STATUS', 'WEBSCALESTORE', 'SELECT');exec rdsadmin.rdsadmin_util.grant_sys_object('V_$MYSTAT', 'WEBSCALESTORE', 'SELECT');
exec rdsadmin.rdsadmin_util.grant_sys_object('V_$STATNAME', 'WEBSCALESTORE', 'SELECT'); 

STAGING

https://preview-mongodbianfmongodb.gatsbyjs.io/docs-relational-migrator/DOCSP-38394/jobs/prerequisites/oracle/

JIRA

https://jira.mongodb.org/browse/DOCSP-38394

BUILD LOG

https://workerpool-boxgs.mongodbstitch.com/pages/job.html?collName=queue&jobId=664bb19dcf5bec1c292de87d

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Is this free of spelling errors?
  • Is this free of grammatical errors?
  • Is this free of staging / rendering issues?
  • Are all the links working?

External Review Requirements

What's expected of an external reviewer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant