摘要: 假设有两张表a和b,需要把a的值复制到b表上,一般的做法如下: update b set value=(select a.value from a where a.id=b.id) 在vertica上执行这样的update语句是很慢的,有一个推荐的解决方案,是使用set using 和refresh 阅读全文
posted @ 2020-02-12 15:55 卡卡西村长 阅读(1327) 评论(0) 推荐(0)