cybertec-postgresql / pg_squeeze

A PostgreSQL extension for automatic bloat cleanup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: Failed to find target tuple

smallcookie086 opened this issue · comments

when working with PG10.5 we got ERROR: Failed to find target tuple
I did not get the reason for this error. Because there are other operations on the table parallel to squeeze? If this is the case, could you elaborate on the timing? THANK YOU!

Which version of pg_squeeze are you using?

Release 1.1.0

Can you please upgrade to a more recent version, ideally 1.4.1? v1.1.0 is still supported (and thus bug fixes are applied to it), but the bug you see might have disappeared from the newer versions due to some other changes. I haven't heard about this problem so far, so it's possible that it does not exist in the recent releases.

Please allow me to ask another question. Is it allowed to execute squeeze_table when performing copy-from of large data? What will be the result?

Do you mean squeezing the table you're copying data into? There should be nothing special about the COPY command, except that it usually inserts a lot of data. Thus, if you call squeeze_table() when the COPY is already in progress, it might take a while until it starts doing anything because - in order to setup the initial snapshot - it has to wait until all the active transactions end.