would be interesting to get some more details about your application, system, DB and hardware.

also it may help to see what kind of query generates this error.