Oracle
Oracle ASM: Drop a Disk Group with DROP DISKGROUP
Removing a Disk Group Permanently in Oracle Database, The drop diskgroup Command SQL Code 1drop diskgroup '<name>' 2/ Description of the Oracle Database SQL code Purpose: The primary purpose of this SQL code is to permanently remove an entire disk group, identified by its name, from the Oracle database environment. …
Read MoreOracle ASM: Add a Disk to an Existing Disk Group
Jan 10, 2024 / · 2 min read · Oracle ASM Oracle Disk Information Storage Management diskgroup v$asm_disk ·Expanding Storage Capacity in Oracle Database, Adding a Disk to Diskgroup Data1 SQL Code Note: Wildcards can be used for raw device names (eg. raw* 1alter diskgroup data1 2add disk '/dev/raw/raw4' 3/ Sample Oracle Output 1no rows selected 2SQL> Description of the Oracle Database SQL code Purpose: The primary purpose of …
Read MoreOracle ASM: Create a Disk Group with External Redundancy
Creating an ASM Disk Group with External Redundancy in Oracle SQL Code 1create diskgroup data1 2external redundancy 3disk '/dev/raw/raw1' 4/ Or with multiple raw partitions SQL Code 1create diskgroup data1 2external redundancy 3disk '/dev/raw/raw1' 4/ Or with multiple fail groups... SQL Code 1create diskgroup data3 …
Read MoreQuerying ASM Disk Information in Oracle
Jan 7, 2024 / · 2 min read · Oracle ASM Oracle Disk Information Storage Management v$asm_disk v$asm_diskgroup v$asm_file v$asm_operation ·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 MoreVisualizing Disk Groups in Oracle ASM with SQL
Jan 6, 2024 / · 2 min read · disk space analysis oracle storage capacity monitoring asm disk utilization asm v$asm_disk v$asm_diskgroup v$asm_file v$asm_operation ·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 MoreChecking 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 MoreRetrieving 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 MoreFind 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 MoreOracle Table Privileges Granted to a Role via role_tab_privs
Jan 4, 2024 / · 10 min read · role privileges show_table_role_privileges oracle role_tab_privs Oracle DBA Security Audit Data Dictionary Oracle Administration ·Oracle Table Privileges Granted to a Role via role_tab_privs Purpose ROLE_TAB_PRIVS holds the complete inventory of object privileges Oracle has packaged into each named role — every table, view, and sequence grant, the precise privilege type, whether the right covers the entire object or is scoped to a single column, …
Read MoreLock 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