Shard-Query - MySQL并行查询引擎


BSD
跨平台
PHP

软件简介

ShardQuery 是一个 MySQL 的分布式并行查询引擎,这是一个 PHP
的类,用来轻松访问分区数据集。

示例代码:

$shard_list = array ( 
  'shard1' => array( 'host'=>'127.0.0.1',
         'user'=>'root',
         'password'=>'',
         'db'=>'test', 
         'port'=>3306
  ),
  'shard2' => array( 'host'=>'127.0.0.1',
         'user'=>'root',
         'password'=>'',
         'db'=>'test', 
         'port'=>3307
  )
);