Wednesday, January 18, 2006

ORA-01114: IO error writing block to file name block %s

Problem Description: got this error when trying to read from a table/view: ORA-01114: IO error writing block to file name block %s

******From metalink: ORA-01114: IO error writing block to file string (block # string)
Cause: The device on which the file resides is probably offline. If the file is a temporary file, then it is also possible that the device has run out of space. This could happen because disk space of temporary files is not necessarily allocated at file creation time.
Action: Restore access to the device or remove unnecessary files to free up space. *****


In my case, this has happened b'cos we have created a temporary datafile in a mountpoint and did not extend it completely and now when it is trying to extend it, it can't ... ...this might be the cause of the error. As you know, when you create a tempfile, it doesn't immediately occupy the OS space unless, otherwise all the segments are extended. It just says database altered even though there is no space in that mountpoint.

We can see the the usage in enterprise manager. I've seen that and i've observed that i've allocated about 1GB to that tempfile..but there was only 0.9GB left....and it was trying to extend beyond that size. so, it was giving that error.

SOlUTION:

drop and recreate your temp tablespace.

procedure: create a new temp tablespace, make this as the default temp tablespace and drop the old one (in 9i , drop tablespace temp including contents and datafiles).

Any comments ??

13 comments:

Unknown said...

Hi there,
I used your suggestion and it worked. Thanks a lot.
Peter

Unknown said...

Nice solution.
My old datafile size had 8GB. :)

MartinIsti said...

Great advice, though I found a little different solution for my problem but your blog gave me the key clue!
Thanks!

MartinIsti

Anonymous said...

awsome suggestion it has worked

Thanks

Anonymous said...

So MartinIsti:
Most of the folks who find blogs or threads like this are looking for solutions. If your problem, and solution, was a variation on this theme, it is incumbent upon you to share. Or were you such a stingy ba$t@rd in 2006 with regards to your "solutions"?

Anonymous said...

Hi,

This worked like a charm, thanks for the solution!

Unknown said...

I ALSO VICTIM OF THE SAME ISSUE BUT WHILE REBUILDING THE INDEXES, WHEN IT OCCURED I OBSERVED THAT THE INDX02.DBF WAS FULL AND IT IS UNABLE TO AUTOEXTEND AND RAISE THE ERROR, SO WHAT I DO IS CALCULATED THE INDEXES SIZES AND UPTO THAT SIZE I INCREASED THE DATAFILE SIZE, FROM THE NEXT TIME WHEN IF I GET THE PROBLEM THEN I WILL CREATE ONE INDX TABLESPACE AND REMOVE THE EXISTING TABLESPACE.

f@lgun...^_^ said...

thnx a lot for dat awsome commet!!!
It worked for me!!!!:)

Anonymous said...

Ηоw ѕhoulԁ we Βuy thіs

Review my ρage Green Smoke coupons

Anonymous said...

How do wе Buу them

Herе is my pаge :: www.Freewheelcycle.com

Anonymous said...

Wonderful items from you, man. I've understand your stuff previous to and you're simply too great.
I really like what you have received right here, really like what you are stating and
the way in which by which you are saying it. You're making it enjoyable and you continue to take care of to keep it wise. I can not wait to read far more from you. This is really a tremendous website.

Feel free to visit my website - Lipo Slim

Anonymous said...

These are truly enormous ideas in about blogging. You have touched some nice points
here. Any way keep up wrinting.


muscle building

Unknown said...

The most effective method to Solve Oracle ORA-01114 Error Message through Remote DBA Services
The Oracle ORA-01114 signifies "IO blunder composing square to record sharing" the primary driver for this issue is, you attempted to compose a document, yet gadget where the record lives is disconnected that is the reason you need to confront this issue. Be that as it may, don't stress you can undoubtedly handle this issue; just you have to reestablish access to this gadget and afterward attempt re-keeping in touch with the document. We have another technique to take care of this issue, rapidly contact to Online Oracle DB Support or Database Administration for Oracle.
For More Info: https://cognegicsystems.com/
Contact Number: 1-800-450-8670
Email Address- info@cognegicsystems.com
Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801