PostgreSQL UPDATE 中包含子查询的性能优化

摘要: 一位网友使用update t1 set info=(select info from t2 where t1.id=t2.id) where t1.id<9999;这种查询时,发现性能很低。 而单独执行时很快的。 缘由分析: postgres=# create table t1(id int,inf...sql 一位网友使用update t1 set info=(select info f
相关文章
相关标签/搜索