Oracle Logbook

August 28, 2007

What’s blocking my lock?

Filed under: Uncategorized — heliodias @ 2:16 pm

Find query that generate more redo logs

Filed under: Uncategorized — heliodias @ 11:24 am

You may query

select s.sid, s.serial#,i.block_changes from v$session s, v$sess_io i where s.sid = i.sid order by 3

Regards

Hélio Dias
http://heliodias.com

http://forums.oracle.com/forums/thread.jspa?threadID=548141&tstart=30

11g hide hash password

Filed under: Uncategorized — heliodias @ 11:22 am

It seems like 11g hidden hash password,

Now you can´t query password column from dba_users

Library cache pin

Filed under: Uncategorized — heliodias @ 11:20 am

The library cache pin is simply a session marking a library object (e.g. cursor) for use – either shared (because it wants to use an existing cursor, say) or exclusive (because it needs to invalidate and recompile a cursor).

This should be a very rapid action but in your case it isn’t – your average wait is more than 2 seconds. It isn’t possible to say why this is happening, but if you are doing cross-instance invalidations (e.g. truncating tables regularly) AND you have a very busy system (lots of CPU in use) that can be enough to cause these symptoms.

On a long shot – the scattered reads (possible tablescans) may be causing some remastering (gc remaster or similar), and this can cause a freeze (gcs drm freeze or similar): this shouldn’t cause problems to the library cache – which operates under the ‘global enqueue’ processes rather than ‘global cache’ processes – but maybe there is some connection.

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

 Answering to http://forums.oracle.com/forums/thread.jspa?threadID=547850&tstart=60

Blog at WordPress.com.