Re: problem with select *

From: Andreas Joseph Krogh <andreas(at)visena(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: problem with select *
Date: 2015-08-24 08:59:11
Message-ID: VisenaEmail.34.a77c4eb3cb61266e.14f5eee355a@tc7-visena
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

På mandag 24. august 2015 kl. 09:04:07, skrev bhuvan Mitra <bhuvanrjb(at)gmail(dot)com
<mailto:bhuvanrjb(at)gmail(dot)com>>:
Hello,
 
I have a table with 12 columns and 20 Million rows. While writing the table I
do not find any problem but when reading that I have some issues faced. When I
perform a 'select * from table limit 14000000;' (selecting 14million rows), it
is working fine. If the limit value is 15000000, it is throwing the error as
'out of memory'.
 
If the query is 'select * from table' , The process is getting killed by
displaying the message 'killed'.
 
Kindly tell me where it is going wrong. I have 6MB cache, 1.6GHz CPU, linux
14.04 OS, 8GB RAM.

 
In what application are you performing these queries?
 
-- Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas(at)visena(dot)com <mailto:andreas(at)visena(dot)com>
www.visena.com <https://www.visena.com>
<https://www.visena.com>

 

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Genc 2015-08-24 10:22:27 Re: Performance bottleneck due to array manipulation
Previous Message Wei Shan 2015-08-24 07:13:42 Re: problem with select *