Scripts
Expand Your Oracle Database: Adding Redo Log File Members with ALTER DATABASE ADD LOGFILE MEMBER Master the art of adding redo log file members in Oracle databases with ALTER DATABASE ADD LOGFILE MEMBER . Optimize performance, redundancy, and database management. Sample SQL Command 1alter database add logfile member …
Read MoreCalculating Redo Log File Sizes in Oracle Databases Maintaining optimal performance in your Oracle database often involves careful monitoring of various components. Redo log files, crucial for recovery, require attention to ensure they're sized appropriately. In this post, I'll share a code snippet to list redo log …
Read MoreUnderstanding Rollback Segments in Oracle Databases
Understanding Rollback Segments in Oracle Databases Rollback segments are essential components of Oracle databases, providing a mechanism to reverse uncommitted transactions and maintain data consistency. This post presents a SQL query for inspecting rollback segments, as well as explanations and insights into their …
Read MoreBuild OS Delete Commands for Oracle Database Files
Apr 8, 2024 / · 3 min read · v$datafile v$tempfile v$logfile v$controlfile data-management oracle database dba administration management ·Building Remove(rm) or Delete OS Commands for Oracle Database Files (Caution: Destructive) Important Warning: Destructive Operation The provided code snippet demonstrates how to construct operating system (OS) commands for all datafiles, temporary files, log files, and control files within an Oracle Database. However, …
Read MoreDisable Autoextend for All Datafiles in Oracle Database
Disabling Autoextend for All Datafiles in Oracle Database This guide explores a method to turn off autoextend for all datafiles within an Oracle Database. We'll delve into the provided SQL code, understand its purpose, and offer key considerations for implementation. Turn autoextend off for all datafiles Sample SQL …
Read MoreMove Oracle Database Datafiles and Log Files to New Disk
Apr 6, 2024 / · 6 min read · dba v$datafile v$logfile Datafiles Management Oracle Database Administration ·Moving Oracle Database Datafiles and Log Files to Another Disk Where does ALTER DATABASE RENAME FILE get its long list of file names when a database moves from one mount point to another? From v$datafile and v$logfile. This script writes the whole list for you, ready to review and run. Purpose When a database outgrows …
Read MoreViewing Control File Locations in Oracle Database This guide explores a simple method to identify the locations of control files in your Oracle Database. We'll delve into the provided SQL code, understand its purpose, and offer insights into control files. List controlfiles Sample SQL Command 1select name 2from …
Read MoreFind Duplicate Filenames in Oracle Database
Apr 4, 2024 / · 3 min read · v$datafile data-management oracle database dba administration management ·Find Duplicate Filenames in Oracle Database: Code Breakdown and Insights This post dives into an Oracle Database code snippet that identifies duplicate filenames across your entire database. We'll break down the code, explain its purpose, and provide valuable insights for optimizing your database management. Find …
Read MoreOracle: Identify Datafiles in Hot Backup Mode
Apr 4, 2024 / · 3 min read · hot-backup backup v$datafile v$backup data management oracle database dba administration management ·Find Duplicate Filenames in Oracle Database: Code Breakdown and Insights This post dives into an Oracle Database code snippet that identifies duplicate filenames across your entire database. We'll break down the code, explain its purpose, and provide valuable insights for optimizing your database management. Find …
Read MoreOracle: List Datafiles, Tempfiles, and Logfiles with Sizes
Mar 26, 2024 / · 8 min read · oracle storage v$datafile v$tempfile v$logfile v$log v$controlfile dba_free_space ·Oracle: List Datafiles, Tempfiles, and Logfiles with Sizes Purpose Capacity planning starts with one number: how much disk the database files use. Oracle spreads that answer over several dynamic performance views. V$DATAFILE lists the datafiles, V$TEMPFILE the tempfiles, V$LOGFILE the redo log members and V$CONTROLFILE …
Read More