Database Administration (MOSC)

MOSC Banner

How to extend the timeframe for flashback queries ?

edited Jul 22, 2015 12:05PM in Database Administration (MOSC) 4 commentsAnswered

Hi all,

I want to extend the timeframe for flashback queries:

- Undo tablespace is fixed size.

- UNDO_MANAGEMENT parameter is set to AUTO

- select flashback_on from v$database -> NO

So I've increased (from 12 to 16 GB) the Undo tablespace size, but it remains more or less at 63% full, and this for several weeks now.

I have noticed an improvement in the timeframe, from 28 to 37 days (according to V$UNDOSTAT.TUNED_UNDORETENTION), but some queries in this timeframe, such as:

SELECT * FROM <a_table>

VERSIONS BETWEEN TIMESTAMP TO_TIMESTAMP('23.03.2015', 'DD.MM.YYYY') AND SYSTIMESTAMP

WHERE <a_condition>;

fails with an ORA-08180 error.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center