Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to specify a large rollback segment for a SQL*Loader session?

0
Posted

How to specify a large rollback segment for a SQL*Loader session?

0

If you are loading huge data by SQL* Loader then you might get rollback segment errors. You can avoid these errors by specifying a large rollback segment for the SQL*Loader session. Here are few steps to do it. 1. Query DBA_ROLLBACK_SEGS to see if the segments are online or offline. Under the Status column, OFFLINE is ‘available’, and ONLINE is ‘in use’. SQL> Select SEGMENT_NAME, TABLESPACE_NAME, STATUS from DBA_ROLLBACK_SEGS; 2. Create a very large Rollback Segment. SQL> Create rollback segment verybig tablespace rollback_data storage (initial 1M next 1M minextents 2 maxextents 512); Rollback segment created. 3. Bring new Rollback Segment (verybig) online. SQL> Alter rollback segment verybig online; Rollback segment altered. 4. Take all other Rollback Segments except SYSTEM rollback segment offline. Note: You cannot take the SYSTEM rollback segment offline. SQL> Alter rollback segment RBS1 offline; Rollback segment altered. Repeat above command for all other rollback segments, except

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123