give example use cases

This commit is contained in:
Matthew Bucci
2023-11-09 18:02:06 -08:00
parent b66d747b21
commit 5b73c978e7

View File

@ -1,19 +1,13 @@
## PostgreSQL for WordPress (PG4WP)
### Contributors
Code originally by Hawk__ (http://www.hawkix.net/)
Modifications by @kevinoid and @mattbucci
PostgreSQL for WordPress is a special 'plugin' enabling WordPress to be used with a PostgreSQL database.
### Description
PostgreSQL for WordPress (PG4WP) gives you the possibility to install and use WordPress with a PostgreSQL database as a backend.
It works by replacing calls to MySQL specific functions with generic calls that maps them to another database functions and rewriting SQL queries on the fly when needed.
If you want to use this plugin, you should be aware of the following :
- WordPress with PG4WP is expected to be slower than the original WordPress with MySQL because PG4WP does much SQL rewriting for any page view
- Some WordPress plugins should work 'out of the box' but many plugins won't because they would need specific code in PG4WP
#### Use Cases
- Run Wordpress on your Existing Postgres Cluster
- Run Wordpress with Georeplication with a Multi-Active Postgres instalation such as EDB Postgres Distributed, or CockroachDB for a more resiliant Wordpress Infrastructure
### Design
@ -86,3 +80,7 @@ If you find a failing scenario please add a test for it, A PR which fixes a scen
PG4WP is provided "as-is" with no warranty in the hope it can be useful.
PG4WP is licensed under the [GNU GPL](http://www.gnu.org/licenses/gpl.html "GNU GPL") v2 or any newer version at your choice.
### Contributors
Code originally by Hawk__ (http://www.hawkix.net/)
Modifications by @kevinoid and @mattbucci