I found performance problem.
createdb speed fast
after many inserts, updates then delete all from tables and redo the samething speed degrade
drop table and rebuild table redo operations speed fast