Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Oracle > Oracle datafiles....

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-11-07, 20:06
rajar11 rajar11 is offline
Registered User
 
Join Date: Jun 2002
Posts: 16
Oracle datafiles....

Hi All,
I have an AIX 5.3 box with Oracle 10g installed. I cannot seem to open the oracle datafiles which are currently opened by the Oracle DBWR process. Is there any way to prevent Oracle processes from opening the datafiles in exclusive mode?

Thanks,
rajar
Reply With Quote
  #2 (permalink)  
Old 10-11-07, 20:10
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 3,569
>I cannot seem to open the oracle datafiles which are currently opened by the Oracle DBWR process.

Opening them how, with what, and why?

>Is there any way to prevent Oracle processes from opening the datafiles in exclusive mode?

Not as far as I know.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
Reply With Quote
  #3 (permalink)  
Old 10-11-07, 20:15
rajar11 rajar11 is offline
Registered User
 
Join Date: Jun 2002
Posts: 16
Oracle datafiles....

I have written a program which is suppose to get a hexdump of a block. The program uses open64() call and tries to open the file in O_RDONLY mode. It fails with EINVAL. Found that if the oracle process DBWR is running, the file open fails. If the DB instance is brought down, then I can open the file.

Thanks,
rajar
Reply With Quote
  #4 (permalink)  
Old 10-12-07, 02:05
Littlefoot Littlefoot is offline
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 2,717
So open the file when DB instance is down

Or, make a backup copy of the file and do with it (with the spare one, I mean) what you want.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On