이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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 can be purchased for a nominal fee.

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.

스크린샷

  • 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:
    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. Instructions for adding VIP databases are at the bottom of 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. Migrate your data to your DB shards using the SharDB migration screen under Network Admin -> Settings on the main site.
  8. 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:
    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. Instructions for adding VIP databases are at the bottom of 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. Migrate your data to your DB shards using the SharDB migration screen under Network Admin -> Settings on the main site.
  8. upload db.php to /wp-content/.

후기

2019년 4월 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
2017년 1월 21일 답글 1개
This plugin is not compatible with current version of WordPress. Error: SharDB must set a database connection for use with escaping.
모든 4 평가 읽기

기여자 & 개발자

“SharDB”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “SharDB”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.