Title: SharDB
Author: Ron Rennick
Published: <strong>23 december 2009</strong>
Last modified: 29 juni 2014

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# SharDB

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

[Download](https://downloads.wordpress.org/plugin/shardb.2.8.1.zip)

 * [Details](https://nl.wordpress.org/plugins/shardb/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/shardb/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/shardb/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/shardb/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/shardb/)

## Beschrijving

Dit is bedoeld voor grotere installaties van WordPress Network met behulp van een
bestaande MD5 hash-structuur (multi-DB sharding) van 1-3 tekens (op basis van blog
id). Het ondersteunt 16, 256 of 4096 database shards. Het ondersteunt ook een afzonderlijke
database voor blog id 1 en meerdere VIP- databases (home & VIP-code bijdrage door
Luke Polen).

Het moet elke plug-in ondersteunen die werkt met (en toegang heeft tot alle gegevens
via) de normale WordPress databasecode .

Het is gebruikt om MU-versie 2.7.1 te gebruiken via WordPress 4.8 sites en om sites
te upgraden van 2.7.1 tot en met WordPress 4.8.

Een gedetailleerd [installatie gids](http://wpebooks.com/shardb-installation-guide/)
kan worden gekocht voor een nominale vergoeding.

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.

## Schermafbeeldingen

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

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

## Installatie

 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.  Instructies voor het toevoegen van VIP databases staan ​​onderaan 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.  Migreer je gegevens naar je DB shards met behulp van het SharDB migratiescherm
     onder Netwerkadmin -> Instellingen op de hoofd site.
 9.  upload db.php naar /wp-content/.

## FAQ

  Installatie instructies

 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.  Instructies voor het toevoegen van VIP databases staan ​​onderaan 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.  Migreer je gegevens naar je DB shards met behulp van het SharDB migratiescherm
     onder Netwerkadmin -> Instellingen op de hoofd site.
 9.  upload db.php naar /wp-content/.

## Beoordelingen

![](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/) 30 april 2019

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/) 21 januari 2017 1 reactie

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/) 3 september 2016 2 reacties

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

 [ Lees alle 4 beoordelingen ](https://wordpress.org/support/plugin/shardb/reviews/)

## Bijdragers & ontwikkelaars

“SharDB” is open source software. De volgende personen hebben bijgedragen aan deze
plugin.

Bijdragers

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

[Vertaal “SharDB” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/shardb)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/shardb/), haal de [SVN repository](https://plugins.svn.wordpress.org/shardb/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/shardb/)
via [RSS](https://plugins.trac.wordpress.org/log/shardb/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.8.1

 * Fix MySQL FOUND_ROWS() ondersteuning gebruikt voor paginering.
 * Fix warnings.

#### 2.8

 * Toegevoegd PHP7 ondersteuning.
 * Fix warnings.
 * Test met WP 4.8

#### 2.7.7

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

#### 2.7.6

 * Fixed notices issued by PHP 5.4.
 * Added 3.3.X support.
 * Toegevoegde ondersteuning voor BuddyPress 1.5 forums.
 * Ondersteuning opgeheven voor pre 3.2 WordPress.

#### 2.7.5

 * Toegevoegd 3.1.X ondersteuning.
 * Migratiescript.

#### 2.7.4

 * Ondersteuning 3.0.X toegevoegd.
 * Fixed warning.

#### 2.7.3

 * Toegevoegd 2.9.1.1 reactie meta ondersteuning.

#### 2.7.2

 * Toegevoegd dataset / partitie naar site beheer blogs scherm.

#### 2.7.1

 * Originele versie.

## Meta

 *  Versie **2.7.7**
 *  Laatst geüpdatet **12 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 4.7 of nieuwer **
 *  Getest t/m **4.8.30**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/shardb/)
 * Tags
 * [database](https://nl.wordpress.org/plugins/tags/database/)[multiple](https://nl.wordpress.org/plugins/tags/multiple/)
   [multisite](https://nl.wordpress.org/plugins/tags/multisite/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/shardb/advanced/)

## Waarderingen

 4 van 5 sterren.

 *  [  3 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=2)
 *  [  1 1 ster beoordeling     ](https://wordpress.org/support/plugin/shardb/reviews/?filter=1)

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/shardb/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/shardb/)