Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG-1214 Documented install and enable pgvector steps #680

Merged
merged 1 commit into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/apt.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,16 @@ Run all the commands in the following sections as root or using the `sudo` comma

Install `pg_gather`


```{.bash data-prompt="$"}
$ sudo apt install percona-pg-gather
```

Install `pgvector`

```{.bash data-prompt="$"}
$ sudo apt install percona-postgresql-{{pgversion}}-pgvector
```

Some extensions require additional setup in order to use them with Percona Distribution for PostgreSQL. For more information, refer to [Enabling extensions](enable-extensions.md).

### Start the service
Expand Down
14 changes: 11 additions & 3 deletions docs/enable-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Some components require additional configuration before using them with Percona

## Patroni

Patroni is the third-party high availability solution for PostgreSQL. The [High Availability in PostgreSQL with Patroni](solutions/high-availability.md) chapter provides details about the solution overview and architecture deployment.
Patroni is the high availability solution for PostgreSQL. The [High Availability in PostgreSQL with Patroni](solutions/high-availability.md) chapter provides details about the solution overview and architecture deployment.

While setting up a high availability PostgreSQL cluster with Patroni, you will need the following components:

Expand All @@ -14,7 +14,7 @@ While setting up a high availability PostgreSQL cluster with Patroni, you will n

- [HAProxy :octicons-link-external-16:](http://www.haproxy.org/).

If you install the software fom packages, all required dependencies and service unit files are included. If you [install the software from the tarballs](tarball.md), you must first enable `etcd`. See the steps in the [etcd](#etcd) section if this document.
If you install the software fom packages, all required dependencies and service unit files are included. If you [install the software from the tarballs](tarball.md), you must first enable `etcd`. See the steps in the [etcd](#etcd) section in this document.

See the configuration guidelines for [Debian and Ubuntu](solutions/ha-setup-apt.md) and [RHEL and CentOS](solutions/ha-setup-yum.md).

Expand Down Expand Up @@ -125,7 +125,7 @@ $ pgpool -f <config-gile-path>/pgpool.conf

## pg_stat_monitor

Please refer to [`pg_stat_monitor`](pg-stat-monitor.md#setup) for setup steps.
Please refer to [`pg_stat_monitor`](https://docs.percona.com/pg-stat-monitor/setup.html) for setup steps.

## wal2json

Expand All @@ -137,6 +137,14 @@ wal_level = logical

Start / restart the server to apply the changes.

## pgvector

To get started, enable the extension for the database where you want to use it:

```sql
CREATE EXTENSION vector;
```

## Next steps

[Connect to PostgreSQL :material-arrow-right:](connect.md){.md-button}
Expand Down
6 changes: 6 additions & 0 deletions docs/yum.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,12 @@ $ sudo yum -y install curl
$ sudo yum install percona-pgpool-II-pg{{pgversion}}
```

Install pgvector package suite:

```{.bash data-prompt="$"}
$ sudo yum install percona-pgvector_{{pgversion}} percona-pgvector_{{pgversion}}-debuginfo percona-pgvector_{{pgversion}}-debugsource percona-pgvector_{{pgversion}}-llvmjit
```

Some extensions require additional setup in order to use them with Percona Distribution for PostgreSQL. For more information, refer to [Enabling extensions](enable-extensions.md).

### Start the service
Expand Down