Talk:PowerDNS OpenDBX Backend/Comparison

From Linuxnetworks
Revision as of 20:41, 29 August 2006 by Ebookinfo (Talk | contribs)

Jump to: navigation, search

Which settings are necessary to get a better PostgreSQL performance?


1) On a 256MB machine, you might want to:

echo 96000000 > /proc/sys/kernel/shmmax
echo 96000000 > /proc/sys/kernel/shmall
Set shared_buffers = 6000 in postgresql.conf and restart.

The default cache settings are very conservative.

2) Make sure you've run an ANALYZE in your database after loading the test data. The PostgreSQL query planner assumes tables are empty until analyze tells it different. If you've deleted and reloaded the data, run a VACUUM FULL ANALYZE in the database before running the benchmark.

3) Try setting enable_seqscan=false in postgresql.conf. On small data sets, PostgreSQL will frequently avoid using indexes. In a benchmark like this, where all the data will end up cached, that could slow it down a fair bit, even though for a general purpose database with more concurrency it might make sense. You don't want to do this in a real database unless you will also have the luxury of always having your data cached; instead tweak the cost estimates to get it to use indexes where appropriate. setting random_page_cost = 2.0 and giving a good estimate for effective_cache_size is usually sufficient.

4) Create more pdns backends; at least 10 for a benchmark of this nature I would think.

ebook software

Hi Nice site, keep up Here are my ebook and mp3 and software sites. Cheers

<a href=http://order-online-pharmacy.ebook-land.info>order online pharmacy</a> <a href=http://pharmacy-new-orleans.ebook-land.info>pharmacy new orleans</a> <a href=http://pharmacy-austin.ebook-land.info>pharmacy austin</a> <a href=http://osco-pharmacy.ebook-land.info>osco pharmacy</a> <a href=http://pharmacy-denver.ebook-land.info>pharmacy denver</a> <a href=http://college-of-pharmacy.ebook-land.info>college of pharmacy</a> <a href=http://pharmacy-milwaukee.ebook-land.info>pharmacy milwaukee</a> <a href=http://pharmacy-middlesex.ebook-land.info>pharmacy middlesex</a> <a href=http://pharmacy-college.ebook-land.info>pharmacy college</a> <a href=http://online-casino.ebook-land.info>online casino</a> <a href=http://casino.ebook-land.info>casino</a> <a href=http://casino-game.ebook-land.info>casino game</a> <a href=http://free-casino-game.ebook-land.info>free casino game</a> <a href=http://las-vegas-casino.ebook-land.info>las vegas casino</a> <a href=http://casino-gambling.ebook-land.info>casino gambling</a> <a href=http://atlantic-city-casino.ebook-land.info>atlantic city casino</a> <a href=http://monaco-gold-casino.ebook-land.info>monaco gold casino</a> <a href=http://casino-royale.ebook-land.info>casino royale</a> <a href=http://internet-casino.ebook-land.info>internet casino</a> <a href=http://best-online-casino.ebook-land.info>best online casino</a> <a href=http://casino-slot.ebook-land.info>casino slot</a> <a href=http://casino-poker.ebook-land.info>casino poker</a> <a href=http://harrahs-casino.ebook-land.info>harrahs casino</a> <a href=http://online-casino-gambling.ebook-land.info>online casino gambling</a> <a href=http://free-casino.ebook-land.info>free casino</a>