postgresql: large insert duration -


the database postgresql 9.3.

there big table, 70 more columns. use case 700 inserts per second, , each insert takes 1 row.

here key items in postgresql.conf:

shared_buffers = 1024mb # system memory 8096mb in total work_mem = 32mb maintenance_work_mem = 128mb  bgwriter_delay = 20ms  synchronous_commit = off  checkpoint_segments = 64 checkpoint_completion_target = 0.9  effective_cache_size = 4096mb  log_min_duration_statement = 1000 

the log show duration of inserts exceed 1 second, after number of rows reaches ten million.

anybody help?


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -