You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in command CREATE INDEX rumidx ON tst USING rum (t rum_tsvector_ops); will be endless working. because calling the function repalloc calls the macro VALGRIND_MEMPOOL_CHANGED which is very slooooow.
I suggest reducing the size of the generate_series to 10-20K or replace the repalloc call with palloc0 + memcpy
in command
CREATE INDEX rumidx ON tst USING rum (t rum_tsvector_ops);
will be endless working. because calling the functionrepalloc
calls the macro VALGRIND_MEMPOOL_CHANGED which is very slooooow.I suggest reducing the size of the generate_series to 10-20K or replace the
repalloc
call withpalloc0 + memcpy
see: https://github.com/postgrespro/rum/blob/master/src/ruminsert.c#L208
see: https://github.com/postgres/postgres/blob/master/src/backend/utils/mmgr/mcxt.c#L1093
PostgresNode.patch.txt
The text was updated successfully, but these errors were encountered: