Re: slow transfer speeds with PostgreSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Hansell,

hansell baran wrote:

> When we run the following query "SELECT * FROM big_table", we get the
> following resutls:

Just for Curiosity:

Could you try to "COPY big_table TO stdout" from psql[.exe]? (and
possibly redirect the psql output to /dev/null or so?)

> Is there a way to increase the transfer rates?

Which file system do you use?

Could you try to "VACUUM FULL" the tables?

I assume that, for complex queries, you have all the appropriate indices
etc.

Also, I have to admit, that for single-client scenarios and simple,
mostly read-only queries, PostgreSQL tends to be slower than Access and
MySQL.

However, this changes as soon as you have multiple concurrent writing
clients. You should take this into account when benchmarking your
servers (by modelling the appropriate benchmarks), and when deciding
which database to use (by trying to estimate future usage patterns).


HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux