存储过程中有很多cursor的定义为select * from table_1 where field_1 in select
max(field_2) from table_2 where ....),请问这样
会不会造成查询数据很慢?另外多表联接这样的查询是不是也很慢,应用什么样的方法解决?现在程序进行大容量数据的查询非
常慢,不知道是不是因为这个语句,谢谢各位高手
...全文
685打赏收藏
请教提高查询速度的问题
存储过程中有很多cursor的定义为select * from table_1 where field_1 in select max(field_2) from table_2 where ....),请问这样 会不会造成查询数据很慢?另外多表联接这样的查询是不是也很慢,应用什么样的方法解决?现在程序进行大容量数据的查询非 常慢,不知道是不是因为这个语句,谢谢各位高手