Oracle Scripts
open-menu closeme
Home
All Oracle Scripts
Scripts & Commands
Links icon
Oracle Database Documentation Oracle Enterprise Manager
About
Contact Us
Privacy Satement
🌐
English Português
rss
  • Querying ASM Disk Information in Oracle

    calendar Jan 7, 2024 / May 20, 2025 · 2 min read · Oracle ASM Oracle Disk Information Storage Management  ·
    Share on: twitter facebook linkedin copy

    Querying ASM Disk Information in Oracle SQL Code 1select name 2, group_number 3, disk_number 4, total_mb 5, free_mb 6from v$asm_disk 7order by group_number 8/ Sample Oracle Output 1no rows selected 2SQL> Purpose: Retrieves and displays key information about Automatic Storage Management (ASM) disks within the database. …


    Read More
  • Visualizing Disk Groups in Oracle ASM with SQL

    calendar Jan 6, 2024 / May 20, 2025 · 2 min read · disk space analysis oracle storage capacity monitoring asm disk utilization asm  ·
    Share on: twitter facebook linkedin copy

    Visualizing Disk Groups in Oracle ASM with SQL Note: A group number of zero his indicates that a disk is available but hasn't yet been assigned to a disk group. SQL Code 1set lines 100 2col name format a10 3col path format a30 4select name 5, group_number 6, disk_number 7, mount_status 8, state 9, path 10from …


    Read More
  • Checking Cluster Health with crsctl check cssd

    calendar Jan 5, 2024 / May 20, 2025 · 2 min read · Cluster Management Oracle Oracle Clusterware  ·
    Share on: twitter facebook linkedin copy

    Checking Cluster Health with crsctl check cssd SQL Command 1crsctl check cssd Purpose: To verify the status and health of the Cluster Synchronization Services (CSS) daemon (cssd), a crucial component of Oracle Clusterware. It's typically used in Oracle Real Application Clusters (RAC) and Oracle Automatic Storage …


    Read More
  • Examining Role Table Privileges in Oracle Using role_tab_privs

    calendar Jan 4, 2024 / May 20, 2025 · 2 min read · role privileges show_table_role_privileges oracle role_tab_privs  ·
    Share on: twitter facebook linkedin copy

    Examining Role Table Privileges in Oracle Using role_tab_privs This page delves into an Oracle SQL code snippet that investigates table privileges granted to a specific role. SQL Code 1select owner || '.' || table_name "TABLE" 2, column_name 3, privilege 4, grantable 5from role_tab_privs 6where role like '&role' 7/ …


    Read More
  • Querying Database Roles in Oracle using the view dba_roles

    calendar Jan 4, 2024 / May 20, 2025 · 2 min read · show roles Oracle dba_roles  ·
    Share on: twitter facebook linkedin copy

    Find an Oracle role using the view dba_roles This page explores an Oracle SQL code snippet that retrieves information about database roles based on user-provided search criteria. SQL Code 1select * 2from dba_roles 3where role like '&role' 4/ Purpose: This code retrieves information about a specific database role, based …


    Read More
  • Retrieving User Role Privileges in Oracle using the view dba_role_privs

    calendar Jan 4, 2024 / May 20, 2025 · 2 min read · show user privileges Oracle role_sys_privs  ·
    Share on: twitter facebook linkedin copy

    Retrieving User Role Privileges in Oracle using the view dba_role_privs This page examines an Oracle SQL code snippet that fetches granted roles and their associated admin options for a specified user. SQL Code 1select grantee 2, granted_role 3, admin_option 4from dba_role_privs 5where grantee like upper('&username') …


    Read More
  • Assessing Database Storage Utilization in Oracle Database

    calendar Dec 31, 2023 / May 20, 2025 · 3 min read · Database Size Free Space Used Space v$datafile v$tempfile v$log dba_free_space  ·
    Share on: twitter facebook linkedin copy

    How large is the Oracle Database? Gain a comprehensive overview of database size, free space, and used space to proactively manage storage resources and plan for future growth. SQL Code 1col "Database Size" format a20 2col "Free space" format a20 3col "Used space" format a20 4select round(sum(used.bytes) / 1024 / 1024 …


    Read More
  • List all the Oracle Users Account Information for the Oracle Database using view dba_users

    calendar Dec 31, 2023 / May 20, 2025 · 2 min read · users Oracle dba_users  ·
    Share on: twitter facebook linkedin copy

    List all the Oracle Users Account Information for the Oracle Database using dba_users A detailed overview of user accounts in the Oracle database, including their status, creation date, tablespaces, and more SQL Code 1set pages 999 lines 100 2col username format a20 3col status format a8 4col tablespace format a20 5col …


    Read More
  • Locking User Accounts in Oracle Database

    calendar Dec 31, 2023 / May 20, 2025 · 1 min read · user Oracle account  ·
    Share on: twitter facebook linkedin copy

    Lock or Unlock an Oracle User in the Database A brief guide on locking user accounts using the alter user <username> account lock; command, including its purpose, key points, and best practices. Lock User SQL Code 1alter user <username> account lock; 2/ Unlock User SQL Code 1alter user <username> account unlock; 2/ …


    Read More
  • Monitoring Active User Sessions and SQL Execution in Oracle Database

    calendar Dec 31, 2023 / May 20, 2025 · 3 min read · show-user-sql oracle v$sqlarea v$session  ·
    Share on: twitter facebook linkedin copy

    Show all Active SQL for Sessions using v$session and v$sqlarea Gain real-time insights into currently active user sessions and the SQL statements they are executing to troubleshoot performance issues and optimize resources SQL Code 1set feedback off 2set serveroutput on size 9999 3column username format a20 4column …


    Read More
    • ««
    • «
    • 8
    • 9
    • 10
    • 11
    • 12
    • »
    • »»

OracleScripts.com

Your Source for Oracle SQL Scripts
Read More

Recent Posts

  • Oracle ANALYZE Statement: Old-Style Table and Index Statistics Collection Explained
  • Export/Import Oracle Optimizer Statistics: Complete Guide
  • Oracle Database: Mastering DBMS_STATS.DELETE_STATS Procedures
  • Optimizing Oracle Database Performance with GATHER_SYSTEM_STATS
  • Understanding Oracle Database Statistics Gathering A Comprehensive Guide
  • Optimizing Performance with Oracle Database: Gathering Schema and Table Statistics
  • Identifying Oracle Database Hot Blocks using Oracle table v$system_event A Comprehensive Guide
  • Analyzing Oracle 'Data Block' Waits with v$waitstat

Categories

SCRIPTS 117 ORACLE ADMINISTRATION RAC 12 ORACLE STRUCTURE TABLESPACE 11 ORACLE STRUCTURE FILES 10 ORACLE STRUCTURE OBJECTS 10 ORACLE ADMINISTRATION SESSION 9 ORACLE ADMINISTRATION ASM 8 ORACLE PERFORMANCE GENERAL 8 ORACLE PERFORMANCE WAITS 8 ORACLE ADMINISTRATION STATUS 7 ORACLE STRUCTURE CONSTRAINTS 7 ORACLE PERFORMANCE STATISTICS 6 ORACLE ADMINISTRATION USER 5 ORACLE PERFORMANCE LOCKS DML 4
All Categories
ORACLE ADMINISTRATION ASM8 ORACLE ADMINISTRATION INIT PARAMETERS3 ORACLE ADMINISTRATION RAC12 ORACLE ADMINISTRATION SESSION9 ORACLE ADMINISTRATION STATUS7 ORACLE ADMINISTRATION USER5 ORACLE PERFORMANCE GENERAL8 ORACLE PERFORMANCE LOCKS DML4 ORACLE PERFORMANCE STATISTICS6 ORACLE PERFORMANCE WAITS8 ORACLE STRUCTURE CONSTRAINTS7 ORACLE STRUCTURE FILES10 ORACLE STRUCTURE INDEXES2 ORACLE STRUCTURE OBJECTS10 ORACLE STRUCTURE REDO LOGS3 ORACLE STRUCTURE TABLESPACE11 ORACLE STRUCTURE UNDO4 SCRIPTS117
[A~Z][0~9]

Series

ADMIN GUIDE 118

Tags

ORACLE 96 DATABASE 49 SQL 35 ADMINISTRATION 30 PERFORMANCE 20 DATABASE ADMINISTRATION 18 OPTIMIZATION 16 V$SESSION 12 DBA 11 ORACLE CLUSTERWARE 11 MANAGING 10 TABLESPACE 10 TROUBLESHOOTING 10 DBA_SEGMENTS 9
All Tags
$DATAFILE1 ACCOUNT1 ADMINISTRATION30 ALL_OBJECTS1 ALTER SESSION1 ANALYZE1 ASM2 ASM DISK UTILIZATION1 BACKUP1 CHARACTER-SET1 CLUSTER5 CLUSTER MANAGEMENT1 CONNECTED-USERS3 CONSTRAINTS3 DATA INTEGRITY3 DATA-MANAGEMENT8 DATABASE49 DATABASE ADMINISTRATION18 DATABASE MANAGEMENT2 DATABASE SIZE1 DATABASE START-UP1 DATAFILES5 DBA11 DBA TOOLS1 DBA_CONS_COLUMNS1 DBA_CONSTRAINTS6 DBA_DATA_FILES5 DBA_ERRORS1 DBA_EXTENTS1 DBA_FEATURE_USAGE_STATISTICS1 DBA_FREE_SPACE2 DBA_INDEXES1 DBA_LOCK1 DBA_OBJECTS7 DBA_ROLES1 DBA_ROLLBACK_SEGS1 DBA_SEGMENTS9 DBA_SOURCE1 DBA_TAB_COLUMNS1 DBA_TABLESPACES1 DBA_TEMP_FILES2 DBA_TS_QUOTAS1 DBA_UNDO_EXTENTS1 DBA_USERS1 DBMS_METADATA1 DBMS_STATS5 DBMS_STATS.GATHER_DATABASE_STATS1 DBMS_STATS.GATHER_SCHEMA_STATS1 DDL1 DEVELOPMENT1 DISK GROUP CREATION1 DISK INFORMATION5 DISK SPACE ANALYSIS1 DISKGROUP4 EXPORT1 EXTERNAL REDUNDANCY1 FEATURES1 FREE SPACE1 GATHER_SYSTEM_STATS1 HOT-BACKUP1 I/O1 IMPORT1 INDEX1 INSTALLED3 JAVA1 LAST-ACTIVITY1 LATCH1 LATCH CONTENTION1 MAINTENANCE1 MANAGEMENT8 MANAGING10 MODIFY1 MONITORING4 NLS_DATABASE_PARAMETERS1 OBJ$1 OBJECTS6 OIFCFG1 OPTIMIZATION16 ORACHECK1 ORACLE96 ORACLE - DATABASE ADMINISTRATION - SQL - DBA_CONSTRAINTS1 ORACLE ASM6 ORACLE CLUSTERWARE11 ORACLE CRS9 ORACLE DATABASE8 OSUSER1 PARAMETERS2 PEFORMANCE1 PERFORMANCE20 PERFORMANCE OPTIMIZATION3 PERFORMANCE TUNING9 PERFORMANCE-MONITORING4 PL SQL1 PLSQL1 PRIVILEGES1 PROCEDURE2 QUERY1 QUERY OPTIMIZATION2 QUOTAS1 RAC7 RECOVERY3 RESOURCE OPTIMIZATION3 ROLE PRIVILEGES1 ROLE_SYS_PRIVS1 ROLE_TAB_PRIVS1 SCHEMA SPACE USED1 SCRIPTING1 SCRIPTS1 SECURITY1 SEGMENTS3 SESSION-PID1 SESSIONS1 SESSIONS-SORTED1 SHOW2 SHOW ROLES1 SHOW_TABLE_ROLE_PRIVILEGES1 SHOW-USER-SQL5 SPACE USAGE1 SPACE USED1 SPFILE1 SQL35 SQL COMMANDS1 SQL TUTORIAL1 SQL-QUERIES1 SRVCTL3 START4 START-UP TIME1 STATISTICS2 STATISTICS MANAGEMENT2 STOP4 STORAGE2 STORAGE CAPACITY MONITORING1 STORAGE MANAGEMENT5 TABLE1 TABLESPACE10 TEMP2 TRACING2 TRANSACTIONS1 TROUBLESHOOTING10 TUNING2 UNDO_RETENTION1 USAGE2 USED SPACE1 USER4 USER SPACE1 USER$1 USERS2 V$ASM_OPERATION1 V$BACKUP1 V$CONTROLFILE3 V$DATAFILE7 V$DB_CACHE_ADVICE1 V$FILESTAT1 V$INSTANCE1 V$LOCK2 V$LOCKED_OBJECT1 V$LOG3 V$LOGFILE4 V$PARAMETER2 V$PROCESS2 V$SEGMENT_STATISTICS1 V$SESSION12 V$SESSION_LONGOPS1 V$SESSION_WAIT1 V$SESSTAT1 V$SQLAREA5 V$STATNAME2 V$SYSSTAT2 V$SYSTEM_EVENT2 V$TEMPFILE3 V$TRANSACTION1 V$WAITSTAT1 VDATAFILE2 X$BH1 X$KCBFWAITV1
[A~Z][0~9]
OracleScripts.com

Copyright  ORACLESCRIPTS.COM. All Rights Reserved

to-top