tpcc验证一致性的简单方法

更新时间:2023-07-29 04:18:57 阅读: 评论:0

tpcc验证⼀致性的简单⽅法
多风的英语>高等数学2(Select w_id, w_ytd from warehou) except(lect d_w_id, sum(d_ytd) from district group by d_w_id);
(Select d_w_id, d_id, D_NEXT_O_ID - 1 from district)  except (lect o_w_id, o_d_id, max(o_id) from oorder group by  o_w_id, o_d_id);
(Select d_w_id, d_id, D_NEXT_O_ID - 1 from district)  except (lect no_w_id, no_d_id, max(no_o_id) from new_order group by no_w_id, no_d_id);
lect * from (lect (count(no_o_id)-(max(no_o_id)-min(no_o_id)+1)) as diff from new_order group by no_w_id, no_d_id) where diff != 0;
丰盛的早餐变废为宝作文(lect o_w_id, o_d_id, sum(o_ol_cnt) from oorder  group by o_w_id, o_d_id) except (lect ol_w_id, ol_d_id, count
八字谚语
(ol_o_id) from order_line group by ol_w_id, ol_d_id);离婚申请书
(lect d_w_id, sum(d_ytd) from district group by d_w_id)  except(Select w_id, w_ytd from warehou);医疗保险证明
心绞痛快速治疗
连接到数据库做以上查询,如果结果全为0⾏,则说明tpcc库是⼀致的,否则说明此库在运⾏过程中数据出现混乱。

本文发布于:2023-07-29 04:18:57,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1122343.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:查询   数据库   过程
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图