Solved

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

Posted on 2015-02-06
8
228 Views
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
4.@?/rdbms/admin/utl32k.sql

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 12.1.0.1.0

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

0
Comment
Question by:Swadhin Ray
  • 5
  • 3
8 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
ID: 40593658
make your undo larger
0
 
LVL 16

Author Comment

by:Swadhin Ray
ID: 40593734
Thanks for your response. Will try to do that and come back .
0
 
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.
0
 
LVL 73

Expert Comment

by:sdstuber
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.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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:

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

Author Closing Comment

by:Swadhin Ray
ID: 40600824
Thanks a lot ...
0
 
LVL 73

Expert Comment

by:sdstuber
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.
0
 
LVL 16

Author Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now