Title: SharDB
Author: Ron Rennick
Published: <strong>2009-يىلى 23-دېكابىر</strong>
Last modified: 2014-يىلى 29-ئىيۇن

---

قىستۇرما ئىزدە

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/shardb.svg)

# SharDB

 يازغۇچى [Ron Rennick](https://profiles.wordpress.org/wpmuguru/)

[چۈشۈر](https://downloads.wordpress.org/plugin/shardb.2.8.1.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/shardb/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/shardb/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/shardb/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/shardb/#developers)

 [قوللاش](https://wordpress.org/support/plugin/shardb/)

## چۈشەندۈرۈش

This is intended for larger WordPress Network installs using an existing 1-3 character
MD5 hash (by blog id) based multi-DB sharding structure. It supports 16, 256 or 
4096 database shards. It also supports a separate database for blog id 1 and multiple
VIP databases (home & VIP code contribution by Luke Poland).

It should support any plugin that works with (and accesses all data via) the regular
WordPress database code.

It has been used to power MU version 2.7.1 through WordPress 4.8 sites and upgrade
sites from 2.7.1 through to the WordPress 4.8.

A detailed [installation guide](http://wpebooks.com/shardb-installation-guide/) 
can be purchased for a nominal fee.

This plugin is based on [HyperDB](https://wordpress.org/extend/plugins/hyperdb) 
which is the database plugin used by [WordPress.com](http://wordpress.com/). Like
HyperDB, this plugin autodetects whether a query is requesting a global or blog 
table.

## ئېكران كەسمىسى

 * [[
 * Site admin blogs screen showing dataset / partition for each blog.

## ئورنىتىش

 1.  The database configuration instructions are at the top of db-settings.php. The
     configuration instructions assume that:
 2.   a. your databases all have the same database server, user & password.
      b. your blog shard databases are named according to the same prefix and a suffix
         of md5 hash, global, home or vipX.
 3.  Instructions for adding VIP databases are at the bottom of db-settings.php.
 4.  Once finished editing db-setting.php upload it to the same folder as wp-config.
     php for your WordPress install.
 5.  Edit your wp-config.php and add the following line after the database settings
     are defined:
      require_once(›db-settings.php‹);
 6.  upload shardb-admin.php to /wp-content/plugins/.
 7.  Network activate the SharDB admin tools in Network Admin -> Plugins.
 8.  Migrate your data to your DB shards using the SharDB migration screen under Network
     Admin -> Settings on the main site.
 9.  upload db.php to /wp-content/.

## FAQ

  Installation Instructions

 1.  The database configuration instructions are at the top of db-settings.php. The
     configuration instructions assume that:
 2.   a. your databases all have the same database server, user & password.
      b. your blog shard databases are named according to the same prefix and a suffix
         of md5 hash, global, home or vipX.
 3.  Instructions for adding VIP databases are at the bottom of db-settings.php.
 4.  Once finished editing db-setting.php upload it to the same folder as wp-config.
     php for your WordPress install.
 5.  Edit your wp-config.php and add the following line after the database settings
     are defined:
      require_once(›db-settings.php‹);
 6.  upload shardb-admin.php to /wp-content/plugins/.
 7.  Network activate the SharDB admin tools in Network Admin -> Plugins.
 8.  Migrate your data to your DB shards using the SharDB migration screen under Network
     Admin -> Settings on the main site.
 9.  upload db.php to /wp-content/.

## باھالاشلار

![](https://secure.gravatar.com/avatar/5782e9fb9c475f12a096aa48af746905ae55fef9026664b01e08f62b7d4bbe27?
s=60&d=retro&r=g)

### 󠀁[This Plugin still worked on wordpress 5.1.1 & PHP7.1 & Mysql 8](https://wordpress.org/support/topic/this-plugin-still-worked-on-wordpress-5-1-1-php7-1-mysql-8/)󠁿

 [KAZUKI KIKUCHI](https://profiles.wordpress.org/kkikuchi1220/) 2019-يىلى 30-ئاپرېل

This plugin was so great, I was using multi-db developed by wpmudev before, but 
it wasn’t working after php7. So I moved multi-db to shardb. I want to say big thanks
to the developer and let wordpress users to know that this plugin is still working
following environment. WordPress: 5.1.1 PHP: 7.1.X MySQL: 8.X

![](https://secure.gravatar.com/avatar/cc16ffb593690511d3559842f2a3ba9b0d430aca75e6d494aa56ff391b017141?
s=60&d=retro&r=g)

### 󠀁[no compatible](https://wordpress.org/support/topic/no-compatible-2/)󠁿

 [Gronix](https://profiles.wordpress.org/gronix/) 2017-يىلى 21-يانۋار 1 reply

This plugin is not compatible with current version of WordPress. Error: SharDB must
set a database connection for use with escaping.

![](https://secure.gravatar.com/avatar/b360a836bfe1338269ab5802c9cdbe24feb6c507296c02cf3a6075afec0ad476?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it is supposed to do](https://wordpress.org/support/topic/does-exactly-what-it-is-supposed-to-do/)󠁿

 [Robert](https://profiles.wordpress.org/robertgrinde/) 2016-يىلى 3-سېنتەبىر 2 replies

I moved from wpmudev’s multi-db plugin to this one and it worked right out of the
box!

 [ 4 باھالاشنىڭ ھەممىنى ئوقۇش ](https://wordpress.org/support/plugin/shardb/reviews/)

## تۆھپىكار ۋە ئىجادكار

«SharDB» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

 *   [ Ron Rennick ](https://profiles.wordpress.org/wpmuguru/)

[«SharDB» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/shardb)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/shardb/)، [SVN خەزىنە](https://plugins.svn.wordpress.org/shardb/)
تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/shardb/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/shardb/)گە 
مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 2.8.1

 * Fix MySQL FOUND_ROWS() support used for pagination.
 * Fix warnings.

#### 2.8

 * Add PHP7 support.
 * Fix warnings.
 * Test with WP 4.8

#### 2.7.7

 * Fixed button URLs in the migration screen.
 * Test with WP 3.6

#### 2.7.6

 * Fixed notices issued by PHP 5.4.
 * Added 3.3.X support.
 * Added support for BuddyPress 1.5 forums.
 * Dropped support for pre 3.2 WordPress.

#### 2.7.5

 * Added 3.1.X support.
 * Migration script.

#### 2.7.4

 * Added 3.0.X support.
 * Fixed warning.

#### 2.7.3

 * Added 2.9.1.1 comment meta support.

#### 2.7.2

 * Added dataset / partition to site admin blogs screen.

#### 2.7.1

 * Original version.

## Meta

 *  Version **2.7.7**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **12 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **10+**
 *  WordPress نەشرى ** 4.7 ياكى يۇقىرى **
 *  **4.8.28** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/shardb/)
 * بەلگە
 * [database](https://ug.wordpress.org/plugins/tags/database/)[multiple](https://ug.wordpress.org/plugins/tags/multiple/)
   [multisite](https://ug.wordpress.org/plugins/tags/multisite/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/shardb/advanced/)

## دەرىجە

 4/5 يۇلتۇز

 *  [  3 5-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=5)
 *  [  0 4-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=4)
 *  [  0 3-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=3)
 *  [  0 2-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=2)
 *  [  1 1-يۇلتۇز باھالاش     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/shardb/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/shardb/reviews/)

## تۆھپىكار

 *   [ Ron Rennick ](https://profiles.wordpress.org/wpmuguru/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/shardb/)