Oracle Scripts
open-menu closeme
Home
All Oracle Scripts
Scripts & Commands
Links icon
Oracle Database Documentation Oracle Enterprise Manager
About
Contact Us
Privacy Satement
🌐
English Português
rss
  • Show a Count of Analyzed Tables by Schema in Oracle Database

    calendar Jun 30, 2025 / Jul 1, 2025 · 3 min read · oracle sql database administration performance dba_tables  ·
    Share on: twitter facebook linkedin copy

    Show a Count of Analyzed Tables Broken Down by Schema in Oracle Database Purpose: This post explains how to use Oracle SQL to report the total number of tables and the number of analyzed tables for each schema in your Oracle Database. This is crucial for database administrators who want to monitor the health and …


    Read More
  • Oracle Database: Mastering DBMS_STATS.DELETE_STATS Procedures

    calendar Jan 16, 2025 / Jul 1, 2025 · 2 min read · Oracle Database Performance Tuning SQL Database Administration Statistics Management DBMS_STATS  ·
    Share on: twitter facebook linkedin copy

    Oracle Database: Deleting Statistics with DBMS_STATS Package The Oracle Database DBMS_STATS package provides powerful procedures for managing database statistics. This post explores the delete_stats procedures, which are crucial for maintaining accurate query optimization. Understanding DBMS_STATS.DELETE_STATS …


    Read More
  • Optimizing Oracle Database Performance with GATHER_SYSTEM_STATS

    calendar Jan 15, 2025 / Jul 1, 2025 · 2 min read · Oracle Database Performance Tuning SQL Database Administration Query Optimization GATHER_SYSTEM_STATS DBMS_STATS  ·
    Share on: twitter facebook linkedin copy

    Optimizing Oracle Database Performance with GATHER_SYSTEM_STATS Oracle Database's DBMS_STATS package is a powerful tool for gathering and managing database statistics. This post focuses on the GATHER_SYSTEM_STATS procedure, which is crucial for optimizing query performance by collecting system-level statistics. …


    Read More
  • Oracle Database Understanding Lock Conflicts with dba_lock and Column Formatting

    calendar Sep 6, 2024 / Jul 1, 2025 · 2 min read · Database SQL Performance Troubleshooting Oracle Database Administration Performance Tuning dba_lock  ·
    Share on: twitter facebook linkedin copy

    Oracle Database: Understanding Lock Conflicts with dba_lock and Column Formatting Purpose This Oracle SQL query is designed to investigate and understand lock conflicts within your database, particularly those causing performance bottlenecks. It leverages the dba_lock view to expose critical lock information in a …


    Read More
  • Identifying Locked Rows in Oracle Database using tables v$session and dba_objects

    calendar Sep 5, 2024 / Jul 1, 2025 · 2 min read · v$session dba_objects Oracle Database Administration SQL  ·
    Share on: twitter facebook linkedin copy

    Identifying Locked Rows in Oracle Database using tables v$session and dba_objects Purpose This Oracle query pinpoints the exact row a specific session is waiting on due to a lock. It first finds the locked object and row location, then constructs a ROWID to fetch and display the entire locked row from the table. Sample …


    Read More
  • Identify Locked Objects in Oracle Database

    calendar Sep 3, 2024 / Jul 1, 2025 · 3 min read · Oracle Database Administration SQL v$locked_object dba_objects v$lock v$session  ·
    Share on: twitter facebook linkedin copy

    Identify Locked Objects in Oracle Database using v$locked_object, dba_objects, v$lock and v$session Purpose The provided Oracle Database code is a SQL query designed to identify locked objects within a database. It provides detailed information about the locked objects, including the username, session ID, object name, …


    Read More
  • Enabling Disabled Foreign Key Constraints in Oracle Database using dba_constraints

    calendar Aug 3, 2024 / Jul 1, 2025 · 2 min read · Oracle SQL database DBA troubleshooting constraints Database Administration dba_constraints  ·
    Share on: twitter facebook linkedin copy

    Enabling Disabled Foreign Key Constraints in Oracle Database using dba_constraints Purpose This SQL query generates a list of SQL statements that can be executed to enable all disabled foreign key constraints in an Oracle database. Sample SQL Command 1set lines 100 pages 999 2select 'alter table …


    Read More
  • Optimizing Undo Retention in Oracle Databases A Practical Guide

    calendar May 12, 2024 / Jul 1, 2025 · 2 min read · Database Administration SQL Commands Performance Optimization Data Management undo_retention oracle dba  ·
    Share on: twitter facebook linkedin copy

    Optimizing Undo Retention in Oracle Databases We will explain how to optimize the undo_retention parameter in Oracle databases using the SQL command ALTER SYSTEM SET undo_retention = 500 SCOPE = MEMORY;. Understanding this parameter is crucial for effective transaction management, rollback capabilities, and maintaining …


    Read More
  • Real-Time Oracle Rollback Detection, Is Your Database Undoing Changes?

    calendar May 10, 2024 / Jul 1, 2025 · 3 min read · Oracle Database SQL Database Administration Performance Tuning Troubleshooting v$session v$transaction  ·
    Share on: twitter facebook linkedin copy

    Real-Time Oracle Rollback Detection: Is Your Database Undoing Changes? This SQL query monitors real-time rollbacks in Oracle databases. It identifies which sessions are actively undoing changes and tracks their progress by observing the used_ublk value (the number of undo blocks in use). When used_ublk reaches zero, …


    Read More
  • Creating a Temporary Tablespace in Oracle Database

    calendar Feb 15, 2024 / Jul 1, 2025 · 2 min read · Database Administration Oracle Tablespace Temp  ·
    Share on: twitter facebook linkedin copy

    Creating 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 More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

