Re: -1/0 virtualtransaction

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: -1/0 virtualtransaction
Дата
Msg-id fe31f281de4a4fe2635e3f1fe142c5345058a0f2.camel@cybertec.at
обсуждение исходный текст
Ответ на -1/0 virtualtransaction  (Mike Beachy <mbeachy@gmail.com>)
Ответы Re: -1/0 virtualtransaction  (Mike Beachy <mbeachy@gmail.com>)
Список pgsql-general
On Mon, 2021-04-26 at 17:45 -0400, Mike Beachy wrote:
> Does anyone have any pointers on what a virtualtransaction of '-1/0' means?
> 
> I'm using SSI and an example is 
> 
>  locktype | database | relation |  page   | tuple | virtualxid | transactionid | classid | objid | objsubid |
virtualtransaction| pid |    mode    | granted | fastpath
 
>
----------+----------+----------+---------+-------+------------+---------------+---------+-------+----------+--------------------+-----+------------+---------+----------
>  page     |    16384 |   468238 |   19216 |       |            |               |         |       |          | -1/0
          |     | SIReadLock | t       | f
 
> 
>  This is incredibly hard to search for. 
> 
> I see these for page, tuple and (perhaps a clue?) one relation, and I'm seeing the page and tuple locks accumulate
overtime.
 
>  Eventually this results in an "out of shared memory" error.

Not sure, but do you see prepared transactions in "pg_prepared_xacts"?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Durgamahesh Manne
Дата:
Сообщение: About to find all foreign tables are being used by sproc and view and function
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: DB size