私が維持しているシステムは数日ごとにかなり遅くなっているようですが、それはどこかの悪いクエリによるものだと思います。
私の知る限り、問題を1、2ページに絞り込みました。これが問題の原因だと思うページのクエリです。
select a.s_purchase_order as order_id, a.order_type, a.nobackorder, a.order_note, a.note, a.rqst_dlvry_date, b.customer_name ,c.store_name,(c.store_name + ',' + isnull(c.address1 + ',', ' ') + isnull(c.city + ',', ' ') + isnull(c.state_cd+ ',', ' ') + isnull( c.zipcode, ' ')) as store_info, d.supplier_account
from VW_CustomerOrder a, Customer b, Store c, eligible_supplier d
where a.customer = c.customer
and a.store = c.store
and a.customer = b.customer
and c.customer *= d.customer
and c.store *= d.store
and a.supplier *= d.supplier
and a.purchase_order = @order_id
and a.customer = @customer_id
and a.store=@store_id
and a.supplier = @supplier_id
非常に遅い、または時間の経過とともにシステムが遅くなる原因となる明らかなものはありますか?