A little workaround fix - flush the sql_id from the shared pool and now it's being picked up again and populated in dba_hist_sqlstat. I've also just come across an old thread with the same issue: //www.freelists.org/post/oracle-l/Missing-SQL-in-DBA-HIST-SQLSTAT Stojan. -- //www.freelists.org/webpage/oracle-l