- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ORA-01555: snapshot too old
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 12:51 PM
тАО09-29-2003 12:51 PM
ORA-01555: snapshot too old
I know that this problem is all too common but I really need some help on this. I'm new with Databases so please bear with me. I feel that the common solution given to this problem doesn't always work. I have extended my rollback by 3 folds but still doesn't work. The rollback segments didn't even grow. Exporting as SYSTEM gave no problems. Can it be due to the insufficient rollback segments?
I have seven rollback segments and with approx 160 DB users at a given time. Can adding more rollback segments help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 03:45 PM
тАО09-29-2003 03:45 PM
Re: ORA-01555: snapshot too old
For long running reports, try to run these when the database is lightly loaded so that the chance of a rollback segment wrapping is reduced (as there are fewer transactions in progress and hence less rollback information being generated). Try using an ORDER BY clause that forces a sort in the query - this should produce the row-source up front so undo is only needed while this ordered row-source is produced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 03:52 PM
тАО09-29-2003 03:52 PM
Re: ORA-01555: snapshot too old
I did enlarge all rollback segment Initial and Next extent size but still have the same problem. How do we determine how many rollback segments is sufficient for our system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 04:30 PM
тАО09-29-2003 04:30 PM
Re: ORA-01555: snapshot too old
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 06:55 PM
тАО09-29-2003 06:55 PM
Re: ORA-01555: snapshot too old
*
I think support note <40689.1> covers this topic very well
*
see attachment.
*
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 07:00 PM
тАО09-29-2003 07:00 PM
Re: ORA-01555: snapshot too old
*
sorry forgot the attachment.
Note that the only CAUSE of a 1555 is improperly sized rollback segments.
*
Note that in 9i, this might be a little easier to deal with as you can set an undo
rentention period.
*
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 07:36 PM
тАО09-29-2003 07:36 PM
Re: ORA-01555: snapshot too old
Oracle attempts to give your export a consistent view of the data, but runs out of rollback to do this - there must be a lot of updating going on.
The safest route is to export the database whilst no-none is using it. There are 2 ways:
1. Politely ask all users to log off for the duration.
2. Shutdown immediate, then startup restrict the database; run your export (as privileged user); shutdown, startup normal the database.
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 11:16 PM
тАО09-29-2003 11:16 PM
Re: ORA-01555: snapshot too old
This is a system running 24x7 so shutting down is a no-no. Asking users to log out is not an option in this environment. I know that creating more rollback segments helps...but does a larger minimum extent help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 01:26 AM
тАО09-30-2003 01:26 AM
Re: ORA-01555: snapshot too old
When you did the export did you say CONSISTENT=Y because if you did the export will ensure that the export copies all tables as they were when the first table is exported. This will mean extra rollback is used. Try setting consistent=N.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2003 01:37 AM
тАО09-30-2003 01:37 AM
Re: ORA-01555: snapshot too old
You should be aware that export of a database against which transactions are taking place is not in any way a secure backup.
However, if export is what you really want, then you need to increase the size of your rollback segments, or add some larger ones.
Note that extending the tablespace which contains the rollback segments is not enough.
You can query your existing with
select SEGMENT_NAME, TABLESPACE_NAME, INITIAL_EXTENT, NEXT_EXTENT, MIN_EXTENTS, MAX_EXTENTS, status
from dba_rollback_segs
/
To add new ones, you want something like:
CREATE ROLLBACK SEGMENT
TABLESPACE
STORAGE (INITIAL 100m NEXT 100m
MAXEXTENTS unlimited)
/
Then you need to bring it online with
ALTER ROLLBACK SEGMENT
/
You should also add it to your init.ora so that is available after database restart.
Hope this helps. It's a big subject for someone new to databases.
You should really read the oracle documentation.
If you don't have the CD you can download it from
http://otn.oracle.com/documentation/oracle8i.html
(you may have to register first).
-- Graham