January 21, 2025

Oracle Critical Patch Update(CPU) for January 2025

Oracle CPU January 2025 Patches

Oracle has released the CPU patches for January 2025 and all the details can be found on Oracle Technical resources site. New release Version is: 19.26.0.0.250121


I will be shortlisting the patches required for Grid Installation, Oracle Databases 19c, OJVM and OEM.


Combo OJVM with Oracle Database 19c:

Combo OJVM Release Update 19.26.0.0.250121 and Database Release Update 19.26.0.0.250121 Patch 37262172 for UNIX

Combo OJVM with Oracle GI 19c:

Combo OJVM Release Update 19.26.0.0.250121 and GI Release Update 19.26.0.0.250121 Patch 37262208, or


Oracle Home and Grid Home Individual Patches:

Database Release Update 19.26.0.0.250121 Patch 37260974 for UNIX, or

GI Release Update 19.26.0.0.250121 Patch 37257886,


Oracle JavaVM Component Database PSU (OJVM PSU) Patches:

OJVM Release Update 19.26.0.0.250121 Patch 37102264 for all platforms


OEM Patches:

OEM base patch and agent patch is yet to release on 31-Jan-2025. For now the DB patch can be applied in the repository database.


Note: All the Combo patches are not released, those will be released by 05-February-2025


References:

January 16, 2025

Beginner's Guide to Becoming an Oracle DBA in 2025

How to start your journey to be an Oracle DBA?


Starting your journey as an Oracle Database Administrator (DBA) can be exciting and overwhelming. You can build a strong foundation for a successful career with the right roadmap and resources. This guide outlines the essential steps and skills to help beginners start in 2025.


1. Understand the Role of an Oracle DBA

An Oracle DBA is responsible for the installation, configuration, maintenance, and performance tuning of Oracle databases. Key responsibilities include:

Ensuring data security and integrity.

Managing database backups and recovery.

Monitoring database performance.

Supporting database upgrades and migrations.

Familiarize yourself with these responsibilities to understand the scope of the role.


2. Learn the Basics of Databases

Before diving into Oracle-specific topics, grasp the fundamental concepts of databases, including:

Relational Database Management Systems (RDBMS): Learn how relational databases organize and store data.

SQL: Understand Structured Query Language, which is used to interact with databases. Focus on commands like SELECT, INSERT, UPDATE, and DELETE.

Normalization: Learn how to design efficient database schemas.


3. Get Hands-On with Oracle Database

Download and install Oracle Database on your local machine or use Oracle Cloud to gain hands-on experience. Start with the following:

Installing Oracle Database Express Edition (XE).

Creating and managing schemas.

Executing basic SQL commands.

Oracle’s free tools, like SQL Developer, can help you explore and interact with the database.


4. Master Core Oracle DBA Skills

Focus on learning the core skills that every Oracle DBA needs:

Installation and Configuration:

Install Oracle Database on Windows or Linux.

Configure the database instance and listener.

Backup and Recovery:

Understand backup types (hot, cold, RMAN backups).

Learn to restore and recover a database using Oracle RMAN.

Performance Tuning:

Monitor database performance using tools like AWR (Automatic Workload Repository) and ADDM (Automatic Database Diagnostic Monitor).

Create Baseline

Optimize SQL queries and indexing strategies.

Know about Gather Statistics

User Management:

Create and manage users, roles, and privileges. (Ref: Create users)

Implement security best practices.

Oracle User profile management


5. Explore Oracle-Specific Features

Learn about advanced Oracle Database features that set it apart from other databases:

Oracle Data Guard: For high availability and disaster recovery.

Oracle ASM (Automatic Storage Management): Simplifies storage management.

Oracle RAC (Real Application Clusters): Enables high availability and scalability.

Oracle Cloud Infrastructure (OCI): Understand Oracle’s cloud platform and its database services.

6. Gain Proficiency in Operating Systems

Oracle databases are often deployed on Linux/Unix environments. Learn the basics of:

File system navigation and permissions.

Command-line utilities for system monitoring. (Basic Commands)

Shell scripting to automate routine tasks.

7. Learn Database Security Basics

Data security is a critical aspect of an Oracle DBA’s role. Focus on:

