Tips and recommendations on various Oracle products. Solving day to day challenges with easy operational tasks. Providing ideas on scripting, queries and oracle Patching. Find tricks for numerous ORA-error.
March 21, 2025
How to initiate emcli session on OMS host
March 12, 2025
Working with Oracle Database Network ACL
What is Network ACL?
Oracle Network ACL(Access Control List) controls the network access for database users and roles.
Query to check for the available ACL in the database
COL ACL_OWNER FOR A12
COL ACL FOR A67
COL HOST FOR A34
col PRINCIPAL for a20
col PRIVILEGE for a13
select ACL_OWNER,ACL,HOST,LOWER_PORT,UPPER_PORT FROM dba_network_acls;
select ACL_OWNER,ACL,PRINCIPAL,PRIVILEGE from dba_network_acl_privileges;
Creation of ACL:
BEGIN
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (
acl => '/sys/acls/db_permissions.xml',
host => 'mail.hostname.com',
lower_port => 25,
upper_port => 25);
END;
/
Assign ACL Permission to Specific users:
exec DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE('DB_permissions.xml', '<username>', TRUE, 'connect');
exec DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE('DB_permissions.xml', '<username>', TRUE, 'resolve');
March 04, 2025
RMAN essential Queries
Check RMAN running backup status
The below query will show the Historical and current backup processes.
Check backup or restore operation status:
Check aggregate backup status:
Check the percentage completed of RMAN backup / restore
Check RMAN backup channels status
Find the server process with channel
Find backup / restore status:
Check RMAN JOB Details:
Reference:
Script to monitor RMAN Backup and Restore Operations (Doc ID 1487262.1)
Best Wishes!!
Recent Post
Check progress on expdp and impdp
Check progress on expdp and impdp: In few cases we need to monitor the progress of an export or import job in oracle. below are the steps c...