Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Consistent reads against a heavily updated table (snapshot)
Well,
We've tried to make a 'transactional' snapshot, where the snapshot is not truncated when being refreshed (but sticking it into a refresh group). However, the queries running against the snapshot take almost as long to run as for the snapshot to refresh, which is not acceptable. Right now we are looking for alternatives (making snapshot a table, and updating selected rows), however, wanted to know if there is anyway to speed up, or it's just a function of slow IO.
Regular query takes seconds to exe and results in
2227 consistent gets 36 physical reads 0 redo size Same query while snapshot is running: 70177 consistent gets 10246 physical reads 39364 redo size