document/current/cn/features/transaction/index.xml (34 lines of code) (raw):

<?xml version="1.0" encoding="utf-8" standalone="yes"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>分布式事务 on ShardingSphere</title> <link>https://shardingsphere.apache.org/document/current/cn/features/transaction/</link> <description>Recent content in 分布式事务 on ShardingSphere</description> <generator>Hugo -- gohugo.io</generator> <language>en-us</language><atom:link href="https://shardingsphere.apache.org/document/current/cn/features/transaction/index.xml" rel="self" type="application/rss+xml" /> <item> <title>核心概念</title> <link>https://shardingsphere.apache.org/document/current/cn/features/transaction/concept/</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://shardingsphere.apache.org/document/current/cn/features/transaction/concept/</guid> <description>XA 协议 XA 协议最早的分布式事务模型是由 X/Open 国际联盟提出的 X/Open Distributed Transaction Processing (DTP) 模型,简称 XA 协议。</description> </item> <item> <title>使用限制</title> <link>https://shardingsphere.apache.org/document/current/cn/features/transaction/limitations/</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://shardingsphere.apache.org/document/current/cn/features/transaction/limitations/</guid> <description>虽然 Apache ShardingSphere 希望能够完全兼容所有的分布式事务场景,并在性能上达到最优,但在 CAP 定理所指导下,分布式事务必然有所取舍。 Apache ShardingSphere 希望能够将分布式事务的选择权交给使用者,在不同的场景使用最适合的分布式事务解决方案。 LOCAL 事务 不支持项 不支持因网络、硬件异常导致的跨库事务。例如:同一事务中,跨两个库更新,更新完毕后、未提交之前,第一个库宕机,则只有第二个库数据提交,且无法回滚。 XA 事务 不支持项 服务宕机后,在其它机器上恢复提交/回滚中的数据; MySQL 事务块内,SQL 执行出现异常,执行 Commit,数据保持一致; 配置 XA 事务后,存储单元名称最大长度不超过45个字符。 BASE 事务 不支持项 不支持隔离级别。 </description> </item> <item> <title>附录</title> <link>https://shardingsphere.apache.org/document/current/cn/features/transaction/appendix/</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://shardingsphere.apache.org/document/current/cn/features/transaction/appendix/</guid> <description>不支持的 SQL: 事务中使用 DistSQL 里的 RAL、RDL 操作; XA 事务中使用 DDL 语句。 XA 事务所需的权限: 在 MySQL8 中需要授予用户 XA_RECOVER_ADMIN 权限,否则 XA 事务管理器执行 XA RECOVER 语句时会报错。</description> </item> </channel> </rss>