ZomboDB is a 100% native Postgres extension. Additionally, ZomboDB is available as binary .deb
and .rpm
packages to
sponsors for popular Linux distributions. As such, installation is fairly straightforward.
If you instead prefer to install ZomboDB from source, please read the [SOURCE-INSTALLATION.md] documentation.
Download the proper .rpm
package for your CentOS/RHEL distro from https://www.zombodb.com/${your_download_key}/, and simply run:
$ rpm -Uvh zombodb_centos_7_pg10-1.0.0_x86_64.rpm
Download the proper .deb
package for your Ubuntu/Debian distro from https://www.zombodb.com/${your_download_key}/, and simply run:
$ dpkg -i zombodb_ubuntu_xenial_pg10-1.0.0_amd64.deb
Please see the source installation documentation.
postgresql.conf
Settings to ConsiderZomboDB defaults to zero Elasticsearch index replicas. If you're installing for a production system you might consider setting zdb.default_replicas
to a better value.
You might also consider setting zdb.default_elasticsearch_url
.
Both of these values can be set per index, so they're not strictly necessary to set in postgresql.conf
.
Make sure to read about ZomboDB's configuration settings and its index options.
Once installed, ensure Postgres is running (it does not need to be restarted). Then you can create a test database and create the ZomboDB extension.
Note that a Postgres "superuser" must issue the CREATE EXTENSION zombodb;
statement.
$ createdb zdb_test
$ psql zdb_test
psql (10.1)
Type "help" for help.
zdb_test=# CREATE EXTENSION zombodb;
CREATE EXTENSION
When a new ZomboDB version is released and you need to upgrade you should first ensure you have exclusive access to all databases that use ZomboDB -- in other words, make sure there are no active connections.
Once confirmed, you can simply install the new .deb
or .rpm
package then for each database that has the ZomboDB extension installed, simply run:
ALTER EXTENSION zombodb UPDATE;
There will be no need to restart Postgres.
While it is unlikely, should a ZomboDB version upgrade require that indices be REINDEX
ed, that will be noted in the release notes for that version.
Keep in mind that ZomboDB requires Elasticsearch 5.6+ or 6.x.
Detailed advice about managing and configuring Elasticsearch clusters is outside the scope of this document, however commercial support can be purchased from ZomboDB, LLC. Feel free to contact us via https://www.zombodb.com/services.
That said, ZomboDB has been tested against various cloud-hosted Elasticsearch providers such as Bonsai (https://bonsai.io) and Elastic's own Elasticsearch Service. ZomboDB can also be used with your own internally-managed Elasticsearch clusters.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。