Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Error while upgrading from varchar2(4000) to varchar2(32k)

Posted on 2015-02-06
Medium Priority
Last Modified: 2015-02-10
Hello Experts,

I am getting error while while upgrading from varchar2(4000) to varchar2(32k) , that is applying MAX_STRING_SIZE='EXTENDED' .

Steps followed under sys user:

1.alter system set max_string_size=EXTENDED scope=spfile;
2. sqlplus / as sysdba -shutdown immediate
3.Startup upgrade

Open in new window

After running this we got the message :

plsql procedure sucessfully completed and then :

ORA-01555 Snapshot Too Old

Database 12c Enterprise Edition Release

ORACLE instance started.

Total System Global Area 1653518336 bytes
Fixed Size                  2289016 bytes
Variable Size            1207960200 bytes
Database Buffers          436207616 bytes
Redo Buffers                7061504 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-14695: MAX_STRING_SIZE migration is incomplete
Process ID: 17080
Session ID: 1 Serial number: 9

Open in new window

Question by:Swadhin Ray
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
LVL 74

Accepted Solution

sdstuber earned 2000 total points
ID: 40593658
make your undo larger
LVL 16

Author Comment

by:Swadhin Ray
ID: 40593734
Thanks for your response. Will try to do that and come back .
LVL 16

Author Comment

by:Swadhin Ray
ID: 40600208
I did a mistake after executing the script . I didn't shut-down and restarted the database.
When I did that I was able to start it successfully.

I didn't made any change on undo.

Let me know if I can close this ticket or not.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 74

Expert Comment

ID: 40600792
your output above looks like you were trying to restart your database when you got the error

you can close the ticket if you want.
LVL 16

Author Comment

by:Swadhin Ray
ID: 40600814
I executed the "utl32k.sql" script again and after it was successfully completed, I shut-down the database and then finally started the database .

It worked for me. Not sure why it was giving the error.

Can you please let me know if I have followed the right steps to make larger undo tablespace :

 Add new data files to it:

     ADD DATAFILE '*****\undo02.dbf' SIZE 200M AUTOEXTEND ON
                   NEXT 100M MAXSIZE UNLIMITED;
LVL 16

Author Closing Comment

by:Swadhin Ray
ID: 40600824
Thanks a lot ...
LVL 74

Expert Comment

ID: 40600907
yes, that's the correct method for adding a file.

alternately, you could extend the files you already have to make them larger.

neither way is necessarily better, use whatever is easiest for you.
LVL 16

Author Comment

by:Swadhin Ray
ID: 40600927
Thanks @sdstuber.....

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  ( Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question