Solved

Oracle data block corrupted

Posted on 2014-09-19
2
701 Views
Last Modified: 2014-09-19
When doing a select count on a oracle table - I received this -

SQL.sql: Error (1,22): ORA-01578: ORACLE data block corrupted (file # 7, block # 3379875)
ORA-01110: data file 7: '/opt/oracle/oradata/orcl/COSTPOINT_DATA'

II ran these sql commands:
Select owner, segment_name from dba_extents where 3379875 between block_id and block_id + blocks and file_id = 7;
Received back:
 
OWNER                          SEGMENT_NAME
------------------------------ ---------------------------------------------------------------------------------
DELTEK                         GL_POST_SUM
 
1 row selected.
 
Then ran-
select bytes from dba_segments where owner = 'DELTEK' and segment_name = 'GL_POST_SUM';
 
received this error
SQL.sql: Error (1,19): ORA-01578: ORACLE data block corrupted (file # 1, block # 184437)
ORA-01110: data file 1: '/opt/oracle/oradata/orcl/system01.dbf'

ran this
Select owner, segment_name from dba_extents where 184437 between block_id and block_id + blocks and file_id = 1;

OWNER                          SEGMENT_NAME
------------------------------ ---------------------------------------------------------------------------------
SYS                                I_FILE#_BLOCK#

Is there any way to recover?
0
Comment
Question by:goldieretriever
[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
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40333218
Step 1:
PERFORM A COMPLETE BACKUP OF THE CURRENT STATE.

Step 2:
Contact Oracle Support.

There are no more steps.

Looks like you have corruption in several data files.  My guess is there was some disk event that likely caused more damage that you are aware of.

You can find a TON of stuff on the web that says things like:
Try this...
Try this...
Try this...

Not knowing the EXACT state of the database, you could corrupt things even more.

Oracle Support will be able to walk you through what you need to do.
0
 

Author Closing Comment

by:goldieretriever
ID: 40333908
Thank you for the quick response. Oracle support was a great help. It was a sever hardware problem.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
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.
Suggested Courses

636 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