COMMIT_POINT_STRENGTH
is relevant only in distributed database systems. It specifies a value that determines thecommit point sitein a distributed transaction. The node
in the transaction with the highest value forCOMMIT_POINT_STRENGTH
will be the commit point site.
COMMIT_POINT_STRENGTH是一个与仅与分布式数据库系统相关的参数。它的取值决定了在分布式事务中哪一个节点作为COMMIT POINT SITE。在分布式事务中,具有最高COMMIT_POINT_STRENGTH的节点作为COMMIT
POINT SITE。
The commit point site of a database should reflect the amount of critical shared data in the database. For example, a database on a mainframe computer typically shares more data among users than one on a personal computer. Therefore,COMMIT_POINT_STRENGTH
should
be set to a higher value for the mainframe computer.
作为commit point site节点的数据库应该分配有大量关键数据。例如,与PC机相比,位于大型机上的数据库用户通常分配更多的数据。因此,大型机上的数据库应该具有较高的COMMIT_POINT_STRENGTH值。
The commit point site stores information about the status of transactions. Other computers in a distributed transaction require this information during Oracle's two-phase commit, so it is desirable to have machines that are always available as commit point
sites. Therefore, setCOMMIT_POINT_STRENGTH
to a higher value on your more available machines.
作为commit point site节点的数据库存储与分布式事务相关的信息。在2pc过程中,位于分布式事务中的其他数据库节点请求位于commit
point site中的事务信息,因此作为commit
point site节点的数据库必须是有效的。总之,我们需要设置具有高可用性的数据库为COMMIT_POINT_STRENGTH节点。
在分布式事务中,Commit Point Site非常重要,它首先执行COMMIT或ROLLBACK操作的站点。Commit
Point Site和其它站点不一样,从来不会进入prepared状态,所以不会存在IN-DOUBT事务,也不会因为分布式事务的失败而被阻塞。
如果用户rollback分布式事务,调度器会直接通知各个节点rollback,结束分布式事务,而不会决定commit
point site。
分享到:
相关推荐
delphi 用fastdb进行增删改查的操作,还包括fastdb在大数据量插入是commit和precommit效率的对比。
meta-commit => 将 SHA 提交添加到部署的元数据中( -m commit=${GITHUB_SHA} ) meta-branch => 将 ref/branch 添加到部署的元数据中( -m commit=${GITHUB_REF} )例子这是一个完整的.github/workflow/deploy-...
git-commit-emoji-cn::beaming_face_with_smiling_eyes:git提交消息emoji使用指南
$ validate-commit-msg创建到./lib/validate-commit-msg.js的符号链接.git/hooks/commit-msg ,该链接在每次提交时执行。 钩子脚本根据在每次提交时验证提交消息。 安装 $ npm install validate-commit-message ...
git规范化使用的jar包,是可以自定义提交类型的那种,因为现在在idea上下载的这种插件提交类型是选择项,不能自定义
padroes-de-commits::page_facing_up:Padrãode commits pararepositórios
提交更改: git commit -m 'feat: My new feature' ; 推送你的分支: git push origin my-feature 。 :right_arrow_curving_down: 其他自述文件在此处查看更多自述文件 :balance_scale: 执照这个项目是在 MIT 许可...
您可以通过在git commit添加--no-verify来绕过它。为什么是这样? 由于,似乎对在Git commit消息中使用表情符号很感兴趣。 您可以用某种一致的方式来传达信息,也可以只是给世界(或两者)增添乐趣。 表情符号为我...
1-2PC the one-two phase atomic commit protocol; 1-2PC the one-two phase atomic commit protocol 1-2PC the one-two phase atomic commit protocol
请注意,默认类型与Angular commit消息对齐。 :school:如何使用 您需要做的第一件事是安装。 好吧,有两种方法可以触发“语义提交”命令: 1.命令面板 打开命令面板,然后开始输入Git: Semantic Commit : 然后,...
[client] port=3306 [mysql] no-beep default-character-set=utf8 [mysqld] datadir=D:/Data port=3306 server-id=...log_file_size=1G innodb_log_buffer_size=8M innodb_flush_log_at_trx_commit=2 innodb_file_per_t
git-ctm::hourglass_not_done:git Commit Time Machine:hourglass_done:
maven git commit id plugin git-commit-id-plugin is a plugin quite similar to ...I had to quickly develop an git version of such a plugin. For those who don't know the previous plugins, it basically ...
前端开源库-git-pre-commitGit预提交,您可以使用任何构建工具(gulp、grunt等)运行预提交,它将忽略所有
pre-commit-ci-config 验证配置 安装 pip install pre-commit-ci-config api pre_commit_ci_config.SCHEMA 架构。 该模式的预期输入是已加载的顶级预提交配置。 >>> import cfgv >>> from pre_commit.clientlib...
commit transaction --所有语句都完成,提交事务 go --新建视图 v_order_temp create view v_order_temp as select a.userId as userId, b.name_ch as dishName_ch, b.name_en as dishName_en, a.price as ...
This file implements commit-related functionality of the LEB properties subsystem.
Git commit: 78d1802 Built: Tue Jan 10 20:20:01 2017 OS/Arch: linux/amd64 包含: docker-engine-1.12.6-1.el7.centos.x86_64.rpm docker-engine-selinux-1.12.6-1.el7.centos.noarch.rpm audit-2.6.5-3.el7...
首先要停止数据库, 将这个表所在的表空间的文件拷贝出来, 因为Oracle在Truncate只时将相应Segment的第一个块格式化掉了, 而后面的都还存在, 到下次用时到才真正地重新格式化. 下面来讲一个Truncate表后进行恢复的...
将JavaScript Web API构建和部署到云中为什么举办这个工作坊从头到尾设置可用于生产环境的API的实际示例...n https://github.com/christiannwamba/crud-api-node git checkout < COMMIT>先决条件安装了 (可选,但如果