Re: [HACKERS] GIST create index very very slow

2014-08-18 Thread Greg Stark
On Mon, Aug 18, 2014 at 5:47 PM, Robert Haas wrote: > Sounds pretty weird I recall GIST being really slow in the distant past in cases where the page split choices were really bad. Is timerange an interval? Or a Range?I wonder if the pagesplit function for some of the newish data types like range

Re: [HACKERS] GIST create index very very slow

2014-08-18 Thread Heikki Linnakangas
On 08/18/2014 07:47 PM, Robert Haas wrote: I think something's missing from your report, though, because if there is 3.5 Mb/s of write I/O and only 8 b/s of file growth, nearly all of the writes are doing something other than extending that file. Hmm. Sounds like it's churning through temporary

Re: [HACKERS] GIST create index very very slow

2014-08-18 Thread Robert Haas
On Fri, Aug 15, 2014 at 5:59 PM, worthy7 wrote: > CREATE INDEX USING GIST(timerange); > > On 1.3 million rows this took only 30 seconds. > on 70 million its already taken over a day. I swear it didn't take this long > on version 9.3 > > > Is there some kind of known bug with GIST? CPU is at 4% or