AWS's Top 5 Commands: ALTER SYSTEM and Managing SYS Objects in RDS
begin rdsadmin.rdsadmin_util.kill( sid => &sid, serial => &serial, method => 'IMMEDIATE'); end; /Flush shared_pool or buffer_cache:
exec rdsadmin.rdsadmin_util.flush_shared_pool; exec rdsadmin.rdsadmin_util.flush_buffer_cache;Grant Privileges to SYS Objects: # Grant
begin rdsadmin.rdsadmin_util.grant_sys_object( p_obj_name => 'V_$SESSION', p_grantee => 'PYTHIAN', p_privilege => 'SELECT'); end; /# Grant with Grant Option
begin rdsadmin.rdsadmin_util.grant_sys_object( p_obj_name => 'V_$SESSION', p_grantee => 'PYTHIAN', p_privilege => 'SELECT', p_grant_option => true); end; /# Revoke
begin rdsadmin.rdsadmin_util.revoke_sys_object( p_obj_name => 'V_$SESSION', p_revokee => 'PYTHIAN', p_privilege => 'SELECT'); end; /
Hope this helps!
Database Administrator (DBA) Services
Are you ready to save up to 60% in operational costs?
On this page
Share this
Share this
More resources
Learn more about Pythian by reading the following blogs and articles.
AWS RDS: 5 Must-Know Actions for Oracle DBAs
AWS RDS: 5 Must-Know Actions for Oracle DBAs
Jun 3, 2020 12:00:00 AM
1
min read
Select vs Assign – How To Assign PL/SQL Variables
Select vs Assign – How To Assign PL/SQL Variables
Feb 8, 2021 12:00:00 AM
8
min read
Tuning Pack 11g : Real-Time SQL Monitoring
Tuning Pack 11g : Real-Time SQL Monitoring
Aug 14, 2007 12:00:00 AM
4
min read
Ready to unlock value from your data?
With Pythian, you can accomplish your data transformation goals and more.