Learn how Oracle 19c simplifies privilege management with its built-in analysis tools, ensuring a ‘least privilege’ approach for enhanced database security. Discover how to use the DBMS_PRIVILEGE_CAPTURE package to analyze and refine user permissions
Continue reading...Scripts-Queries
SQL/NIX Queries
The Simple, Reliable Way to Back Up Your WordPress Blog: A DIY Script for Peace of Mind
Struggling with WordPress backups? Learn how to set up an automated, custom shell script for reliable site and database protection, right from your server’s CLI.
Continue reading...RMAN backup details, Display last 5 days
Following query can be used to get rman backup job details for last 5 days. set lines 220 col output_bytes_display for a30 col time_taken_display for a30 select session_key,input_type,status, to_char(start_time,’yyyy-mm-dd hh24:mi’) start_time, to_char(end_time,’yyyy-mm-dd hh24:mi’) end_time, output_bytes_display, time_taken_display from v$rman_backup_job_details where END_TIME > sysdate-5 order by session_key asc;
Continue reading...
Recent Comments