[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::rdb_60

Title:Oracle Rdb - Still a strategic database for DEC on Alpha AXP!
Notice:RDB_60 is archived, please use RDB_70..
Moderator:NOVA::SMITHISON
Created:Fri Mar 18 1994
Last Modified:Fri May 30 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5118
Total number of notes:28246

5110.0. "What is the QUIET resource??" by BROKE::BASTINE () Wed Mar 05 1997 15:35

I have a customer that has a backup that never begins.  

They have traced the problem down to a lock that a powerbuilder application 
holds on a resource named QUIET that prevents the backup quiet point from 
occuring.

The powerbuilder application is holding a PR lock (I think it was PR) on a 
resource named QUIET.  What is the quiet resource and how can they 
track down the culprit so that they can make powerbuilder less likely to sit 
here in this state while backups wait for quiet points?

Is the QUIET resource some lock that is used to gain the backup its quiet point?

The customer was hoping it was a lock on some storage area... they can fix the
application so that it doesn't lock the area that long, but he is having a hard
time finding what this QUIET resource is and I am not sure either.  Can someone
explain what this resource is used for?

Thanks,
Renee
T.RTitleUserPersonal
Name
DateLines
5110.1HOTRDB::PMEADPaul, [email protected], 719-577-8032Wed Mar 05 1997 16:018
    Yes, it is a lock that is used to momentarily prevent new update
    transactions from starting.  See the docs for RMU/BACKUP.
    
    If they are running V7.0 then they are tripping over a "feature" of
    V7.0.  That is, in V7.0, Rdb also has read-only transactions take out
    the quiet lock which really causes problems for backups when there are
    long running read-only txns in the db.  I don't know if this has been
    fixed or not.
5110.2NOVA::SMITHIDon't understate or underestimate Rdb!Wed Mar 05 1997 16:274
But Paul, we don't name the resource 'QUIET' do we?  This might be some power
build specific lock.

Ian
5110.3HOTRDB::PMEADPaul, [email protected], 719-577-8032Wed Mar 05 1997 17:591
    We don't name it quiet, but RMU will display it as "QUIET".
5110.4NOVA::SMITHIDon't understate or underestimate Rdb!Wed Mar 05 1997 20:1812
.0:

~The powerbuilder application is holding a PR lock (I think it was PR) on a
~resource named QUIET.

.3

~    We don't name it quiet, but RMU will display it as "QUIET".

Are you saying that RMU displays its RESOURCE NAME as "QUIET"?  I think not.

Ian
5110.5Yes...svrav1.au.oracle.com::MBRADLEYI was dropped on my head as a baby. What's your excuse?Wed Mar 05 1997 21:5514
Ian,

>Are you saying that RMU displays its RESOURCE NAME as "QUIET"?  I think not.

Node: SVRVV1         Oracle Rdb V7.0-0 Performance Monitor   6-MAR-1997 12:47:43
Rate: 3.00 Seconds               Stall Messages             Elapsed: 00:02:09.18
Page: 1 of 1       SYSTEM$DIA0:[USER$DISK.MBRADLEY]JUNK.RDB;1       Mode: Online
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Process.ID Since......   Stall.reason............................. Lock.ID.
000002DE:1u12:46:06.70 - waiting for quiet (EX)                    1100089C
 
G'day,

Mark.
5110.6And yes ...svrav1.au.oracle.com::MBRADLEYI was dropped on my head as a baby. What's your excuse?Wed Mar 05 1997 21:5620
Ian,

>Are you saying that RMU displays its RESOURCE NAME as "QUIET"?  I think not.

================================================================================
SHOW LOCKS/MODE=BLOCKING Information
================================================================================
 
--------------------------------------------------------------------------------
Resource: quiet
 
          ProcessID Process Name        Lock ID   System ID Requested Granted
          --------- ---------------     --------- --------- --------- -------
Waiting:  000002DE  MBRADLEY.......     1100089C  00000000  EX        NL
Blocker:  000002F4  _TNA106:.......     5200001B  00000000  CR        CR
  
G'day,

Mark.

5110.7Well, if you stretch it a bit...BOUVS::OAKEYI'll take Clueless for $500, AlexWed Mar 05 1997 22:5513
>><<< Note 5110.6 by svrav1.au.oracle.com::MBRADLEY "I was dropped on my head as a baby. What's your excuse?" >>>
>>                                -< And yes ... >-

>>>Are you saying that RMU displays its RESOURCE NAME as "QUIET"?  I think not.

>>Resource: quiet

Well, I'll have to admit....

	QUIET <> quiet

:)
 
5110.8Actually I thought he was shouting :-)svrav1.au.oracle.com::MBRADLEYI was dropped on my head as a baby. What&#039;s your excuse?Wed Mar 05 1997 23:2114
Kathy,

>	QUIET <> quiet

That depends on how you measure it :-

$ a:==quiet
$ b:==QUIET
$ if a.eqs.b then write sys$output "quiet=QUIET"quiet=QUIET
quiet=QUIET

G'day,

Mark
5110.9NOVA::R_ANDERSONOracle Corporation (603) 881-1935Thu Mar 06 1997 08:1814
Yes, this *is* the "quiet-point lock", which RMU/SHOW STATS displays as "quiet"
(as does RMU/SHOW LOCKS, etc).

It should be noted that Rdb7 did NOT change the snapshot tx quiet-point lock
behaviour; snapshot transactions have ALWAYS taken out the quiet-point lock if a
previous read-write transaction was started (ever) during the attach.  

Rdb7 simply made the snapshot transaction behaviour consistent in that the
quiet-point lock is consistently acquired (or not) regardless of whether a
previous read-write transaction was started.

FYI.

Rick
5110.10Is it possible that this quiet resource could block backup?BROKE::BASTINEThu Mar 06 1997 08:2811
Thanks for all the confirmation.  Then there should be no reason why a backup
should be "blocked" by a process with this type of lock if the quietpoint
forces processes to take it out, correct?  

I'm trying to now understand how this process with the quiet lock could be
"blocking" the backup.  I haven't confirmed this is what the customer found,
this is what he said he found, but didn't ask why he thought that until I
had more information on what the quiet resource was.

Thanks,
Renee
5110.11NOVA::SMITHIDon&#039;t understate or underestimate Rdb!Thu Mar 06 1997 08:455
(OK I give in...  what I was thinking about was the actual resource name as in
what the lock manager sees and this is not QUIET (or even quiet) but some
other sequence of bits)

Ian
5110.12NOVA::R_ANDERSONOracle Corporation (603) 881-1935Thu Mar 06 1997 08:5516
>I'm trying to now understand how this process with the quiet lock could be
>"blocking" the backup.  I haven't confirmed this is what the customer found,
>this is what he said he found, but didn't ask why he thought that until I
>had more information on what the quiet resource was.

Obviously, any uncommitted transaction holding the quiet-point lock will block
the backup; the backup is waiting for all "active" transactions to commit.

If you don't want snapshot transactions to block a backup operation (or anything
else that waits for a quiet-point), then define the RDM$BIND_SNAP_QUIET_POINT
logical to "0" (default value is "1").  

You can also do this temporarily using the SHOW STATS "Dashboard Facility"
*before* your snapshot transactions attach to the database.

Rick
5110.13NOVA::DICKSONThu Mar 06 1997 10:062
    There is also the /NOQUIET switch on the backup command, but read the
    warnings about its use.
5110.14Thanks, it's all been very helpful!BROKE::BASTINEThu Mar 06 1997 12:283
Thanks everyone... I need to get more information from the customer. 

Renee
5110.15Why?svrav1.au.oracle.com::MBRADLEYI was dropped on my head as a baby. What&#039;s your excuse?Thu Mar 06 1997 18:0512
Rick,

>Rdb7 simply made the snapshot transaction behaviour consistent in that the
>quiet-point lock is consistently acquired (or not) regardless of whether a
>previous read-write transaction was started.

Why should a read only TXN interact with the quiet point? I would have 
thought it sufficient to stop R/W/ TXNs, and ignore R/O.

G'day,

Mark.
5110.16NOVA::R_ANDERSONOracle Corporation (603) 881-1935Fri Mar 07 1997 06:5010
Because the original definition of "quiet-point" was the prevention of new
transactions from starting, even read-only transactions.  

Around Rdb v5.1 (I think) we relaxed this restriction to allow the DBA to ignore
snapshot transactions for the quiet-point operation.

There are some operations which MUST wait for ALL transactions to terminate.
Most, however, work just fine when snapshot transactions are running.

Rick