title: Postgres Slow and delayed insertions
body: <p>I have and issue with database inserting slowly and delayed manner. 
  What the situation is, I have a table <code>mobiledata</code> which has a high insertion in it. It has a primary key as id (bigserial). The id nextval is from sequence mobiledata_seq. 
  When I see the insertions in table, the row is inserted while missing the sequence. Also the row is inserted after some time say 10 sec
  This happens in rare cases and sometimes it works like a charm.</p>
  
  <p>Example: </p>
  
  <pre><code>Select id from missingdata order by id desc limit 100;
  </code></pre>
  
  <pre>
  output
  611815
  611813
  611810
  611809
  611807
  611805
  611804
  611802
  611801
  611800
  611799
  611798
  611797
  611796
  611795
  </pre>