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
阅读全文
摘要:事务隔离级别实验--SQL在等待锁结束之后,是否会再次获取快照 跟同事讨论一个删除的诡异操作,在Oracle中一个事务中删除再插入,另外一个事务也进行删除,被夯住,当阻塞结束之后,Oracle会将新插入的这条删除,而PG不会,于是进行一下深挖: 测试表结构及数据: drop table employ
阅读全文