Fedora core 3 is slower than Fedora core 1?

Started by songsuboover 21 years ago2 messagesgeneral
Jump to latest
#1songsubo
songsubo@163.com

in Fedora core 1:
abc=# select version();explain select * from abc;select count(*) from abc;
version
-------------------------------------------------------------------------------------------------------------------------------
PostgreSQL 7.3.4 on i386-redhat-linux-gnu, compiled by GCC i386-redhat-linux-gcc (GCC) 3.3.1 20030903 (Red Hat Linux 3.3.1-3)
(1 row)

Time: 0.35 ms
QUERY PLAN
--------------------------------------------------------
Seq Scan on abc (cost=0.00..20.00 rows=1000 width=16)
(1 row)

Time: 0.52 ms
count
-------
30167
(1 row)

Time: 35.84 ms

in Fedora core 3:
abc=# select version();explain select * from abc;select count(*) from abc;
version
-------------------------------------------------------------------------------------------------------------------------
PostgreSQL 7.4.5 on i386-redhat-linux-gnu, compiled by GCC i386-redhat-linux-gcc (GCC) 3.4.1 20040815 (Red Hat 3.4.1-9)
(1 row)

Time: 0.456 ms
QUERY PLAN
----------------------------------------------------------
Seq Scan on abc (cost=0.00..479.67 rows=30167 width=16)
(1 row)

Time: 0.962 ms
count
-------
30167
(1 row)

Time: 29.876 ms

But the speed of ftp and http is sameness.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: songsubo (#1)
Re: Fedora core 3 is slower than Fedora core 1?

"songsubo" <songsubo@163.com> writes:

in Fedora core 1:
Time: 35.84 ms

in Fedora core 3:
Time: 29.876 ms

And your problem was what exactly?

regards, tom lane