Solved

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

Posted on 2009-04-10
6
1,495 Views
Last Modified: 2013-12-19
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

0
Comment
Question by:VikramChari
[X]
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
  • 3
  • 2
6 Comments
 
LVL 14

Expert Comment

by:ajexpert
ID: 24119900
are you running on client machine?
if you have access to server, can you run this command directly on server box
0
 

Author Comment

by:VikramChari
ID: 24119957
I am running this directly on the server box in sqlplus.
0
 
LVL 14

Expert Comment

by:ajexpert
ID: 24119998
There could be many things causing this error
see this link
http://www.experts-exchange.com/Database/Oracle/Q_23389246.html
 
 
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

Author Comment

by:VikramChari
ID: 24120066
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.
0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 24121257
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.
0
 

Accepted Solution

by:
VikramChari earned 0 total points
ID: 24174036
I finally solved this by exporting the data, dropping the table, recreating the table and associated indexes, and importing the data back into it.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Note: You must have administrative privileges in order to configure lead or case queues. Salesforce.com (http://www.Salesforce.com) is a cloud-based customer relationship management (CRM) system. It is widely used around the world by sales and ma…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

617 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