dbTalk Databases Forums  

Sorting in Postgresql (8.2)

comp.databases.postgresql comp.databases.postgresql


Discuss Sorting in Postgresql (8.2) in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Artur
 
Posts: n/a

Default Sorting in Postgresql (8.2) - 05-22-2007 , 08:48 AM






I have got a query:

explain analyze select tfield from tws order by tfield;

Query Plan is:

-------------------------------------------------------------------------------------------------------------------
Sort (cost=177824.04..181821.54 rows=159900 width=12) (actual
time=1991.637..2087.435 rows=159900 loops=1)
Sort Key: tfield
-> Seq Scan on tws (cost=0.00..39615.99 rows=159900 width=12) (actual
time=0.016..88.862 rows=159900 loops=1)
Total runtime: 2160.171 ms

-------------------------------------------------------------------------------------------------------------------


My question is "What is PostgreSQL doing between 88.862 and 1991.637
milisecond?"



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.