Skip to content
Keep Learning Keep Living
Keep Learning Keep Living

26ai Alert Log Size

Mustafa Kalaycı, 2025-11-28

Hi,

Oracle database writes alert logs into 2 different location with different file formats. To find diag alert location:

1
select * from v$diag_info where name ='Diag Alert';

in this directory, you will find XML files for alert logs. Oracle always writes into log.xml file. Whenever it exceeds a certain threshold, log.xml file is renamed as log_2.xml. on the next time, it will be renamed as log_3.xml and so on.

Second alert log file is alert_<SID>.log file. it is a text base file and it is in Diag Trace location:

1
select * from v$diag_info where name ='Diag Trace';

log.xml file has more information like container data, message group etc. actually V$diag_alert_ext view is readin xml files (not alert log file).

What I find out recently is on 26ai file size threshold has been changed. before 26ai, every 11MB log.xml file were switched. After 26ai threshold is increased to 51MB. I am not sure if there is a way to control it. I searched a little bit but couldn’t find a way to increase or decrease the threshold.

I would prefer lower threshold because, I mostly read log.xml file in database via xmltable which makes it faster than v$diag_alert_ext view but when the size is increased, it took more time and v$diag_alert_ext becomes more efficient.

just some info that I discovered, wish you a healthy beautiful day.

19c 26ai alert logalert xmlalert_loglog.xmlv$diag_alert_ext

Post navigation

Previous post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 26ai Alert Log Size
  • What Should Change After Base DB System Clone
  • Using MFA While Logging into the Oracle Database
  • 2 of Most Practical New Features on 23.9
  • Milliseconds are lost after date to tz conversion on 19c

Recent Comments

  1. Mustafa on How to call HTTPS Url Without SSL Wallet in 19c
  2. Donatas on How to call HTTPS Url Without SSL Wallet in 19c
  3. Mustafa on 3 Ways to Migrate a Non-CDB Database to a PDB
  4. ulises lazarini on 3 Ways to Migrate a Non-CDB Database to a PDB
  5. Mustafa on How to call HTTPS Url Without SSL Wallet in 19c

Archives

  • November 2025
  • August 2025
  • July 2025
  • June 2025
  • April 2025
  • November 2024
  • July 2024
  • April 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • October 2021
  • September 2021
  • August 2021
  • April 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • July 2019
  • June 2019
  • May 2019
  • March 2019
  • February 2019
  • June 2018

Categories

  • 11g
  • 12c
  • 18c
  • 19c
  • 21c
  • 23ai
  • 26ai
  • Administration
  • Cloud
  • Compression
  • Development
  • Materialized View
  • Multi-tenant
  • Performance
  • Security
  • SQL / PLSQL
  • Uncategorized
  • Undocumented
  • Useful Scripts
©2025 Keep Learning Keep Living | WordPress Theme by SuperbThemes