Apache ShardingSphere v5.5.0 documentshortest time, this chapter provides users with a simplest quick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 7.1 ShardingSphere-JDBC 7 FOO_XXX ... - !BAR_XXX ... props: key_1: value_1 key_2: value_2 4. Take spring boot as an example, edit application.properties. # Configuring DataSource Drivers spring.datasource.driver-class-name=org %SHARDINGSPHERE_PROXY_HOME%/conf/database-xxx.yaml. %SHARDINGSPHERE_PROXY_HOME% is the proxy extract path. for example: /opt/ shardingsphere-proxy-bin/ Please refer to Configuration Manual for more details. 3. Import0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere 5.4.1 Documentshortest time, this chapter provides users with a simplest quick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 7.1 ShardingSphere-JDBC 7 FOO_XXX ... - !BAR_XXX ... props: key_1: value_1 key_2: value_2 4. Take spring boot as an example, edit application.properties. # Configuring DataSource Drivers spring.datasource.driver-class-name=org %SHARDINGSPHERE_PROXY_HOME%/conf/config-xxx.yaml. %SHARDINGSPHERE_PROXY_HOME% is the proxy extract path. for example: /opt/ shardingsphere-proxy-bin/ Please refer to Configuration Manual for more details. 3. Import0 码力 | 572 页 | 3.73 MB | 1 年前3
Apache ShardingSphere 5.1.2 DocumentShadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 7.6.6 Use Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 Scenario . . . . environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 Shadow algorithm example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 7.7 Test . . . . . . . . . . . shortest time, this chapter provides users with a simplest quick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 2.1 ShardingSphere-JDBC 20 码力 | 503 页 | 3.66 MB | 1 年前3
Apache ShardingSphere 5.0.0 DocumentShadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 7.5.6 Use Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 Scenario . . . . environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 Shadow algorithm example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 7.6 Test . . . . . . . . . . . 4. Use ShardingSphere-Proxy Use MySQL or PostgreSQL client to connect ShardingSphere‐Proxy. For example with MySQL: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} -P${proxy_port} 2.2.0 码力 | 403 页 | 3.15 MB | 1 年前3
Apache ShardingSphere 5.1.1 DocumentShadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 7.6.6 Use Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 ix Scenario . . environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 Shadow algorithm example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 7.7 Test . . . . . . . . . . . 4 Use ShardingSphere-Proxy Use MySQL or PostgreSQL client to connect ShardingSphere‐Proxy. For example with MySQL: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} -P${proxy_port} 2.30 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.2.1 Documentshortest time, this chapter provides users with a simplest quick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 2.1 ShardingSphere-JDBC 2 %SHARDINGSPHERE_PROXY_HOME%/conf/config-xxx.yaml. %SHARDINGSPHERE_PROXY_HOME% is the proxy extract path. for example: /opt/ shardingsphere-proxy-bin/ Please refer to Configuration Manual for more details. 3. Import certain rules through certain fields, with each sharding con‐ taining only part of the data. For example, according to primary key sharding, even primary keys are put into the 0 database (or table) and0 码力 | 523 页 | 4.51 MB | 1 年前3
Apache ShardingSphere 5.2.0 Documentshortest time, this chapter provides users with a simplest quick start with Apache ShardingSphere. Example Codes: https://github.com/apache/shardingsphere/tree/master/examples 2.1 ShardingSphere-JDBC 2 %SHARDINGSPHERE_PROXY_HOME%/conf/config-xxx.yaml. %SHARDINGSPHERE_PROXY_HOME% is the proxy extract path. for example: /opt/ shardingsphere-proxy-bin/ Please refer to Configuration Manual for more details. 3. Import certain rules through certain fields, with each sharding con‐ taining only part of the data. For example, according to primary key sharding, even primary keys are put into the 0 database (or table) and0 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.0.0-alpha Document4. Use ShardingSphere-Proxy Use MySQL or PostgreSQL client to connect ShardingSphere‐Proxy. For example with MySQL: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} -P${proxy_port} 2.2. certain rules through certain fields, with each sharding con‐ taining only part of the data. For example, according to primary key sharding, even primary keys are put into the 0 database (or table) and Binding Table It refers to the primary table and the joiner table with the same sharding rules, for example, t_order and t_order_item are both sharded by order_id, so they are binding tables with each other0 码力 | 311 页 | 2.09 MB | 1 年前3
MYBATIS Quick Guideconfiguration file of MyBatis thiselementcontainsfourattributesnamelyresources, url, class, andname. For example, the name of the mapper xml file is Student.xml and it resides in the package named as mybatis,, mapper interface. The attribute name points to the package name of the mapper interface. In the example provided in this chapter, we have specified the class path of the mapper XML using the resource attribute available today. Let us create a SqlMapConfig.xml configuration file to connect to mysql database. The example given below are the dataSource properties driver − name, url, user − name, andpassword for MySQL0 码力 | 34 页 | 301.72 KB | 1 年前3
Apache ShardingSphere ElasticJob document Nov 01, 2023multiple individual job items, one or some of which will be executed by the distributed servers. For example, if a job is divided into 4 slices, and there are two servers to execute the job, then each server the sharding items, converting the sharding items’numbers to more readable business codes. For example, to horizontally split the databases according to the regions, database A stores data from Beijing reasonably for the job to leverage the resources, and assign the sharding items dynamically. For example, we have 10 sharding items and there are 3 servers, the number of sharding items are server A =0 码力 | 101 页 | 1.53 MB | 1 年前3
共 24 条
- 1
- 2
- 3













