Apache ShardingSphere v5.5.0 document
7 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 8.9 Shadow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 8.9.1 . . . . . . . . . . . . . . . . . . . . . . . . 51 Shadow Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Shadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Hint based shadow algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Column based shadow algorithm . . . . . . . . . . . . . . . . . . . . .0 码力 | 602 页 | 3.85 MB | 1 年前3Apache ShardingSphere 中文文档 5.4.1
rules: - !SHADOW dataSources: shadowDataSource: productionDataSourceName: # 生产数据源名称 shadowDataSourceName: # 影子数据源名称 tables:: dataSourceNames: # 影子表关联影子数据源名称列表 - <shadow_data_source> shadowAlgorithmNames: # 影子表关联影子算法名称列表 - <shadow_algorithm_name> defaultShadowAlgorithmName: # 默认影子算法名称(选配项) shadowAlgorithms: <shadow_algorithm_name> (+): # 影子算法名称 type: # 影子算法类型 props: # 影子算法属性配置 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 shadow_ds: url: jdbc:mysql://127.0.0.1:3306/shadow_ds?serverTimezone=UTC&useSSL=false username: root password: connectionTimeoutMilliseconds: 0 码力 | 530 页 | 4.49 MB | 1 年前3Apache ShardingSphere 中文文档 5.2.0
开发者指南:数据加密 影子库 背景信息 如果您想在 ShardingSphere‐Proxy 中使用 ShardingSphere 影子库功能请参考以下配置。 参数解释 rules: - !SHADOW dataSources: shadowDataSource: productionDataSourceName: # 生产数据源名称 shadowDataSourceName: # 影子数据源名称 # 影子表关联影子数据源名称列表 - <shadow-data-source> shadowAlgorithmNames: # 影子表关联影子算法名称列表 - <shadow-algorithm-name> defaultShadowAlgorithmName: # 默认影子算法名称(选配项) shadowAlgorithms: <shadow-algorithm-name> (+): 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 shadow_ds: url: jdbc:mysql://127.0.0.1:3306/shadow_ds?serverTimezone=UTC&useSSL=false username: root password: connectionTimeoutMilliseconds:0 码力 | 449 页 | 5.85 MB | 1 年前3Apache ShardingSphere 中文文档 5.3.2
rules: - !SHADOW dataSources: shadowDataSource: productionDataSourceName: # 生产数据源名称 shadowDataSourceName: # 影子数据源名称 tables:: dataSourceNames: # 影子表关联影子数据源名称列表 - <shadow_data_source> shadowAlgorithmNames: # 影子表关联影子算法名称列表 - <shadow_algorithm_name> defaultShadowAlgorithmName: # 默认影子算法名称(选配项) shadowAlgorithms: <shadow_algorithm_name> (+): # 影子算法名称 type: # 影子算法类型 props: # 影子算法属性配置 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 shadow_ds: url: jdbc:mysql://127.0.0.1:3306/shadow_ds?serverTimezone=UTC&useSSL=false username: root password: connectionTimeoutMilliseconds: 0 码力 | 508 页 | 4.44 MB | 1 年前3Apache ShardingSphere v5.5.0 中文文档
rules: - !SHADOW dataSources: shadowDataSource: productionDataSourceName: # 生产数据源名称 shadowDataSourceName: # 影子数据源名称 tables:: dataSourceNames: # 影子表关联影子数据源名称列表 - <shadow_data_source> shadowAlgorithmNames: # 影子表关联影子算法名称列表 - <shadow_algorithm_name> defaultShadowAlgorithmName: # 默认影子算法名称(选配项) shadowAlgorithms: <shadow_algorithm_name> (+): # 影子算法名称 type: # 影子算法类型 props: # 影子算法属性配置 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 50 minPoolSize: 1 shadow_ds: url: jdbc:mysql://127.0.0.1:3306/shadow_ds?serverTimezone=UTC&useSSL=false username: root password: connectionTimeoutMilliseconds: 0 码力 | 557 页 | 4.61 MB | 1 年前3Apache ShardingSphere 中文文档 5.0.0
ShardingSphere-JDBC 94 Apache ShardingSphere document, v5.0.0 影子库 配置入口 类名称:org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration 可配置属性: 名称 数据类型 说明 默 认 值 enable boolean 影 子 库 开 关。 可 选 值: Map影子算法名称和配置 无 影子数据源配置 类名称:org.apache.shardingsphere.shadow.api.config.datasource.ShadowDataSourceConfiguration 可配置属性: 名称 数据类型 说明 默认值 sourceDataSourceName sourceDataSourceName String 生产数据源名称 无 shadowDataSourceName String 影子数据源名称 无 影子表配置 类名称:org.apache.shardingsphere.shadow.api.config.table.ShadowTableConfiguration 可配置属性: 名称 数据类型 说明 默认值 dataSourceNames Co llection 0 码力 | 385 页 | 4.26 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.1
算法类型的详情,请参见内置加密算法列表。 影子库 配置入口 类名称:org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration 可配置属性: 影子数据源配置 类名称:org.apache.shardingsphere.shadow.api.config.datasource.ShadowDataSourceConfiguration ShardingSphere-JDBC 75 Apache ShardingSphere document, v5.1.1 影子表配置 类名称:org.apache.shardingsphere.shadow.api.config.table.ShadowTableConfiguration 可配置属性: 名称 数据类型 说明 dataSourceNames CollectionqueryWithCipherColumn: # 是否使用加密列进行查询。在有原文列的情况下,可以使用原文列进行查询 算法类型的详情,请参见内置加密算法列表。 影子库 配置项说明 rules: - !SHADOW dataSources: shadowDataSource: sourceDataSourceName: # 生产数据源名称 shadowDataSourceName: # 影子数据源名称 0 码力 | 409 页 | 4.47 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.0
算法类型的详情,请参见内置加密算法列表。 影子库 配置入口 类名称:org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration 可配置属性: 影子数据源配置 类名称:org.apache.shardingsphere.shadow.api.config.datasource.ShadowDataSourceConfiguration ShardingSphere-JDBC 74 Apache ShardingSphere document, v5.1.0 影子表配置 类名称:org.apache.shardingsphere.shadow.api.config.table.ShadowTableConfiguration 可配置属性: 名称 数据类型 说明 dataSourceNames CollectionqueryWithCipherColumn: # 是否使用加密列进行查询。在有原文列的情况下,可以使用原文列进行查询 算法类型的详情,请参见内置加密算法列表。 影子库 配置项说明 rules: - !SHADOW dataSources: shadowDataSource: sourceDataSourceName: # 生产数据源名称 shadowDataSourceName: # 影子数据源名称 0 码力 | 406 页 | 4.40 MB | 1 年前3Apache ShardingSphere 中文文档 5.1.2
源 码:https://github.com/apache/shardingsphere/tree/master/shardingsphere‐ features/shardingsphere‐shadow 4.9.4 核心概念 生产库 生产环境使用的数据库。 影子库 压测数据隔离的影子数据库,与生产数据库应当使用相同的配置。 影子算法 影子算法和业务实现紧密相关,目前提供 2 种类型影子算法。 算法类型的详情,请参见内置加密算法列表。 影子库 配置入口 类名称:org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration 可配置属性: 影子数据源配置 类名称:org.apache.shardingsphere.shadow.api.config.datasource.ShadowDataSourceConfiguration ShardingSphere-JDBC 76 Apache ShardingSphere document, v5.1.2 影子表配置 类名称:org.apache.shardingsphere.shadow.api.config.table.ShadowTableConfiguration 可配置属性: 名称 数据类型 说明 dataSourceNames Collection0 码力 | 446 页 | 4.67 MB | 1 年前3强大的音视频处理工具:FFmpeg
字可用\n或\N命令换行。ASS文件中,Script Info部分的一个参数“WrapStyle”也可以改变 此值 Outline:边框样式 文字可以设定为有边框,无边框,或拥有不 透明边框(矩形背景) Shadow:阴影距离 文字的阴影到文字的距离大小 AlphaLevel.:透明度(0至255有效) Encoding:ASCII码中的文字编码方式 Alignment:对齐方式 含义:画面中位置的对齐方式,按照数字键 Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Alignment, MarginL, MarginR Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Alignment, MarginL, MarginR0 码力 | 139 页 | 9.35 MB | 1 年前3
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8