03 2021 档案

摘要:explain update test t set crt_time = now() where exists(select 1 from test1 t1 where t1.id = t.id); -> Update on test t (cost=396607.58..1934979.49 ro 阅读全文
posted @ 2021-03-25 16:20 狂神314 阅读(867) 评论(0) 推荐(0) 编辑
摘要:事务隔离级别实验--SQL在等待锁结束之后,是否会再次获取快照 跟同事讨论一个删除的诡异操作,在Oracle中一个事务中删除再插入,另外一个事务也进行删除,被夯住,当阻塞结束之后,Oracle会将新插入的这条删除,而PG不会,于是进行一下深挖: 测试表结构及数据: drop table employ 阅读全文
posted @ 2021-03-12 15:41 狂神314 阅读(150) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示