What's the difference between compact statistics
and verbose statistics?
Compact statistics are faster than verbose stats and take a lot less storage
space on the PostgreSQL server. There is a drawback however, the compact
stats are less accurate than the old verbose stats, there are no hourly
overviews for example.
How can I speed up phpPgAds? You can speed up phpPgAds considerably by reducing the functionality. You
could disable multiple keywords and conditional keywords. You could enable 'delayed
inserts' as well, which should increase the speed of statistics logging. Other
things that influence the speed of phpPgAds are reverse lookup, sequential
banner retrieval and banners stored in PostgreSQL. If you really need to serve massive
amounts of banners you could try using multiple servers. It is possible to store
banners on an external ftp/webserver, use a different server for the PostgreSQL database
and serve the ads from a different server as your webserver. It is even possible
to use multiple servers which all have phpPgAds and PostgreSQL installed and use
same database which is replicated over all the servers.
My PostgreSQL server uses too many resources, what can I do? You can reduce the load on the PostgreSQL server by storing banners on the webserver
instead of the PostgreSQL server. It is also possible use 'delayed inserts' which
can be turned on in the configuration file. If phpPgAds uses persistent connections
to the PostgreSQL server you could try turning this off in the configuration file.
Persistent connections do speed up phpPgAds, but increase the load on the PostgreSQL
server.
Can you help me to install phpPgAds? Can you please implement this feature
I need? Maybe. Let us know what you want...
|