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.

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 kan worden gekocht voor een nominale vergoeding.

This plugin is based on HyperDB which is the database plugin used by WordPress.com. Like HyperDB, this plugin autodetects whether a query is requesting a global or blog table.

Schermafdrukken

  • 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:
    1. your databases all have the same database server, user & password.
    2. your blog shard databases are named according to the same prefix and a suffix of md5 hash, global, home or vipX.
  2. Instructies voor het toevoegen van VIP databases staan ​​onderaan db-settings.php.
  3. Once finished editing db-setting.php upload it to the same folder as wp-config.php for your WordPress install.
  4. Edit your wp-config.php and add the following line after the database settings are defined:
    require_once(‘db-settings.php’);
  5. upload shardb-admin.php to /wp-content/plugins/.
  6. Network activate the SharDB admin tools in Network Admin -> Plugins.
  7. Migreer je gegevens naar je DB shards met behulp van het SharDB migratiescherm onder Netwerkadmin -> Instellingen op de hoofd site.
  8. 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:
    1. your databases all have the same database server, user & password.
    2. your blog shard databases are named according to the same prefix and a suffix of md5 hash, global, home or vipX.
  2. Instructies voor het toevoegen van VIP databases staan ​​onderaan db-settings.php.
  3. Once finished editing db-setting.php upload it to the same folder as wp-config.php for your WordPress install.
  4. Edit your wp-config.php and add the following line after the database settings are defined:
    require_once(‘db-settings.php’);
  5. upload shardb-admin.php to /wp-content/plugins/.
  6. Network activate the SharDB admin tools in Network Admin -> Plugins.
  7. Migreer je gegevens naar je DB shards met behulp van het SharDB migratiescherm onder Netwerkadmin -> Instellingen op de hoofd site.
  8. upload db.php naar /wp-content/.

Beoordelingen

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
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.
Lees alle 4 beoordelingen

Bijdragers & ontwikkelaars

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

Bijdragers

Vertaal “SharDB” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via 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.