problem with select * - Mailing list pgsql-performance

From bhuvan Mitra
Subject problem with select *
Date
Msg-id CAMmryP6hje58W78UnaC0-gyi1VqnmFAPfhAN_kE_d_VipbBq1w@mail.gmail.com
Whole thread Raw
Responses Re: problem with select *  (Wei Shan <weishan.ang@gmail.com>)
Re: problem with select *  (Andreas Joseph Krogh <andreas@visena.com>)
Re: problem with select *  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-performance
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.

Thanks.

pgsql-performance by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: query not using GIN index
Next
From: Wei Shan
Date:
Subject: Re: problem with select *