David Teran <david(dot)teran(at)cluster9(dot)com> writes:
> Much better. So i think i will first read more about this optimization
> stuff and regular maintenance things.
See http://www.postgresql.org/docs/7.4/static/maintenance.html
> Is there any hint where to start to understand more about this
> optimization problem?
http://www.postgresql.org/docs/7.4/static/performance-tips.html
regards, tom lane