вторник, 11 января 2011 г.

repmgr or manage your PostgreSQL cluster easily

I've looked through Greg Smith's post about repmgr and feel quite interested. As I understood, this utility significantly simplifies PostgreSQL cluster management. I'd like to test it this week. There are a lot of questions. Will this repmgr compile on FreeBSD? How will be fail of master processed? What will happen if master goes down, e.g. due to network failure, and then is reborn while old slave is a new master? What will happen if nodes are divided in several groups? We'll see. At least, first three questions are critical...

One more thing which I'd like to see in PostgreSQL is a transparent support for HA configurations from client library. The following scenario worked in Oracle RAC. We had two "IN A" DNS records for "oracle.our.domain" pointing to our RAC nodes, and applications transparently switched from one node to another on node's failure. More supported behavior was achieved by specifying both nodes in ADDRESS_LIST and using proper FAILOVER_MODE.

понедельник, 10 января 2011 г.

This drives me nuts...

I've tired to fight with OpenOffice Bibliograhy tool. It takes about 10 minutes to find and insert one bibliographic entry. Bibliography is stored in PostgreSQL database and is rather small (about 100 records). But OO just eats one CPU for several minutes while inserting new bibliography link. Really, buggy programs can spoil your mood.

суббота, 8 января 2011 г.

One wonderful thing

It seems I'm going insane, can't stop laughing for 5 minutes... Work really helps you to keep your mind and habits. I still have a half of dissertation to look through and correct. If I don't suicide while processing it, I may be rather exhausted and happy tomorrow evening.

среда, 5 января 2011 г.

Mark Zuckerberg's interview

I'd like to share Zuckerberg's interview I've just watched... At least, it was interesting. And I was shocked that man in 26 made a great job, but I can't even clean up my life or complete damned dissertation...

суббота, 1 января 2011 г.

Blood Diamond

I've just watched "Blood Diamond"... Sometimes it seems that there are too many different worlds. Different countries, different cultures, different way of life. Some people live in the state of permanent war. Developed countries are always parasitize on developing ones. And yes, our life is shit. But there are people for whom it's much worse.

понедельник, 27 декабря 2010 г.

PostgreSQL 9.0 High perfomance

I've just finished G.Smith's "PostgreSQL 9.0 High performance". It's just an excellent book for any DBA. It provides detail information on PostgreSQL-related tuning (from server hardware and OS settings to query tuning and DBMS monitoring). We are going to upgrade our DBMS server next year, so I'll have an opportunity to apply this recommendations in practice. The only disadvantage is that the book is Linux-oriented, and we have FreeBSD DBMS server. However, basic settings for our OS are also covered in this book. Now I wonder: should I use ZFS for PostgreSQL on FreeBSD? I think at least I should make some benchmarks...