update t_fim_work_time_list_app a set a.accept_payment_type1=
      (select t.record_id from t_fim_accept_payment_type t 
      where t.accept_payment_type1=pPaymentType1
      and t.accept_payment_type2=pPaymentType2),a.accept_payment_type2=a.accept_payment_type1
      where a.type=pType and a.asset_type_num=pTypeNum
      and a.worktimelist_record_id in 
      (select l.record_id from t_fim_work_time_list l
       where l.cost_month=pCostMonth);
谁能告诉我这个怎么优化!Oracle性能优化

解决方案 »

  1.   

    优化这东西 最好把 执行计划和统计信息一起贴上来
    如果测试数据能一起上来那最好
      

  2.   

    你好专业啊,但是我是刚刚学,能不能通俗易懂点啊?
      

  3.   

    我知道怎么弄了,但是我不知道执行计划,统计信息还有测试数据是什么?求详细介绍一下!
      

  4.   

    执行计划贴出来,统计信息就免了吧。
    再就是表及数据情况最好能提供下。
      

  5.   

    如果更新记录比较少的话,先查查连接条件能否走索引