Re: Parallel bitmap index scan - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: Parallel bitmap index scan
Date
Msg-id 451a127a-bbd2-1edc-f717-9852b5dc205f@enterprisedb.com
Whole thread Raw
In response to Re: Parallel bitmap index scan  (Dilip Kumar <dilipbalaut@gmail.com>)
Responses Re: Parallel bitmap index scan  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
List pgsql-hackers
Hi,

I took a look at this today, doing a bit of stress-testing, and I can
get it to crash because of segfaults in pagetable_create (not sure if
the issue is there, it might be just a symptom of an issue elsewhere).

Attached is a shell script I use to run the stress test - it's using
'test' database, generates tables of different size and then runs
queries with various parameter combinations. It takes a while to trigger
the crash, so it might depend on timing or something like that.

I've also attached two examples of backtraces. I've also seen infinite
loop in pagetable_create, but the crashes are much more common.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Soumyadeep Chakraborty
Date:
Subject: Re: Split copy.c
Next
From: "David G. Johnston"
Date:
Subject: Re: Add docs stub for recovery.conf