Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
  Looking into the internals, it appears that the EXCHANGE locks the entire
    table for one exchange, at the same time as the other is trying to get
  one only on the partition. It's an exclusive, blocking lock, which requires
    the DBA person to kill the entire process if nothing happens. What I
  can't figure out is, why doesn't it do the exchange after it gets the lock?
    It just does nothing. We couldn't even execute a SELECT or DESCribe.
  One DBA believed it to be a bug with Oracle, and one that probably won't be
    fixed soon. It seems to me that any time this happens to a database,
  where no queries are possible, and no error is returned, it's safe to say
    it's something Oracle should look at. 

The command name is EXCHANGE so it seems reasonable it wants to manipulate 2 Tables. Both Tables I expect to be guarded with locks. EXCLUSIVE locks! If a process has one lock, it's of little utility. It needs both. Therefore after it has one lock it tries to get the other. Only to find the other lock hold by a process, that wants to EXCHANGE too. That process in turn needs another lock to complete the EXCHANGE. You can guess which process holds that lock.

In reply to Re: Perl as a bug-shield? by Anonymous Monk
in thread Perl as a bug-shield? by Maestro_007

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-08-15 21:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found