OracleScripts.com

Your Source for Oracle SQL Scripts
Read More

Recent Posts

  • Oracle Database Query to Find Tables with Outdated Statistics - Monitor Analyze Progress
  • Show a Count of Analyzed Tables by Schema in Oracle Database
  • Oracle PLAN_TABLE Setup and EXPLAIN PLAN Usage Guide
  • Oracle ANALYZE Statement: Old-Style Table and Index Statistics Collection Explained
  • Export/Import Oracle Optimizer Statistics: Complete Guide
  • Oracle Database: Mastering DBMS_STATS.DELETE_STATS Procedures
  • Optimizing Oracle Database Performance with GATHER_SYSTEM_STATS
  • Understanding Oracle Database Statistics Gathering A Comprehensive Guide

Categories

SCRIPTS 120 ORACLE ADMINISTRATION RAC 12 ORACLE STRUCTURE TABLESPACE 11 ORACLE STRUCTURE FILES 10 ORACLE STRUCTURE OBJECTS 10 ORACLE ADMINISTRATION SESSION 9 ORACLE ADMINISTRATION ASM 8 ORACLE PERFORMANCE GENERAL 8 ORACLE PERFORMANCE STATISTICS 8 ORACLE PERFORMANCE WAITS 8 ORACLE ADMINISTRATION STATUS 7 ORACLE STRUCTURE CONSTRAINTS 7 ORACLE ADMINISTRATION USER 5 ORACLE PERFORMANCE LOCKS DML 4
All Categories
ORACLE ADMINISTRATION ASM8 ORACLE ADMINISTRATION INIT PARAMETERS3 ORACLE ADMINISTRATION RAC12 ORACLE ADMINISTRATION SESSION9 ORACLE ADMINISTRATION STATUS7 ORACLE ADMINISTRATION USER5 ORACLE PERFORMANCE GENERAL8 ORACLE PERFORMANCE LOCKS DML4 ORACLE PERFORMANCE QUERY TUNING1 ORACLE PERFORMANCE STATISTICS8 ORACLE PERFORMANCE WAITS8 ORACLE STRUCTURE CONSTRAINTS7 ORACLE STRUCTURE FILES10 ORACLE STRUCTURE INDEXES2 ORACLE STRUCTURE OBJECTS10 ORACLE STRUCTURE REDO LOGS3 ORACLE STRUCTURE TABLESPACE11 ORACLE STRUCTURE UNDO4 SCRIPTS120
[A~Z][0~9]

Series

ADMIN GUIDE 121

Tags