Implementing Oracle Transparent Data Encryption (TDE).

Managing roles and privileges.

Configuring database auditing to monitor activities.

8. Practice Troubleshooting and Problem Solving

Database issues can be complex. Develop your troubleshooting skills by:

Learning to interpret Oracle logs (alert logs, trace files).

Using diagnostic tools like SQL*Plus, AWR reports, and Data Dictionary views.

Resolving common errors such as ORA-12154 (TNS connection issues). 

9. Build a Learning Plan

To stay consistent, create a structured learning plan:

Start with Oracle Documentation: Oracle’s official documentation is a comprehensive resource.

Follow Blogs and Webinars: Stay updated with industry trends and best practices.

Contact us to build a customized Low Cost learning Path.

10. Earn Certifications

Oracle certifications validate your skills and knowledge. Start with:

Oracle Database SQL Certified Associate: Covers fundamental SQL skills.

Oracle Database Administrator Certified Associate (OCA): Entry-level certification for DBAs.

Oracle Certified Professional (OCP): Advance to a professional-level certification after gaining experience.

11. Build Real-World Experience

Practical experience is crucial for becoming a proficient DBA. Consider:

Setting up personal projects (e.g., creating a small database for a mock business).

Volunteering for database-related tasks in your current organization.

Applying for entry-level DBA roles or internships.

12. Stay Updated with Emerging Trends

The database world is evolving rapidly. Keep an eye on:

Cloud-native database solutions.

AI-driven database monitoring and optimization.

Security advancements to combat modern threats.


Becoming an Oracle DBA requires dedication and consistent learning. By following this guide and staying proactive, you can build a rewarding career in one of the most sought-after IT domains.

Ready to begin your Oracle DBA journey? Reach out to us for personalized training and mentorship to accelerate your learning!


If you find this helpful, please leave a comment and let us know how can we improve your learning journey. For customized low-cost training programs feel free to reach out to us.


Best Wishes!!!

January 15, 2025

Extract the historical database growth from OEM Repository

 Extract the historical database growth from OEM Repository:


alter session set current_schema=sysman;


SELECT Database,

Month_Date,

round(sum(decode(metric_column, 'spaceUsed', maximum))/1024/1024, 3) Used_Size_TB,

round(sum(decode(metric_column, 'spaceAllocated', maximum))/1024/1024, 3) Allocated_Size_TB

FROM

(

SELECT target_name Database, trunc(rollup_timestamp, 'MONTH') Month_Date, key_value TB, metric_column, round(max(maximum),0) maximum

FROM mgmt$metric_daily

WHERE target_type = 'rac_database'

and metric_name = 'tbspAllocation'

and metric_column in ('spaceAllocated', 'spaceUsed')

and target_name in ('&target_name')

GROUP BY target_name, key_value, trunc(rollup_timestamp, 'MONTH'), metric_column

)

GROUP BY Database, Month_Date

ORDER BY Database, Month_Date

/


January 13, 2025

ORA-09925: Unable to create audit trail file

Issues with Database login (ORA-09925)


ERROR:

ORA-09925: Unable to create audit trail file

SVR4 Error: 49: Disc quota exceeded

Additional information: 9925

ORA-01075: you are currently logged on


This error occurs when the filesystem is filled up and oracle is not able to allocate any space to connect to the database. To troubleshoot, we need to check the mountpoint and cleanup the log files or any old dump files. 

January 08, 2025

ORA-01940: cannot drop a user that is currently connected

Issue with drop user in Oracle


While Dropping a user if the drop user command is throwing error like:

ORA-01940: cannot drop a user that is currently connected

Follow the below steps:

select 'alter system kill session '''||sid||','||serial#||''' immediate;' "SQL Statement" from v$session where username=UPPER('&username');

SQL Statement

--------------------------------------------------------

alter system kill session '101,265842' immediate;

Execute the alter statement to kill the active session.

alter system kill session '101,265842' immediate;

System altered.

Now the drop user will work:

drop user <username> cascade;

Note: cascade option drops all the dependent objects under the schema.


Recent Post

Check progress on expdp and impdp

 Check progress on expdp and impdp: In few cases we need to monitor the progress of an export or import job in oracle. below are the steps c...