This is a premium alert message you can set from Layout! Get Now!

What to do with a query, if a query is generating more redo/archive log?

Anup
0

If a query is generating excessive redo/archive logs in Oracle, it is important to identify the root cause and address it.

Here are some steps you can take:

  1. Review the query execution plan to identify any full table scans or other expensive operations that may be causing excessive log generation.

  2. Check if the query is updating or inserting a large number of rows, as this can result in significant log generation.

  3. Review the database configuration settings, such as the log buffer size and log file size, and adjust them if necessary.

  4. Consider partitioning tables or indexes if the query is accessing large tables or indexes.

  5. Tune the database parameters to optimize performance and reduce log generation. This may include adjusting the buffer cache size, increasing the number of redo log groups, or adjusting the log writer parameters.

  6. Consider using the NOLOGGING option for the query if data loss is acceptable and log generation needs to be minimized.

  7. Finally, if none of the above steps resolve the issue, consider contacting Oracle support for further assistance.

Post a Comment

0 Comments

Please Select Embedded Mode To show the Comment System.*

Post a Comment
To Top