Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


1 2 3 4 >

mercredi 29 février 2012

Slony 1.2: Switch off autovacuum for Slony tables and pg_listerner,pg_statistic

It is well advised to siwtch off autovacuum for a few tables when using Slony 1.2.x.

Have a look at http://slony.info/documentation/1.2/maintenance.html (Section 6.1 Interaction with PostgreSQL autovaccuum).

Here are the SQL query
-- Slony tables
-- NOTICE: IN THE LINE BELOW, REPLACE clustername by the real cluster name.
INSERT INTO pg_catalog.pg_autovacuum 
    (vacrelid, enabled, vac_base_thresh, vac_scale_factor, anl_base_thresh, anl_scale_factor, vac_cost_delay, vac_cost_limit, freeze_min_age, freeze_max_age)
        SELECT oid, 'f', -1, -1, -1, -1, -1, -1, -1, -1 FROM pg_catalog.pg_class WHERErelnamespace = (SELECT OID FROM pg_namespace WHERE nspname = '_' || 'clustername') AND relhasindex;

-- System tables				
INSERT INTO pg_catalog.pg_autovacuum 
    (vacrelid, enabled, vac_base_thresh, vac_scale_factor, anl_base_thresh, anl_scale_factor, vac_cost_delay, vac_cost_limit, freeze_min_age, freeze_max_age) 
		SELECT oid, 'f', -1, -1, -1, -1, -1, -1, -1, -1 FROM pg_catalog.pg_class WHERE relname in ('pg_listener','pg_statistic') and relnamespace=(select oid from pg_namespace where nspname='pg_catalog') ;

lundi 27 février 2012

Interesting images

Jana Defi...very very interesting came from "LimeLight" collection.... I've got one of Limelight images on my mug but not one of the following images
wget http://i9.fastpic.ru/big/2010/0813/87/c0d0c81e595bc4a8645c9a4f48883587.jpg
wget http://i9.fastpic.ru/big/2010/0813/29/0b1cf936a6f6af34e5b941a9ab80f229.jpg
wget http://i9.fastpic.ru/big/2010/0813/1f/e364c7561998df6773cd08ce909edf1f.jpg
wget http://i9.fastpic.ru/big/2010/0813/41/2681d11332617f44493ea9418cc09441.jpg
wget http://i9.fastpic.ru/big/2010/0813/a3/2ddfa2629bb68dde595712d439e6ada3.jpg
wget http://i9.fastpic.ru/big/2010/0813/4e/3a944d7cecc0a73323d34fac99f12b4e.jpg
wget http://i9.fastpic.ru/big/2010/0813/81/1f0cf03223220b38e9e3528130280d81.jpg
wget http://i9.fastpic.ru/big/2010/0813/cb/402e3b7a818af7331d32fea0aef0a5cb.jpg
wget http://i9.fastpic.ru/big/2010/0813/33/1eeb24dff6af6658284527909f54fd33.jpg
wget http://i9.fastpic.ru/big/2010/0813/86/c71f2e65c95d68132a78a7affa98a086.jpg
wget http://i9.fastpic.ru/big/2010/0813/2e/4863131d0a5b7b600abf22fdfed0842e.jpg
wget http://i9.fastpic.ru/big/2010/0813/6d/e82eba74c67eceb7b0a069017f1bb96d.jpg
wget http://i9.fastpic.ru/big/2010/0813/33/1eeb24dff6af6658284527909f54fd33.jpg
wget http://i9.fastpic.ru/big/2010/0813/c4/0f65a12043bb794fc3e85551d6dd8ec4.jpg
Enjoy your Monday !

EnterpriseDB / PostgreSQL Advanced Server 8.3 - Documentation on line

See http://www.enterprisedb.com/docs/en/8.3/server/index.html

mercredi 22 février 2012

Xen 4.2 VGA PASSTHROUGH NVIDIA - The usual way to compile Xen has changed...(revision>=24869)

To be honest I don't know from which revision way of compiling Xen has been changed. Usually once a week, I used to compiling Xen in the usual way.
make xen tools stubdom 
make install-xen install-tools install-stubdom
Now
./configure
has been introduced before the commands above.

Let's try to compile it

Lire la suite