Apache ShardingSphere ElasticJob document Nov 01, 2023Schedule Job public class MyJobDemo { public static void main(String[] args) { new ScheduleJobBootstrap(createRegistryCenter(), new MyJob(), createJobConfiguration()).schedule(); } private static CoordinatorRegistryCenter CoordinatorRegistryCenter createRegistryCenter() { CoordinatorRegistryCenter regCenter = new ZookeeperRegistryCenter(new ZookeeperConfiguration("zk_host:2181", "my-job")); regCenter.init(); return regCenter; maximize the throughput of the jobs. When new job server joins, ElasticJob will be aware of it from the registry, and will re‐shard in the next scheduling process, the new server will undertake some of the0 码力 | 101 页 | 1.53 MB | 1 年前3
Apache ShardingSphere 5.2.1 DocumentDetailed Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 7.7.4 New Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 7.7.5 Online shardingsphere.proxy.Bootstrap, how to solve it? . . . . . . . . . . . 495 8.2.2 Proxy How to add a new logic database dynamically when use ShardingSphere‐ Proxy? . . . . . . . . . . . . . . . . . . . use of the computing and storage capabilities of existing databases rather than creating a brand new database. It attaches greater importance to the collaboration between multiple databases instead of0 码力 | 523 页 | 4.51 MB | 1 年前3
Apache ShardingSphere 5.2.0 DocumentDetailed Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398 7.7.4 New Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398 7.7.5 Online shardingsphere.proxy.Bootstrap, how to solve it? . . . . . . . . . . . 456 8.2.2 Proxy How to add a new logic database dynamically when use ShardingSphere‐ Proxy? . . . . . . . . . . . . . . . . . . . use of the computing and storage capabilities of existing databases rather than creating a brand new database. It attaches greater importance to the collaboration between multiple databases instead of0 码力 | 483 页 | 4.27 MB | 1 年前3
Apache ShardingSphere 5.4.1 Documentshardingsphere.proxy.Bootstrap, how to solve it? . . . . . . . . . . . 548 13.3.2 Proxy How to add a new logic database dynamically when use ShardingSphere‐ Proxy? . . . . . . . . . . . . . . . . . . . use of the computing and storage capabilities of existing databases rather than creating a brand new database. It attaches greater importance to the collaboration between multiple databases instead of 1 Apache ShardingSphere document 1.2 Product Features F ea tu re Definition Da ta Sh ar di ng Data sharding is an effective way to deal with massive data storage and computing. Shard‐ ingSphere0 码力 | 572 页 | 3.73 MB | 1 年前3
Apache ShardingSphere 5.0.0 Document7.4.2 Detailed Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 New Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 Online Business shardingsphere.proxy.Bootstrap, how to solve it? . . . . . . . . . . . 304 7.7.5 5. [Proxy] How to add a new logic schema dynamically when use ShardingSphere‐Proxy? . . . . . . . . . . . . . . . . . . . . . aims at building a new criterion and ecosystem above multi‐model databases. It focuses on how to reuse existing databases and their re‐ spective upper layer, rather than creating a new database. The concepts0 码力 | 403 页 | 3.15 MB | 1 年前3
Apache ShardingSphere v5.5.0 documentshardingsphere.proxy.Bootstrap, how to solve it? . . . . . . . . . . . 577 13.2.2 Proxy How to add a new logic database dynamically when use ShardingSphere‐ Proxy? . . . . . . . . . . . . . . . . . . . use of the computing and storage capabilities of existing databases rather than creating a brand new database. It attaches greater importance to the collaboration between multiple databases instead of 1 Apache ShardingSphere document 1.2 Product Features F ea tu re Definition Da ta Sh ar di ng Data sharding is an effective way to deal with massive data storage and computing. Shard‐ ingSphere0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档jdbcUrl = "jdbc:shardingsphere:classpath:config.yaml"; // 以 HikariCP 为例 HikariDataSource dataSource = new HikariDataSource(); dataSource.setDriverClassName(driverClassName); dataSource.setJdbcUrl(jdbcUrl); DataSource; public class ExampleUtils { public DataSource createDataSource() { HikariConfig config = new HikariConfig(); config.setDriverClassName("org.apache.shardingsphere.driver. ShardingSphereDriver"); TO_UPPER=false;MODE=MySQL"); System.setProperty("fixture.config.driver.username", "sa"); return new HikariDataSource(config); } finally { System.clearProperty("fixture.config.driver.jdbc-url"); System0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 中文文档 5.4.1jdbcUrl = "jdbc:shardingsphere:classpath:config.yaml"; // 以 HikariCP 为例 HikariDataSource dataSource = new HikariDataSource(); dataSource.setDriverClassName(driverClassName); dataSource.setJdbcUrl(jdbcUrl); createModeConfiguration() { return new ModeConfiguration("Standalone", new 9.1. ShardingSphere-JDBC 85 Apache ShardingSphere document StandalonePersistRepositoryConfiguration("JDBC", new Properties())); } Cluster createModeConfiguration() { return new ModeConfiguration("Cluster", new ClusterPersistRepositoryConfiguration("ZooKeeper", "governance-sharding-db", "localhost:2181", new Properties())); } 相关参考 • ZooKeeper0 码力 | 530 页 | 4.49 MB | 1 年前3
Apache ShardingSphere 中文文档 5.3.2jdbcUrl = "jdbc:shardingsphere:classpath:config.yaml"; // 以 HikariCP 为例 HikariDataSource dataSource = new HikariDataSource(); dataSource.setDriverClassName(driverClassName); dataSource.setJdbcUrl(jdbcUrl); createModeConfiguration() { return new ModeConfiguration("Standalone", new 9.1. ShardingSphere-JDBC 84 Apache ShardingSphere document StandalonePersistRepositoryConfiguration("JDBC", new Properties())); } Cluster createModeConfiguration() { return new ModeConfiguration("Cluster", new ClusterPersistRepositoryConfiguration("ZooKeeper", "governance-sharding-db", "localhost:2181", new Properties())); } 相关参考 • ZooKeeper0 码力 | 508 页 | 4.44 MB | 1 年前3
Apache ShardingSphere 中文文档 5.2.0jdbcUrl = "jdbc:shardingsphere:classpath:config.yaml"; // 以 HikariCP 为例 HikariDataSource dataSource = new HikariDataSource(); dataSource.setDriverClassName(driverClassName); dataSource.setJdbcUrl(jdbcUrl); ModeConfiguration createModeConfiguration() { return new ModeConfiguration("Standalone", new StandalonePersistRepositoryConfiguration("H2", new Properties()), true); } Cluster 运行模式 (推荐) ModeConfiguration createModeConfiguration() { return new ModeConfiguration("Cluster", new ClusterPersistRepositoryConfiguration("ZooKeeper", "governance-sharding-db", "localhost:2181", new Properties()), true); } 相关参考0 码力 | 449 页 | 5.85 MB | 1 年前3
共 30 条
- 1
- 2
- 3













