pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-performance@postgresql.org
Subject: Re: problem with select *
Date: Mon, 24 Aug 2015 10:59:11 +0200 (CEST)
Message-ID: <VisenaEmail.34.a77c4eb3cb61266e.14f5eee355a@tc7-visena> (raw)
In-Reply-To: <CAMmryP6hje58W78UnaC0-gyi1VqnmFAPfhAN_kE_d_VipbBq1w@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

På mandag 24. august 2015 kl. 09:04:07, skrev bhuvan Mitra <bhuvanrjb@gmail.com 
<mailto:bhuvanrjb@gmail.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@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
 <https://www.visena.com;


 

view thread (4+ messages)  latest in thread

Message-ID: <VisenaEmail.34.a77c4eb3cb61266e.14f5eee355a@tc7-visena>
Permalink:  ../VisenaEmail.34.a77c4eb3cb61266e.14f5eee355a@tc7-visena/
Also on:    postgresql.org/message-id/VisenaEmail.34.a77c4eb3cb61266e.14f5eee355a@tc7-visena

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andreas@visena.com
  Subject: Re: problem with select *
  In-Reply-To: <VisenaEmail.34.a77c4eb3cb61266e.14f5eee355a@tc7-visena>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox