Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

FRM:40502 : Unable to read List of Values

584663Oct 11 2007 — edited Dec 19 2007
Hi All ,

I have an LOV which is associated with a RG . When I execute the query associated with record group in the sql prompt ot gives me data.

But the same query when invoked from LOV when invoked from forms , it is giving the errror :
FRM:40502 : Unable to read List of Values

Could anyone please suggest why this error occurs.
Also , observed one strange thing is that in forms 10g if the Record Group Query contains '--' comments , this error was occuring. Not sure what '--' has got to do with this error . Plz help !!

Thanks ,

Comments

mseberg
I would review this :

What Is the Redo Log ( Its a little over a page )

http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/onlineredo001.htm

Best Regards

mseberg
Check the Concepts Guide - http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/process.htm#CNCPT1251

HTH
Srini
712622
Go through this link...

http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/memory.htm
845641
My question is not WHAT IS REDO LOG or about how LGWR writes to redo log files? You have given me links which i already know? my question is simple which process transferrs data from buffer cache to log buffer and how ? which is not given in these concepts guide.. and also what is IMU buffers ? is it the one from which it transfers changed buffers to log buffer ? Because when waiting for event [ log file switch (private strand flush incomplete) ] oracle says LGWR waits for DBWR to complete flushing redo from IMU buffers into the redo log buffer; when DBWR is complete LGWR can then finish writing the current log, and then switch log files. THANKS
PavanG
It is the sever process that performs the copy from the buffer to the log buffer.
AronTunzi
IMU means "In-memory undo"

From the link of Srini you can read that:

LGWR writes one contiguous portion of the buffer to the online redo log. By separating the tasks of modifying database buffers, performing scattered writes of dirty buffers to disk, and performing fast sequential writes of redo to disk, the database improves performance.

In the following circumstances, LGWR writes all redo entries that have been copied into the buffer since the last time it wrote:

A user commits a transaction (see "Committing Transactions").

An online redo log switch occurs.

Three seconds have passed since LGWR last wrote.

The redo log buffer is one-third full or contains 1 MB of buffered data.

DBWn must write modified buffers to disk.
Jonathan Lewis
Answer
842638 wrote:
Hi EXPERTS,

Im on 11G R2, RHEL 5 my question that when data is modified in database buffer cache how immediately it is copied to redo log buffer. I mean which process copies it. I read it in oracle documentation that when waiting for event [ log file switch (private strand flush incomplete) ] LGWR waits for DBWR to complete flushing redo from IMU buffers into the redo log buffer; when DBWR is complete LGWR can then finish writing the current log, and then switch log files.
In general each session writes its own redo into private buffers (a matched pair - one for the forward changes, one for the undo block changes - it's the latter that's named the IMU pool) and copies the private redo into the public log buffer on commit. There are various events that will cause the private redo to be flushed to the public thread before the commit. One of these is the special case that you've mentioned where DBWR instigates a flush.

If DBWR has to copy a datablock from the db cache to disc it has to copy the latest version of the block, but any redo that describes changes to that block has to be written first. So if DBWR finds that a block it wants to write is subject to private redo it flushes the redo to the log buffer and applies it to the data buffer before calling lgwr to write the log buffer to disc - once the log writer has written dbwr can write that data block to disc.


Private strand flush incomplete is the event you get from a foreground session when something else (such as DBWR) is doing the flush for it and it's waiting to generate more redo. It can't put it into the private buffer because that buffer is now locked against change because of the flush; it can't put it into the public buffer otherwise the redo might get there before the sessions earlier redo, so it has to wait temporarily for the private buffer to become unlocked because that's the only way it can tell that the flush is complete and it's now safe to carry on - and when it carries on it has to switch to the public buffer.

I've just finished rewriting half a dozen pages of my book explaining this, so a short answer that hits a few of the highlights is all you can expect in a forum note.

Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk

To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}
{noformat} (lowercase, curly brackets, no spaces) so that the text appears in 
fixed format
.

There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
Marked as Answer by 845641 · Sep 27 2020
845641
thanks jonathan for this deep reply.. you are just a genius always and pavanG also for answering me straight in few lines rather than giving me links of those complete huge manuals... thanks again
user12050217
If you think server process copies the buffer to the log buffer; then my questions are:
1.Which buffer i.e. redo log bufer, database buffer ?
2.Then who writes in Redologs i.e. server process or LGWR ?
3.If server process writes, then what does LGWR ?
4.If server process is writing in redologs, then why and when DBWR signal to LGWR ?

Thank you.
1 - 9
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 16 2008
Added on Oct 11 2007
7 comments
2,530 views