当前位置:当前位置:首页 >系统运维 >Atlas 分布式版重磅来袭! 正文

Atlas 分布式版重磅来袭!

[系统运维] 时间:2025-11-05 07:26:52 来源:益强IT技术网 作者:数据库 点击:124次
Atlas 分布式版重磅来袭!
复制mysql> begin;  Query OK,布式版重磅袭 0 rows affected (0.00 sec)  mysql> insert into sharding_test(id, name, age) values(1, test, 0);  Query OK, 1 row affected (0.00 sec)  mysql> insert into sharding_test(id, name, age) values(1500, test, 0);  ERROR 1179 (sqlst): Proxy Warning - sharding dbgroup is in trans, transaction will not work across multi dbgroup  mysql> /*master*/select * from sharding_test where id < 1000;  +----+------+------+----------+----------+  | id | name | age | birthday | nickname |  +----+------+------+----------+----------+  | 1 | test | 0 | NULL | NULL |  +----+------+------+----------+----------+  1 row in set (0.00 sec)  mysql> /*master*/select * from sharding_test;  ERROR 1179 (sqlst): Proxy Warning - sharding dbgroup is in trans, transaction will not work across multi dbgroup  mysql> commit;  Query OK, 0 rows affected (0.00 sec)  mysql> /*master*/select * from sharding_test;  +----+------+------+----------+----------+  | id | name | age | birthday | nickname |  +----+------+------+----------+----------+  | 1 | test | 0 | NULL | NULL |  +----+------+------+----------+----------+  1 row in set (0.00 sec)  1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.

(责任编辑:IT科技类资讯)

    相关内容
    精彩推荐
    热门点击
    友情链接