Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日. . . 59 事件追踪配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 作业信息导出配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.2.7 Spring 命名空间 . . . . . . 63 事件追踪配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 快照导出配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 6.2.8 内置策略 . . . . . . 71 6.3.2 导出作业信息 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 开启监听端口 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 执行导出命令 . . . . . .0 码力 | 98 页 | 1.97 MB | 1 年前3
Apache ShardingSphere 中文文档 5.4.1. . . . . . . . . . . . . . . . . . . 512 13.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 13.6.6 其他 Type 13 Apache ShardingSphere document 注意:请将 ${latest.release.version} 更改为实际的版本号。 3. 创建 YAML 配置文件 # JDBC 逻辑库名称。在集群模式中,使用该参数来联通 ShardingSphere-JDBC 与 ShardingSphere- Proxy。 # 默认值:logic_db databaseName spring.datasource.driver-class-name=org.apache.shardingsphere.driver. ShardingSphereDriver # 指定 YAML 配置文件 spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml 详情请参见Spring Boot。 7.1. ShardingSphere-JDBC0 码力 | 530 页 | 4.49 MB | 1 年前3
Apache ShardingSphere 中文文档 5.3.2. . . . . . . . . . . . . . . . . . . 490 13.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492 13.6.6 其他 Type 13 Apache ShardingSphere document 注意:请将 ${latest.release.version} 更改为实际的版本号。 3. 创建 YAML 配置文件 # JDBC 逻辑库名称。在集群模式中,使用该参数来联通 ShardingSphere-JDBC 与 ShardingSphere- Proxy。 # 默认值:logic_db databaseName spring.datasource.driver-class-name=org.apache.shardingsphere.driver. ShardingSphereDriver # 指定 YAML 配置文件 spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml 详情请参见Spring Boot。 7.1. ShardingSphere-JDBC0 码力 | 508 页 | 4.44 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档. . . . . . . . . . . . . . . . . . . 538 13.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539 13.6.6 其他 Type 13 Apache ShardingSphere document 注意:请将 ${latest.release.version} 更改为实际的版本号。 3. 创建 YAML 配置文件 # JDBC 逻辑库名称。在集群模式中,使用该参数来联通 ShardingSphere-JDBC 与 ShardingSphere- Proxy。 # 默认值:logic_db databaseName spring.datasource.driver-class-name=org.apache.shardingsphere.driver. ShardingSphereDriver # 指定 YAML 配置文件 spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml 详情请参见 Spring Boot。 7.1. ShardingSphere-JDBC0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 中文文档 5.2.0. . . . . . . . . . . . . . . . . . . . 427 8.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 8.6.6 其他 Type is . . . . . . . . . . . . . . . . . . . . . . 430 8.6.10 其他使用 Spring Boot 2.x 集成 ShardingSphere 时,配置文件中的属性设置不生 效? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 • 使用默认配置项 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 默认启动端口为 3307,默认配置文件目录为:%SHARDINGSPHERE_PROXY_HOME%/conf/。 • 自定义端口和配置文件目录 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory}0 码力 | 449 页 | 5.85 MB | 1 年前3
Apache ShardingSphere 中文文档 5.0.0• 使用默认配置项 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 默认启动端口为 3307,默认配置文件目录为:%SHARDINGSPHERE_PROXY_HOME%/conf/。 • 自定义端口和配置文件目录 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory} ShardingSphere 的默认模式。 3.2.3 单机模式 适用于单机启动 ShardingSphere,通过该模式可将数据源和规则等元数据信息持久化。默认在根目录创 建 .shardingsphere 文件用于存储配置信息。 3.2. 运行模式 13 Apache ShardingSphere document, v5.0.0 3.2.4 集群模式 适用于分布式场景,它提供了多个计算节点之间的 灵活的规则配置和资源管控能力是 Apache ShardingSphere 的特点之一。在使用 ShardingSphere‐Proxy 时,开发者虽然可以像使用数据库一样操作数据,但却需要通过 YAML 文件(或注册中心)配置资源和 规则。然而,YAML 格式的展现形式,以及注册中心动态修改带来的操作习惯变更,对于运维工程师并不 友好。 DistSQL 让用户可以像操作数据库一样操作 Apache0 码力 | 385 页 | 4.26 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.1. . . . . . . . . . . . . . . . . . 310 7.8.25 [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 7.8.26 [其他] Type . . . . . . . . . . . . . . . . . . . . 313 7.8.30 [其他] 使用 Spring Boot 2.x 集成 ShardingSphere 时,配置文件中的属性设置不 生效? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 7 • 使用默认配置项 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 默认启动端口为 3307,默认配置文件目录为:%SHARDINGSPHERE_PROXY_HOME%/conf/。 • 自定义端口和配置文件目录 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory}0 码力 | 409 页 | 4.47 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.0. . . . . . . . . . . . . . . . . . 306 7.8.25 [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 7.8.26 [其他] Type . . . . . . . . . . . . . . . . . . . . 309 7.8.30 [其他] 使用 Spring Boot 2.x 集成 ShardingSphere 时,配置文件中的属性设置不 生效? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310 7 • 使用默认配置项 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh 默认启动端口为 3307,默认配置文件目录为:%SHARDINGSPHERE_PROXY_HOME%/conf/。 • 自定义端口和配置文件目录 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory}0 码力 | 406 页 | 4.40 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.2. . . 198 区分同一日志中的 database 和用户 . . . . . . . . . . . . . . . . . . . . . . . . . . 199 拆分为不同的日志文件 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 5.2.5 Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . 322 7.8.25 [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 7.8.26 [其他] Type . . . . . . . . . . . . . . . . . . . . 325 7.8.30 [其他] 使用 Spring Boot 2.x 集成 ShardingSphere 时,配置文件中的属性设置不 生效? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 70 码力 | 446 页 | 4.67 MB | 1 年前3
传智播客 mybatis 框架课程讲义并 返回。 1.3 Mybatis 架构 1、 mybatis 配置 SqlMapConfig.xml,此文件作为 mybatis 的全局配置文件,配置了 mybatis 的运行环境等信息。 mapper.xml 文件即 sql 映射文件,文件中配置了操作数据库的 sql 语句。此文件需要在 SqlMapConfig.xml 中加载。 2、 通过 mybatis 环境等配置信息构造 SqlSessionFactory 是基本执行器、一个是缓存执行器。 5、 Mapped Statement 也是 mybatis 一个底层封装对象,它包装了 mybatis 配置信息及 sql 映射信息等。mapper.xml 文件中一个 sql 对应一个 Mapped Statement 对象,sql 的 id 即 是 Mapped statement 的 id。 6、 Mapped Statement 对 sql执行输入参数进行定义,包括 SqlMapConfig.xml 是 mybatis 核心配置文件,上边文件的配置内容为数据源、事务管理。 1.6.6 第五步:po 类 Po 类作为 mybatis 进行 sql 映射使用,po 类通常与数据库表对应,User.java 如下: Public class0 码力 | 75 页 | 1.16 MB | 1 年前3
共 15 条
- 1
- 2













