Statistics module doesn't update when getting a node
The query to update the node_counter table may need tuning.

e.g:

if (variable_get('statistics_count_content_views', 0)) {
  // A node has been served, so update the node counters.
  db_merge('node_counter')
    -&gt;key(array('nid' =&gt; $nid))
    -&gt;fields(array(
      'daycount' =&gt; 1,
      'totalcount' =&gt; 1,
      'timestamp' =&gt; REQUEST_TIME,
    ))
    -&gt;expression('daycount', 'daycount + 1')
    -&gt;expression('totalcount', 'totalcount + 1')
    -&gt;execute();
}


The other fields, such as 'yearcount' etc.. aren't in the node_counter, at least not by default which may be causing a PDOException there.