Solved

Update of operating system timestamp of datafile

Posted on 2001-06-05
5
1,048 Views
Last Modified: 2012-08-14
When does the operating system timestamp of the Oracle datafile get updated ?  Normally, it is seen to happen at instance shutdown, but can it happen in between when the instance is running ?  Under what conditions ?

The OS timestamp does not change every time the DBWR process writes to the datafile in Windows NT - when does the timestamp actually change in a Windows NT environment ?
0
Comment
Question by:Eileena
5 Comments
 
LVL 4

Expert Comment

by:fva
ID: 6156058
When auto-increased?

F.
0
 
LVL 5

Accepted Solution

by:
ORACLEtune earned 50 total points
ID: 6156816
hi,

the Oracle8i Database "engine" has different moving parts,
oracle datafiles are updated after an Oracle8i CHECKPOINT occurs.  A CHECKPOINT is a database engine action whereby the SGA REDO_LOG buffer is written to an on-line redo.log.  This action is followed by a DBWR action whereby all "dirty-blocks" in the SGA DATA_BLOCK_BUFFER (i.e. cached/changed datablocks) are written to their respective oracle datafiles.  The Oracle SCN (System Change Number) is written to synchronize and map each database transaction to its repective REDO_LOG & oracle datafile & oracle control file.  This concurrency architecture allows Oracle to recover in event of instance, media, user, or other failure.

"When does the operating system timestamp of the Oracle datafile get updated ?"

- after a database DBWR operation occurs.  

This means the database transaction data buffered in the SGA has been written to disk.  Buffering data in the SGA, allows Oracle to write to disk every 30-45 minutes, this way your system is not i/o bound by constant database writes to disk.  Check your alert log, your CHECKPOINT switches should be occuring every 30-45 minutes in a tuned database engine.

see ya,
Eric
0
 
LVL 1

Expert Comment

by:misho2000
ID: 6157498
I think that every time Oracle process writes to any database file OS timestamp is updated.
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7035992
Please update and finalize this old, open question. Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,

** Mindphaser - Community Support Moderator **

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7043311
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

679 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