Scripts
Oracle DBA_OBJECTS: List All Objects Owned by a User
Unveiling Your Database Toolkit: Exploring Objects Owned by a User in Oracle In the intricate world of database management, understanding the landscape of objects is crucial for efficient operation. This blog post empowers you to leverage a specific Oracle Database SQL code snippet to list all objects owned by a …
Read MoreUnveiling the Mystery: Demystifying an Oracle Database Procedure In the realm of relational databases, procedures serve as powerful tools for encapsulating complex sets of instructions and improving code reusability. They act as building blocks, streamlining development and maintenance. Today, we'll delve into the …
Read MoreHow to Search for Objects in Oracle Database This post explains how to search for objects (tables, views, sequences, etc.) in an Oracle database using SQL. Sample SQL Command 1set pages 999 2col owner format a15 3col object_name format a40 4col object_type format a20 5select owner 6, object_name 7, object_type 8from …
Read MoreIdentify 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 MoreHow to Query User Quotas in Oracle Database The code below retrieves and displays information about user quotas on all tablespaces excluding the temporary tablespace (TEMP) on a Oracle database. Sample SQL Command 1col quota format a10 2select username, 3tablespace_name, 4decode(max_bytes, -1, 'unlimited', …
Read MoreUnderstanding Tablespace Usage in Oracle Database
Feb 13, 2024 / · 4 min read · database administration monitoring optimization tablespace usage oracle dba_data_files dba_temp_files dba_free_space ·Description of Oracle Database SQL code for Tablespace Usage This code provides a comprehensive overview of tablespace usage in your Oracle database. Here's a breakdown of its purpose, components, and key points: Sample SQL Command 1set pages 999 2col tablespace_name format a40 3col "size MB" format 999,999,999 4col …
Read MoreExploring Datafiles within Oracle Tablespaces
Feb 12, 2024 / · 6 min read · database-administration performance-monitoring data-management tablespace datafiles dba_data_files optimization usage oracle dba_temp_files ·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
Understanding crsctl query css votedisk Command in Oracle Clusterware This page explains the crsctl query css votedisk command, its purpose, breakdown, and key points, offering insights and explanations for Oracle Clusterware management. Sample Oracle Command 1crsctl query css votedisk Description of Oracle Database …
Read More