exam questions

Exam 1z0-062 All Questions

View all questions & answers for the 1z0-062 exam

Exam 1z0-062 topic 1 question 208 discussion

Actual exam question from Oracle's 1z0-062
Question #: 208
Topic #: 1
[All 1z0-062 Questions]

In which situations does the Database Writer process (DBWn) write to data files? (choose two).

  • A. when the RMAN recovery process starts
  • B. when a user process commits a transaction
  • C. when a tablespace is made read-only or taken offline
  • D. when PMON cleans up dirty buffers in the database buffer cache
  • E. when clean buffers for reading new blocks into the database buffer cache are not found easily
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️
References -
https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TuxBingo
Highly Voted 4 years, 4 months ago
The correct answer is C and E (DBWn will be invoked when?) C: When tablespaces is going to OFFLINE/READ ONLY/BEGIN BACKUP. https://oracledbwr.com/oracle-database-writer-background-process/ E: explanation The DBW process writes dirty buffers to disk under the following conditions: When a server process cannot find a clean reusable buffer after scanning a threshold number of buffers, it signals DBW to write. DBW writes dirty buffers to disk asynchronously if possible while performing other processing. https://docs.oracle.com/database/121/CNCPT/process.htm#CNCPT1250
upvoted 8 times
...
PerkDizzzle
Highly Voted 5 years, 3 months ago
CE are correct based upon this Reference https://gerardnico.com/db/oracle/dbwn --- Not found Easily --- Table Spaces are taken-offline or read-only --- CheckPoint is advanced Remember that this process is done "lazily" and that it doesn't happen when a commit happens (that is done for the log writer process)
upvoted 6 times
...
Ray520
Most Recent 2 years, 7 months ago
D and E: When a server process cannot find a clean reusable buffer after scanning a threshold number of buffers, it signals DBWn to write. The server process referred here, is managed by PMON: PMON is responsible for cleaning up the database buffer cache and freeing resources that the user process was using. Thus, PMON indirectly signals DBWn to write database buffer to data files. It is LGWR that write redo log buffer to redo log when commit is done.
upvoted 1 times
...
jackymak
2 years, 9 months ago
Selected Answer: CE
https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm#sthref1500 The DBWn process writes dirty buffers to disk under the following conditions: When a server process cannot find a clean reusable buffer after scanning a threshold number of buffers, it signals DBWn to write. DBWn writes dirty buffers to disk asynchronously while performing other processing. => E DBWn periodically writes buffers to advance the checkpoint, which is the position in the redo thread (log) from which instance recovery begins. This log position is determined by the oldest dirty buffer in the buffer cache. => C
upvoted 1 times
...
brg850
3 years ago
Buffer Writes The database writer (DBW) process periodically writes cold, dirty buffers to disk. DBW writes buffers in the following circumstances: A server process cannot find clean buffers for reading new blocks into the database buffer cache. As buffers are dirtied, the number of free buffers decreases. If the number drops below an internal threshold, and if clean buffers are required, then server processes signal DBW to write. The database uses the LRU to determine which dirty buffers to write. When dirty buffers reach the cold end of the LRU, the database moves them off the LRU to a write queue. DBW writes buffers in the queue to disk, using multiblock writes if possible. This mechanism prevents the end of the LRU from becoming clogged with dirty buffers and allows clean buffers to be found for reuse. The database must advance the checkpoint, which is the position in the redo thread from which instance recovery must begin. Tablespaces are changed to read-only status or taken offline.
upvoted 1 times
...
_gio_
3 years, 2 months ago
BCE are correct. commit require a checkpoint. See: https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/memory-architecture.html#GUID-9247D1BA-36E3-4407-ACCE-DF212F81C019
upvoted 1 times
...
dancymonkey
4 years, 4 months ago
CD for sure, checked from Oracle workshop doc nothing to do with not found easily
upvoted 1 times
dancymonkey
4 years, 3 months ago
Sorry I mean C and E
upvoted 4 times
...
...
cweather328
4 years, 9 months ago
E appears to be correct. https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm
upvoted 1 times
...
sherifelia
5 years ago
CE must be correct
upvoted 4 times
...
Varlos
5 years, 8 months ago
CE must be correct ..
upvoted 4 times
...
rdnkrkmz
5 years, 10 months ago
DE must be correct.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago