Oracle
Listing Objects in an Oracle Tablespace
SQL lists every segment within a specific tablespace in an Oracle database Sample SQL Command 1set pages 999 2col owner format a15 3col segment_name format a40 4col segment_type format a20 5select owner 6, segment_name 7, segment_type 8from dba_segments 9where lower(tablespace_name) like lower('%&tablespace%') 10order …
Read MoreAdjusting Segment Growth with MAXEXTENTS in Oracle Database
Alters The MAXEXTENTS Parameter For A Specific Database Segment Sample SQL Command 1alter <segment_type> <segment_name> storage(maxextents 150); 2/ Purpose: To define the maximum number of extents the segment can occupy, controlling its potential growth and space allocation behavior. Breakdown: alter <segment_type> …
Read MoreMonitoring Temporary Tablespace Usage in Oracle Database
Jan 31, 2024 / · 6 min read · oracle sql-queries database-administration tablespace segments dba_segments dba_tablespaces v$session v$sort_usage v$tempseg_usage dba_temp_free_space v$active_session_history ·Lists the Contents of the Temporary Tablespace(s), Including Details About Each Temporary Object and Its Associated Session v$sort_usage is the view to open when TEMP fills up: it holds one row per temporary segment in use, with the user, the session, the tablespace and the blocks allocated. Whether the trigger is an …
Read MoreOracle Clusterware: Modify VIP Address and Network Interface
Jan 28, 2024 / · 3 min read · start stop modify srvctl administration Oracle CRS Oracle Clusterware Oracle Managing RAC ·Modifying VIP Address, Subnet Mask, or Interface in Oracle Clusterware Learn how to change the Virtual IP (VIP) address, subnet mask, or network interface for clustered nodes in an Oracle environment. This step-by-step guide includes commands, explanations, and key points to ensure a smooth and successful configuration …
Read MoreOracle srvctl config nodeapps Command in Clusterware
Jan 27, 2024 / · 3 min read · srvctl start stop administration Oracle CRS Oracle Clusterware Oracle Managing RAC ·Understanding the srvctl config nodeapps Command in Oracle Clusterware Check the VIP config 1srvctl config nodeapps -n <node> -a -g -s -l Sample Oracle Output 1 2no rows selected 3SQL> Description of the Oracle Database SQL code Purpose: The srvctl config nodeapps -n <node> -a -g -s -l command is not directly related …
Read MoreOracle srvctl Start and Stop Database in Clusterware
Jan 25, 2024 / · 2 min read · start stop administration Oracle CRS Oracle Clusterware Oracle Managing RAC ·Demystifying Database Start/Stop in Oracle Clusterware with srvctl SQL Code Start Database (All Nodes) 1srvctl start database -d <database name> Stop Database (All Nodes) 1srvctl stop database -d <database name> Demystifying Database Start/Stop in Oracle Clusterware with srvctl These commands, srvctl start database and …
Read MoreOracle Clusterware: srvctl start asm and srvctl stop asm
Jan 22, 2024 / · 2 min read · administration Oracle CRS Oracle Clusterware Oracle Managing RAC Clusterware ·Demystifying Start/Stop ASM with srvctl in Oracle Database These commands, specifically srvctl start asm and srvctl stop asm, play a crucial role in managing the Oracle Automatic Storage Management (ASM) instance within your Oracle Clusterware environment. Let's dive into their purpose, breakdown, and key points. SQL …
Read MoreOracle Clusterware: Manage Node Apps with srvctl
Controlling Node Level Applications in Oracle Clusterware with srvctl Master the srvctl start nodeapps and srvctl stop nodeapps commands to effectively manage node-level applications within your Oracle Clusterware environment. Gain insights into their purpose, breakdown, key points, and practical considerations SQL …
Read MoreCommands to start, stop, check, and list CRS services Note: Start/stop need to be run as root from the CRS home SQL Code Start CRS 1crsctl start crs Stop CRS 1crsctl stop crs Check CRS's status 1crsctl check crs See the status of the various services 1crs_stat -t Sample Oracle Output 1 2no rows selected 3SQL> …
Read MoreChecking All Disks in Diskgroup Data
This SQL code instructs Oracle to perform a thorough check of all disks within the diskgroup named data1 Check the internal consistency of a diskgroup SQL Code 1alter diskgroup data1 check all 2/ Sample Oracle Output 1no rows selected 2SQL> Description of the Oracle Database SQL code Purpose: To initiate a …
Read More