Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgOGj-0001xC-Rp for pgsql-performance@arkaria.postgresql.org; Wed, 13 Nov 2013 00:25:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VgOGi-0003g9-SF for pgsql-performance@arkaria.postgresql.org; Wed, 13 Nov 2013 00:25:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfPdI-0005G6-0m for pgsql-performance@postgresql.org; Sun, 10 Nov 2013 07:40:32 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfPdD-0004TX-J5 for pgsql-performance@postgresql.org; Sun, 10 Nov 2013 07:40:30 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VfPdA-0003By-Ke for pgsql-performance@postgresql.org; Sat, 09 Nov 2013 23:40:24 -0800 Date: Sat, 9 Nov 2013 23:40:24 -0800 (PST) From: monalee_dba To: pgsql-performance@postgresql.org Message-ID: <1384069224632-5777633.post@n5.nabble.com> Subject: Order By Clause, Slows Query Performance? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Eg. SELECT col1, col2, col3,....col10 FROM table1; For above query If I didn't mention ORDER BY clause, then I want to know selected data will appear in which order by a query planner? Because I have huge size table, and when I applied ORDER BY col1, col2..in query the performance is soo bad that I can't offred. What should I do ? Because my requirement is data with ordered column. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Order-By-Clause-Slows-Query-Performance-tp5777633.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance