Re: [HACKERS] [PERFORM] out of memory

2012-11-05 Thread Robert Haas
On Tue, Oct 30, 2012 at 6:08 AM, Tatsuo Ishii wrote: >> i have sql file (it's size are 1GB ) >> when i execute it then the String is 987098801 bytr too long for encoding >> conversion error occured . >> pls give me solution about > > You hit the upper limit of internal memory allocation limit in

Re: [PERFORM] out of memory

2012-10-30 Thread Tatsuo Ishii
> i have sql file (it's size are 1GB ) > when i execute it then the String is 987098801 bytr too long for encoding > conversion error occured . > pls give me solution about You hit the upper limit of internal memory allocation limit in PostgreSQL. IMO, there's no way to avoid the error except yo

[PERFORM] out of memory

2012-10-30 Thread Mahavir Trivedi
hi i have sql file (it's size are 1GB ) when i execute it then the String is 987098801 bytr too long for encoding conversion error occured . pls give me solution about i have XP 64-bit with 8 GB RAM shared_buffer 1GB check point = 34 with thanks mahavir

Re: [PERFORM] out of memory problem

2010-11-09 Thread Bob Lunney
gt; Subject: [PERFORM] out of memory problem > To: pgsql-performance@postgresql.org > Date: Tuesday, November 9, 2010, 5:39 AM > Hello together, > > I get an out of memory problem I don't understand. > The installed Postgres-Version is: > PostgreSQL 8.3.7 on i486-pc-linu

Re: [PERFORM] out of memory problem

2010-11-09 Thread Tom Lane
Till Kirchner writes: > I get an out of memory problem I don't understand. It's pretty clear that something is leaking memory in the per-query context: >ExecutorState: 1833967692 total in 230 blocks; 9008 free (3 > chunks); 1833958684 used There doesn't seem to be anything in your quer

[PERFORM] out of memory problem

2010-11-09 Thread Till Kirchner
Hello together, I get an out of memory problem I don't understand. The installed Postgres-Version is: PostgreSQL 8.3.7 on i486-pc-linux-gnu, compiled by GCC gcc-4.3.real (Debian 4.3.3-5) 4.3.3 It is running on a 32bit Debian machine with 4GB RAM. Thanks for any help in advance Till -- --

Re: [PERFORM] out of memory

2010-06-13 Thread Kenichiro Tanaka
Hello I think this SQL returns the following error. ERROR: missing FROM-clause entry for table "email_track" LINE 3: email_track.count AS "Emails_Access_Count", ^ For a fact ,this SQL does not have the "email_trac" table in from-clause. 1)Is this SQL right? 2)If the SQL is right, ca

Re: [PERFORM] out of memory

2010-06-13 Thread Anj Adu
Can you provide these details work_mem How much physical memory there is on your system Most out of memory errors are associated with a high work_mem setting On Sun, Jun 13, 2010 at 6:25 AM, AI Rumman wrote: > Whenever I run this query, I get out of memory error: > > > explain analyze > select

[PERFORM] out of memory

2010-06-13 Thread AI Rumman
Whenever I run this query, I get out of memory error: explain analyze *select * email_track.count AS "Emails_Access_Count", activity.subject AS "Emails_Subject", crmentity.crmid AS EntityId_crmentitycrmid *from * (select * from crmentity where deleted = 0 and createdtime between (now() - interval

Re: [PERFORM] Out of memory for Select query.

2008-06-29 Thread Rusty Conover
On Jun 29, 2008, at 10:20 PM, Nimesh Satam wrote: All, While running a Select query we get the below error: ERROR: out of memory DETAIL: Failed on request of size 192. Postgres Conf details: shared_buffers = 256000 work_mem =15 max_stack_depth = 16384 max_fsm_pages = 40 version: 8

[PERFORM] Out of memory for Select query.

2008-06-29 Thread Nimesh Satam
All, While running a Select query we get the below error: ERROR: out of memory DETAIL: Failed on request of size 192. Postgres Conf details: shared_buffers = 256000 work_mem =15 max_stack_depth = 16384 max_fsm_pages = 40 version: 8.1.3 We are using 8gb of Primary memory for the server

[PERFORM] Out of Memory Problem.

2006-07-12 Thread nicky
Hello Everyone, I'm trying to find out/understand what causes my 'out of memory' error. I do not have enough experience with such logs to understand what is wrong or how to fix it. So i hope someone can point me in the right direction. The 'rpt.rpt_verrichting' table contains about 8.5 milli

Re: [PERFORM] out of memory

2006-02-17 Thread martial . bizel
Good morning, I've increased sort_mem until 2Go !! and the error "out of memory" appears again. Here the request I try to pass with her explain plan, Nested Loop (cost=2451676.23..2454714.73 rows=1001 width=34) -> Subquery Scan "day" (cost=2451676.23..2451688.73 rows=1000 width=16)

Re: [PERFORM] out of memory

2006-02-15 Thread Scott Marlowe
On Wed, 2006-02-15 at 11:18, [EMAIL PROTECTED] wrote: > Here the result with hashAgg to false : > Nested Loop (cost=2487858.08..2490896.58 rows=1001 width=34) (actual > time=1028044.781..1030251.260 rows=1000 loops=1) >-> Subquery Scan "day" (cost=2487858.08..2487870.58 rows=1000 width=16)

Re: [PERFORM] out of memory

2006-02-15 Thread martial . bizel
Here the result with hashAgg to false : Nested Loop (cost=2487858.08..2490896.58 rows=1001 width=34) (actual time=1028044.781..1030251.260 rows=1000 loops=1) -> Subquery Scan "day" (cost=2487858.08..2487870.58 rows=1000 width=16) (actual time=1027996.748..1028000.969 rows=1000 loops=1)

Re: [PERFORM] out of memory

2006-02-15 Thread Scott Marlowe
On Wed, 2006-02-15 at 09:55, [EMAIL PROTECTED] wrote: > Good morning, > > > > > I've increased sort_mem until 2Go !! > and the error "out of memory" appears again. > > Here the request I try to pass with her explain plan, > > Nested Loop (cost=2451676.23..2454714.73 rows=1001 width=34) >

Re: [PERFORM] out of memory

2006-02-15 Thread martial . bizel
You're right, release is 7.4.7. there's twenty millions records "query" > On Tue, 2006-02-14 at 11:36, Tom Lane wrote: > > [EMAIL PROTECTED] writes: > > > Yes, I've launched ANALYZE command before sending request. > > > I precise that's postgres version is 7.3.4 > > > > Can't possibly be 7.3.4, t

[PERFORM] out of memory

2006-02-15 Thread martial . bizel
Good morning, I've increased sort_mem until 2Go !! and the error "out of memory" appears again. Here the request I try to pass with her explain plan, Nested Loop (cost=2451676.23..2454714.73 rows=1001 width=34) -> Subquery Scan "day" (cost=2451676.23..2451688.73 rows=1000 width=16)

Re: [PERFORM] out of memory

2006-02-14 Thread Scott Marlowe
On Tue, 2006-02-14 at 11:36, Tom Lane wrote: > [EMAIL PROTECTED] writes: > > Yes, I've launched ANALYZE command before sending request. > > I precise that's postgres version is 7.3.4 > > Can't possibly be 7.3.4, that version didn't have HashAggregate. > > How many distinct values of "query" actua

Re: [PERFORM] out of memory

2006-02-14 Thread Tom Lane
[EMAIL PROTECTED] writes: > Yes, I've launched ANALYZE command before sending request. > I precise that's postgres version is 7.3.4 Can't possibly be 7.3.4, that version didn't have HashAggregate. How many distinct values of "query" actually exist in the table? regards, t

Re: [PERFORM] out of memory

2006-02-14 Thread Scott Marlowe
On Tue, 2006-02-14 at 10:32, [EMAIL PROTECTED] wrote: > command explain analyze crash with the "out of memory" error > > I precise that I've tried a lot of values from parameters shared_buffer and > sort_mem > > now, in config file, values are : > sort_mem=32768 > and shared_buffer=3 OK, on

Re: [PERFORM] out of memory

2006-02-14 Thread martial . bizel
command explain analyze crash with the "out of memory" error I precise that I've tried a lot of values from parameters shared_buffer and sort_mem now, in config file, values are : sort_mem=32768 and shared_buffer=3 server has 4Go RAM. and kernel.shmmax=30720 > On Tue, 2006-02-14 at 10

Re: [PERFORM] out of memory

2006-02-14 Thread Scott Marlowe
On Tue, 2006-02-14 at 10:15, [EMAIL PROTECTED] wrote: > Yes, I've launched ANALYZE command before sending request. > I precise that's postgres version is 7.3.4 So what does explain analyze show for this query, if anything? Can you increase your sort_mem or shared_buffers (I forget which hash_agg

Re: [PERFORM] out of memory

2006-02-14 Thread martial . bizel
Yes, I've launched ANALYZE command before sending request. I precise that's postgres version is 7.3.4 > On Tue, 2006-02-14 at 10:03, [EMAIL PROTECTED] wrote: > > Thanks for your response, > > SNIP > > > if HashAgg operation ran out of memory, what can i do ? > > 1: Don't top post. > > 2: Have you

Re: [PERFORM] out of memory

2006-02-14 Thread Scott Marlowe
On Tue, 2006-02-14 at 10:03, [EMAIL PROTECTED] wrote: > Thanks for your response, SNIP > if HashAgg operation ran out of memory, what can i do ? 1: Don't top post. 2: Have you run analyze? Normally when hash agg runs out of memory, the planner THOUGHT the hash agg would fit in memory, but it wa

Re: [PERFORM] out of memory

2006-02-14 Thread martial . bizel
Thanks for your response, I've made this request : SELECT query_string, DAY.ocu from search_data.query_string, (SELECT SUM(occurence) as ocu, query FROM daily.queries_detail_statistics WHERE date >= '2006-01-01' AND date <= '2006-01-30' AND portal IN (1,2) GROUP BY query ORDER BY ocu DESC L

Re: [PERFORM] out of memory

2006-02-14 Thread Tom Lane
[EMAIL PROTECTED] writes: > I've error "out of memory" with these traces : Doing what? > AggContext: -1976573952 total in 287 blocks; 25024 free (414 chunks); > -1976598976 used > DynaHashTable: 503439384 total in 70 blocks; 6804760 free (257 chunks); > 496634624 used I'd guess that a HashAgg op

[PERFORM] out of memory

2006-02-14 Thread martial . bizel
Hello, I've error "out of memory" with these traces : TopMemoryContext: 32768 total in 3 blocks; 5152 free (1 chunks); 27616 used TopTransactionContext: 8192 total in 1 blocks; 8136 free (0 chunks); 56 used DeferredTriggerXact: 0 total in 0 blocks; 0 free (0 chunks); 0 used MessageContext: 24576