vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I wrote: >> Yeah, this is great, particularly since it includes the OIDs. However, >> the OIDs don't seem to entirely match up with the LOCK_DEBUG output. >> I'm wondering if somehow we're locking the wrong OIDs? This may be a false alarm --- I had forgotten that relation locks are taken at Parse or Bind time, hence the lock-grabbing associated with a given command will be logged *before* the exec_execute_message log entry. Still sifting through the log, but thought I'd better mention this in case anyone else is equally confused. There is one completely unexplainable bit here, though: I see no evidence of LOCKTAG_TRANSACTION locks being taken or released anywhere in this log excerpt. That makes no sense to me ... anyone? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org |
| ||||
| Tom Lane wrote: > There is one completely unexplainable bit here, though: I see no > evidence of LOCKTAG_TRANSACTION locks being taken or released anywhere > in this log excerpt. That makes no sense to me ... anyone? They're filtered out by the trace_lock_oidmin test. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |
| Thread Tools | |
| Display Modes | |
|
|