ORACLE 99 DATABASE 51 SQL 38 ADMINISTRATION 30 PERFORMANCE 23 DATABASE ADMINISTRATION 19 OPTIMIZATION 17 DBA 13 V$SESSION 12 ORACLE CLUSTERWARE 11 MANAGING 10 TABLESPACE 10 TROUBLESHOOTING 10 DBA_SEGMENTS 9
All Tags
$DATAFILE1 ACCOUNT1 ADMINISTRATION30 ALL_OBJECTS1 ALTER SESSION1 ANALYZE1 ASM2 ASM DISK UTILIZATION1 BACKUP1 CHARACTER-SET1 CLUSTER5 CLUSTER MANAGEMENT1 CONNECTED-USERS3 CONSTRAINTS3 DATA INTEGRITY3 DATA-MANAGEMENT8 DATABASE51 DATABASE ADMINISTRATION19 DATABASE MANAGEMENT2 DATABASE SIZE1 DATABASE START-UP1 DATAFILES5 DBA13 DBA TOOLS1 DBA_CONS_COLUMNS1 DBA_CONSTRAINTS6 DBA_DATA_FILES5 DBA_ERRORS1 DBA_EXTENTS1 DBA_FEATURE_USAGE_STATISTICS1 DBA_FREE_SPACE2 DBA_INDEXES1 DBA_LOCK1 DBA_OBJECTS7 DBA_ROLES1 DBA_ROLLBACK_SEGS1 DBA_SEGMENTS9 DBA_SOURCE1 DBA_TAB_COLUMNS1 DBA_TABLES2 DBA_TABLESPACES1 DBA_TEMP_FILES2 DBA_TS_QUOTAS1 DBA_UNDO_EXTENTS1 DBA_USERS1 DBMS_METADATA1 DBMS_STATS5 DBMS_STATS.GATHER_DATABASE_STATS1 DBMS_STATS.GATHER_SCHEMA_STATS1 DDL1 DEVELOPMENT1 DISK GROUP CREATION1 DISK INFORMATION5 DISK SPACE ANALYSIS1 DISKGROUP4 EXPLAIN-PLAN1 EXPORT1 EXTERNAL REDUNDANCY1 FEATURES1 FREE SPACE1 GATHER_SYSTEM_STATS1 HOT-BACKUP1 I/O1 IMPORT1 INDEX1 INSTALLED3 JAVA1 LAST-ACTIVITY1 LATCH1 LATCH CONTENTION1 MAINTENANCE1 MANAGEMENT8 MANAGING10 MODIFY1 MONITORING5 NLS_DATABASE_PARAMETERS1 OBJ$1 OBJECTS6 OIFCFG1 OPTIMIZATION17 ORACHECK1 ORACLE99 ORACLE - DATABASE ADMINISTRATION - SQL - DBA_CONSTRAINTS1 ORACLE ASM6 ORACLE CLUSTERWARE11 ORACLE CRS9 ORACLE DATABASE8 OSUSER1 PARAMETERS2 PEFORMANCE1 PERFORMANCE23 PERFORMANCE OPTIMIZATION3 PERFORMANCE TUNING9 PERFORMANCE-MONITORING4 PL SQL1 PLSQL1 PRIVILEGES1 PROCEDURE2 QUERY1 QUERY OPTIMIZATION2 QUERY-TUNING1 QUOTAS1 RAC7 RECOVERY3 RESOURCE OPTIMIZATION3 ROLE PRIVILEGES1 ROLE_SYS_PRIVS1 ROLE_TAB_PRIVS1 SCHEMA SPACE USED1 SCRIPTING1 SCRIPTS1 SECURITY1 SEGMENTS3 SESSION-PID1 SESSIONS1 SESSIONS-SORTED1 SHOW2 SHOW ROLES1 SHOW_TABLE_ROLE_PRIVILEGES1 SHOW-USER-SQL5 SPACE USAGE1 SPACE USED1 SPFILE1 SQL38 SQL COMMANDS1 SQL TUTORIAL1 SQL-QUERIES1 SRVCTL3 START4 START-UP TIME1 STATISTICS3 STATISTICS MANAGEMENT2 STOP4 STORAGE2 STORAGE CAPACITY MONITORING1 STORAGE MANAGEMENT5 TABLE1 TABLESPACE10 TEMP2 TRACING2 TRANSACTIONS1 TROUBLESHOOTING10 TUNING3 UNDO_RETENTION1 USAGE2 USED SPACE1 USER4 USER SPACE1 USER$1 USERS2 V$ASM_OPERATION1 V$BACKUP1 V$CONTROLFILE3 V$DATAFILE7 V$DB_CACHE_ADVICE1 V$FILESTAT1 V$INSTANCE1 V$LOCK2 V$LOCKED_OBJECT1 V$LOG3 V$LOGFILE4 V$PARAMETER2 V$PROCESS2 V$SEGMENT_STATISTICS1 V$SESSION12 V$SESSION_LONGOPS1 V$SESSION_WAIT1 V$SESSTAT1 V$SQLAREA5 V$STATNAME2 V$SYSSTAT2 V$SYSTEM_EVENT2 V$TEMPFILE3 V$TRANSACTION1 V$WAITSTAT1 VDATAFILE2 X$BH1 X$KCBFWAITV1
[A~Z][0~9]
OracleScripts.com

Copyright  ORACLESCRIPTS.COM. All Rights Reserved

to-top