While modifying the retention period of AWR snapshot, got error ORA-13541


Here we are trying to set retention to 10080 which is equal to 7 days.

Let’s check the Moving window size:

It is set to 8 days. I.e the moving window size is more than the retention period we are trying to set.

So modify the window size to  7 days.

Now try to modify awr snapshot retention: