Link to home
Start Free TrialLog in
Avatar of VikramChari
VikramChari

asked on

Unable to run Analyze Table - ORA 03113 error (end-of-file on communication channel)

I had a data block corruption error on a table and used dbms_repair to mark the blocks corrupt and skip them in the future.  There were some index errors as well, so I rebuit all the indexes for this table.  Now everything seems to be working fine, except that I get an error when I try to run the "analyze table validate structure online" command.  I want to run this command in order to ensure that the block corruption has indeed been fixed.

BTW, when this error comes up, I also lose my connection and have to reconnect in sqlplus.
SQL>analyze table tablename validate structure online;
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel

Open in new window

Avatar of ajexpert
ajexpert
Flag of United States of America image

are you running on client machine?
if you have access to server, can you run this command directly on server box
Avatar of VikramChari
VikramChari

ASKER

I am running this directly on the server box in sqlplus.
There could be many things causing this error
see this link
http://www.experts-exchange.com/Database/Oracle/Q_23389246.html
 
 
I check that link, but none of those things seem to apply to my situation.  Here's the sequence of everything that has happened so far:

1.  I noticed a block corruption error on the table when I ran a "analyze table validate structure" command.
2.  I ran dbms_repair to mark the blocks as corrupt.
3.  I deleted some rows from the table that were not needed.
4.  I rebuilt all the indexes from the table.

The server is the same, there has been no upgrade in the Oracle version or any other software, I am able to query and modify all tables, including the table that is causing the problem, I am able to run the "analyze table" command on all other tables except for this one, no new data was imported into the table, etc.
Avatar of Naveen Kumar
I am just thinking why don't you create a new table with the data from this table and then rename the old one to something else and rename the newly created one to the actual name. This is just to see if we can do this successfully and then run analyze command on the newly created table to see if that works.

note: you need to note what all triggers/views/indexes/etc are on the table and you need to setup your new table accordingly after you think it is working fine.  If you have toad/plsql developer, you can take a script of the old table before you do any activity against that old table which we can use later to apply the constraints/indexes/etc on the newly created table.

We can do this if this issue is with just one table and no other database object.  we can try this to see if this workaround can be of use to you. But i suggest that any "ORA-03113: end-of-file on communication channel
" errors should be given to DBA's and an explanation should be sought from them as to why this happened and what needs to be done to ensure that this does not happen again.

OR

Get your DBA to fix this for you. Let them do with the own method to make it working for you.
ASKER CERTIFIED SOLUTION
Avatar of VikramChari
VikramChari

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial