looking for a critique of my MV
I am working on creating an MV; this is my first attempt and I want to make sure I am not missing anything.
the database version is 10.2.03 exadata RAC. The following SQL is using the most of the CPU and the CPU usage have been noticed to be at 80% on one of the nodes
select sum(authhistjp0_.USD_TRAN_AMT) as col_0_0_, count(authhistjp0_.USD_TRAN_AMT) as col_1_0_
from HIST authhistjp0_
where authhistjp0_.ISS_IIC_CDE=:1 and authhistjp0_.REQ_TMS>=:2 and (authhistjp0_.ISO_ACTN_CDE in (:3 , :4 , :5 )) and authhistjp0_.CNTRY_ISO_NBR=840 and (aut
hhistjp0_.PRIM_ACCT_NBR<>:6 or authhistjp0_.SYS_TR_AUDT_NBR<>:7 or authhistjp0_.REQ_TMS<>:8 or authhistjp0_.CNTRY_ISO_NBR<>840)