Skip to content

Commit

Permalink
Bump to 9.2 (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonels-msft committed Feb 20, 2020
1 parent 5d55387 commit 6590e05
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 21 deletions.
12 changes: 6 additions & 6 deletions admin_guide/upgrading_citus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ Upgrading the Citus version requires first obtaining the new Citus extension and
Patch Version Upgrade
---------------------

To upgrade a Citus version to its latest patch, issue a standard upgrade command for your package manager. Assuming version 9.1 is currently installed on Postgres 11:
To upgrade a Citus version to its latest patch, issue a standard upgrade command for your package manager. Assuming version 9.2 is currently installed on Postgres 11:

**Ubuntu or Debian**

.. code-block:: bash
sudo apt-get update
sudo apt-get install --only-upgrade postgresql-11-citus-9.1
sudo apt-get install --only-upgrade postgresql-11-citus-9.2
sudo service postgresql restart
**Fedora, CentOS, or Red Hat**

.. code-block:: bash
sudo yum update citus91_11
sudo yum update citus92_11
sudo service postgresql-11.0 restart
.. _major_minor_upgrade:
Expand All @@ -48,22 +48,22 @@ Each major and minor version of Citus is published as a package with a separate
Step 1. Update Citus Package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If upgrading both Citus and Postgres, always be sure to upgrade the Citus extension first, and the PostgreSQL version second (see :ref:`upgrading_postgres`). Here is how to do a Citus upgrade from 8.3 to 9.1:
If upgrading both Citus and Postgres, always be sure to upgrade the Citus extension first, and the PostgreSQL version second (see :ref:`upgrading_postgres`). Here is how to do a Citus upgrade from 8.3 to 9.2

**Ubuntu or Debian**

.. code-block:: bash
sudo apt-get update
sudo apt-get install postgresql-11-citus-9.1
sudo apt-get install postgresql-11-citus-9.2
sudo service postgresql restart
**Fedora, CentOS, or Red Hat**

.. code-block:: bash
# Fedora, CentOS, or Red Hat
sudo yum swap citus83_11 citus91_11
sudo yum swap citus83_11 citus92_11
sudo service postgresql-11 restart
Step 2. Apply Update in DB
Expand Down
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = '9.1'
version = '9.2'
# The full version, including alpha/beta/rc tags.
release = '9.1'
release = '9.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
8 changes: 4 additions & 4 deletions extra/enterprise.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Ubuntu or Debian with Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
# install the server and initialize db
sudo apt-get install -y postgresql-12-citus-enterprise-9.1
sudo apt-get install -y postgresql-12-citus-enterprise-9.2
# preload citus extension
sudo pg_conftool 12 main set shared_preload_libraries citus
Expand All @@ -47,7 +47,7 @@ Ubuntu or Debian without Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
sudo apt-get clean
sudo apt-get install -y --download-only postgresql-12-citus-enterprise-9.1
sudo apt-get install -y --download-only postgresql-12-citus-enterprise-9.2
# go to package downloads
cd /var/cache/apt
Expand Down Expand Up @@ -89,7 +89,7 @@ Fedora, CentOS, or Red Hat with Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
# install PostgreSQL with Citus extension
sudo yum install -y citus-enterprise91_12
sudo yum install -y citus-enterprise92_12
# initialize system database (using RHEL 6 vs 7 method as necessary)
sudo service postgresql-12 initdb || \
Expand All @@ -114,7 +114,7 @@ Fedora, CentOS, or Red Hat without Internet Access
sudo CITUS_REPO_TOKEN=XYZ bash
# get package
sudo yum install --downloadonly --downloaddir=. citus-enterprise91_12
sudo yum install --downloadonly --downloaddir=. citus-enterprise92_12
# put them into a tarball
tar czf ~/citus-enterprise.tar.gz *.rpm
Expand Down
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Citus Documentation
===================

Welcome to the documentation for Citus 9.1! Citus horizontally scales PostgreSQL across commodity servers using sharding and replication. Its query engine parallelizes incoming SQL queries across these servers to enable real-time responses on large datasets.
Welcome to the documentation for Citus 9.2! Citus horizontally scales PostgreSQL across commodity servers using sharding and replication. Its query engine parallelizes incoming SQL queries across these servers to enable real-time responses on large datasets.

.. raw:: html

Expand Down
2 changes: 1 addition & 1 deletion installation/multi_machine_debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Steps to be executed on all nodes
::

# install the server and initialize db
sudo apt-get -y install postgresql-12-citus-9.1
sudo apt-get -y install postgresql-12-citus-9.2

# preload citus extension
sudo pg_conftool 12 main set shared_preload_libraries citus
Expand Down
2 changes: 1 addition & 1 deletion installation/multi_machine_rhel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Steps to be executed on all nodes
::

# install PostgreSQL with Citus extension
sudo yum install -y citus91_12
sudo yum install -y citus92_12
# initialize system database (using RHEL 6 vs 7 method as necessary)
sudo service postgresql-12 initdb || sudo /usr/pgsql-12/bin/postgresql-12-setup initdb
# preload citus extension
Expand Down
2 changes: 1 addition & 1 deletion installation/single_machine_debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This section describes the steps needed to set up a single-node Citus cluster on
curl https://install.citusdata.com/community/deb.sh | sudo bash

# install the server and initialize db
sudo apt-get -y install postgresql-12-citus-9.1
sudo apt-get -y install postgresql-12-citus-9.2


.. _post_install:
Expand Down
2 changes: 1 addition & 1 deletion installation/single_machine_rhel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This section describes the steps needed to set up a single-node Citus cluster on
curl https://install.citusdata.com/community/rpm.sh | sudo bash

# install Citus extension
sudo yum install -y citus91_12
sudo yum install -y citus92_12

.. _post_install:

Expand Down
2 changes: 1 addition & 1 deletion use_cases/multi_tenant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -513,4 +513,4 @@ Where to Go From Here

With this, you now know how to use Citus to power your multi-tenant application for scalability. If you have an existing schema and want to migrate it for Citus, see :ref:`Multi-Tenant Transitioning <transitioning_mt>`.

To adjust a front-end application, specifically Ruby on Rails or Django, read :ref:`rails_migration` or :ref:`django_migration`. Finally, try :ref:`Azure Database for PostgreSQL - Hyperscale (Citus) <https://docs.microsoft.com/en-us/azure/postgresql/quickstart-create-hyperscale-portal>`, the easiest way to manage a Citus cluster.
To adjust a front-end application, specifically Ruby on Rails or Django, read :ref:`rails_migration` or :ref:`django_migration`. Finally, try `Azure Database for PostgreSQL - Hyperscale (Citus) <https://docs.microsoft.com/en-us/azure/postgresql/quickstart-create-hyperscale-portal>`_, the easiest way to manage a Citus cluster.
3 changes: 0 additions & 3 deletions use_cases/realtime_analytics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,6 @@ to enable it:

.. code-block:: sql
--------------------------------------------------------
-- Run on all nodes ------------------------------------
CREATE EXTENSION hll;
.. note::
Expand Down

0 comments on commit 6590e05

Please sign in to comment.