Re: [HACKERS] remove useless ccache searching

2011-09-05 Thread Tom Lane
Andy Colson writes: > This patch: > https://commitfest.postgresql.org/action/patch_view?id=597 > caches the cache because, I guess, the cache is slow. > Simon asked, "What is making the first cache so slow?". Pavel does not know, > nor how to fix it, and nobody else responded. Well, the cache

Re: [HACKERS] remove useless ccache searching

2011-09-05 Thread Pavel Stehule
Hello 2011/9/5 Andy Colson : > Pavel, I have not taken on your patch for review, but I was reading the > history of it, and one question popped up: > > If you are allocating a new cache, what if the array is really big, will 1st > cache + your cache get bigger than work_mem?  (or are array op's no

Re: [HACKERS] remove useless ccache searching

2011-09-05 Thread Pavel Stehule
Hello 2011/9/5 Andy Colson : > This patch: > > https://commitfest.postgresql.org/action/patch_view?id=597 > > caches the cache because, I guess, the cache is slow. > > Simon asked, "What is making the first cache so slow?".  Pavel does not > know, nor how to fix it, and nobody else responded. > >

Re: [HACKERS] remove useless ccache searching

2011-09-05 Thread Andy Colson
Pavel, I have not taken on your patch for review, but I was reading the history of it, and one question popped up: If you are allocating a new cache, what if the array is really big, will 1st cache + your cache get bigger than work_mem? (or are array op's not constrained by work_mem? Sorry,