Dba_segments
Oracle Export Through a Named Pipe with mknod for Space-Constrained Hosts
May 14, 2026 / · 7 min read · Oracle Database Unix Commands Oracle DBA Export Named Pipe Legacy Export mknod Backup dba_segments ·Oracle Export Through a Named Pipe with mknod for Space-Constrained Hosts Purpose Oracle's original Export utility (exp) writes a binary dump file. On production hosts where disk space is tight — where staging a full-database dump and its compressed copy simultaneously would exhaust the filesystem — the classic …
Read MoreOracle: Identify Large Indexes with SQL and DBA_SEGMENTS
Mar 17, 2024 / · 4 min read · dba_indexes dba_segments storage optimization peformance sql dba_ts_quotas ·Optimizing Your Oracle Database: A Guide to Identifying Large Indexes with SQL Keeping your Oracle Database running smoothly requires constant monitoring and optimization. Indexes, a crucial component for efficient data retrieval, can sometimes grow excessively, impacting performance. This blog post dives into a …
Read MoreUncovering Table Storage Usage in Oracle Database: A Guide with dba_segments For Oracle Database administrators (DBAs) and developers, managing storage efficiently is critical. Keeping track of table sizes helps identify potential space hogs and optimize resource allocation. This guide delves into a powerful SQL query …
Read MoreUnveiling the Mystery Oracle for Object Size Analysis
Unveiling the Mystery: Demystifying an Oracle SQL Code Snippet for Object Size Analysis In the ever-evolving realm of database management, efficient resource utilization is paramount. Oracle, a widely recognized database management system, offers powerful tools to help optimize storage and performance. This blog post …
Read MoreListing Objects in an Oracle Tablespace
Feb 5, 2024 / · 3 min read · Oracle Database Administration SQL Tutorial database administration resource optimization performance monitoring data management tablespace dba_segments ·SQL lists every segment within a specific tablespace in an Oracle database A detailed explanation of Oracle Database SQL code used to list objects within a tablespace, including purpose, breakdown, key points, and insights. Sample SQL Command 1set pages 999 2col owner format a15 3col segment_name format a40 4col …
Read MoreOracle Segments Nearing Max Extents via dba_segments
Identify Oracle Database Segments Nearing Their Maximum Extent Limit Oracle ignores the MAXEXTENTS storage parameter for objects in a locally managed tablespace, unless the tablespace has ALLOCATION_TYPE set to USER. That one rule decides whether the query below is useful on your database. It is a real early warning in …
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 MoreShow the ten largest oracle objects in the database using dba_segments Capacity planning starts with knowing which segments hold the most space. DBA_SEGMENTS describes the storage allocated for all segments in the database, so one sorted query shows the ten biggest consumers. SQL Code 1col owner format a15 2col …
Read MoreOracle DBA SQL Scripts and Database Commands
Oracle SQL Scripts and Database Commands 23c 21c 19c 18c 12c 11g 10g 9i 8i We are in the process of building a list of simple scripts used every day by DBA and others. If you have your own scripts you reuse in a text file on you workstation please send it to us. To look at other scripts see the Oracle Scripts Tag …
Read More