Oracle
Identify and Fix Invalid Objects in Oracle Database
How to Identify and Fix Invalid Objects in an Oracle Database Purpose A list of invalid objects tells you more than it first seems to. Ten invalid objects in one application schema right after a release can point to one changed table. Hundreds of invalid objects across many schemas more often follow a patch or an …
Read MoreOracle Recompile Invalid Objects with utlrp.sql
Oracle Recompile Invalid Objects with utlrp.sql Purpose Recompiling invalid objects is a routine job that follows an upgrade or a patch. You run one Oracle-supplied script, and the database works through every invalid object, so users do not meet them one by one. The script is utlrp.sql. It lives in the …
Read MoreCreating a Temporary Tablespace in Oracle Database This guide explains an Oracle Database SQL code snippet for creating a temporary tablespace named temp, its purpose, key points, and insights. Sample SQL Command 1create temporary tablespace temp 2tempfile '<file_name>' size 500M 3/ Create a Temporary Tablespace named …
Read MoreUnderstanding Tablespace Usage in Oracle Database
Feb 13, 2024 / · 3 min read · database administration monitoring optimization tablespace usage oracle dba_data_files dba_temp_files dba_free_space ·Understanding Tablespace Usage in Oracle Database Tablespace usage shows how full each permanent and temporary tablespace is. This query reports size, free space and percent used for each one. Sample SQL Command 1set pages 999 2col tablespace_name format a40 3col "size MB" format 999,999,999 4col "free MB" format …
Read MoreExploring Datafiles within Oracle Tablespaces
Feb 12, 2024 / · 8 min read · database-administration performance-monitoring data-management tablespace datafiles dba_data_files optimization usage oracle dba_temp_files dba_tablespaces ·Show the Datafiles That Make Up an Oracle Tablespace Capacity planning for an Oracle database starts with knowing which files hold each tablespace and how large they are. A tablespace is a logical container. Its data lives in one or more datafiles on disk, and dba_data_files lists them. The query below takes a …
Read MoreOracle crsctl query css votedisk Command Explained
Oracle crsctl query css votedisk Command Explained crsctl query css votedisk lists the voting disks that Oracle Clusterware uses, with their state and location. A DBA runs it to check cluster quorum. Sample Oracle Command 1crsctl query css votedisk Description of Oracle Database SQL code:crsctl query css votedisk This …
Read MoreOracle Clusterware ocrcheck: Verify OCR Health
Feb 10, 2024 / · 2 min read · oracle database cluster administration Oracle CRS Oracle Clusterware Managing oracheck ·Overview Of ocrcheck Command The ocrcheck command is a valuable tool for managing the Oracle Cluster Registry (OCR) within Oracle Clusterware Retrive OCR (Oracle Cluster Registry) information Sample SQL Command 1ocrcheck Purpose: ocrcheck is a command-line utility used to verify the health and consistency of the Oracle …
Read MorePreventing a Database Startup at Boot Time: srvctl disable database This command, commonly used in Oracle environments, instructs Oracle Clusterware to prevent a specific database from automatically starting when the operating system boots. Understanding its purpose, breakdown, and key points can help you manage your …
Read MoreOracle oifcfg getif: Identify Cluster Interconnect Subnet
Feb 8, 2024 / · 2 min read · oracle database cluster administration Oracle CRS Oracle Clusterware managing oifcfg ·Understanding oifcfg getif for Oracle Cluster Interconnect Subnet Change The Oracle Clustware command oifcfg getif is a crucial utility for managing Oracle Clusterware and its private interconnect subnet. Below is breakdown of its purpose, usage, and key points: Change the private interconnect subnet. First find the …
Read MoreUnderstanding oifcfg for Changing Oracle Cluster Interconnect Subnet The oifcfg Oracle Clusterware commands presented involve modifying the Oracle Clusterware private interconnect subnet.What follows is a breakdown of their purpose, usage, and key points: Make a note of the interface name (eth1 in the following …
Read More