Skip to content

Commit 4166802

Browse files
authored
0.5.3 (#145)
Signed-off-by: usamoi <usamoi@outlook.com>
1 parent dfa99f0 commit 4166802

File tree

6 files changed

+26
-34
lines changed

6 files changed

+26
-34
lines changed

src/vectorchord/admin/kubernetes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ ttensorchord=> \dx
150150
Name | Version | Schema | Description
151151
---------+---------+------------+---------------------------------------------------------------------------------------------
152152
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
153-
vchord | 0.5.2 | public | vchord: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
153+
vchord | 0.5.3 | public | vchord: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
154154
vector | 0.8.1 | public | vector data type and ivfflat and hnsw access methods
155155
(3 rows)
156156
```

src/vectorchord/admin/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ postgres=# \dx
7575
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
7676
vchord | 0.1.0 | public | vchord: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
7777
vector | 0.8.0 | public | vector data type and ivfflat and hnsw access methods
78-
vectors | 0.5.2 | vectors | vectors: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
78+
vectors | 0.4.0 | vectors | vectors: Vector database plugin for Postgres, written in Rust, specifically designed for LLM
7979
```
8080
8181
:::

src/vectorchord/getting-started/installation.md

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
VectorChord is tested on the following operating system:
44

55
* Ubuntu (x86_64, aarch64)
6-
* MacOS (aarch64)
6+
* MacOS (x86_64, aarch64)
77
* Windows (x86_64)
88
* Alpine Linux (x86_64, aarch64) [^1]
99
* Debian (powerpc64le, s390x, riscv64) [^2]
1010

1111
[^1]: VectorChord is tested with PostgreSQL 15 in `community` repository, 16 and 17 in `main` repository on Alpine Linux 3.22.
12-
[^2]: VectorChord is tested with PostgreSQL 13, 14, 15, 16, and 17 in PostgreSQL's official repository on `powerpc64le`, and PostgreSQL 15 and 17 in Debian's official repository on `s390x` and `riscv64`, with QEMU user space emulator.
12+
[^2]: VectorChord is tested with PostgreSQL 13, 14, 15, 16, 17 and 18 in PostgreSQL's official repository on `powerpc64le`, and PostgreSQL 15 and 17 in Debian's official repository on `s390x` and `riscv64`, with QEMU user space emulator.
1313

1414
Please report a bug if you encounter issues on any of the above operating systems, or submit a feature request for additional platform support.
1515

@@ -28,7 +28,7 @@ docker run \
2828
--name vchord-demo \
2929
-e POSTGRES_PASSWORD=mysecretpassword \
3030
-p 5432:5432 \
31-
-d tensorchord/vchord-postgres:pg17-v0.5.2
31+
-d tensorchord/vchord-postgres:pg18-v0.5.3
3232
```
3333

3434
2. Connect to the database using the `psql` command line tool. The default username is `postgres`.
@@ -96,8 +96,8 @@ If you have not installed PostgreSQL yet, please install PostgreSQL. If you have
9696
1. Download the source code, build and install it with `make`.
9797

9898
```sh
99-
curl -fsSL https://github.com/tensorchord/VectorChord/archive/refs/tags/0.5.2.tar.gz | tar -xz
100-
cd VectorChord-0.5.2
99+
curl -fsSL https://github.com/tensorchord/VectorChord/archive/refs/tags/0.5.3.tar.gz | tar -xz
100+
cd VectorChord-0.5.3
101101
make build
102102
make install # or `sudo make install`
103103
```
@@ -139,34 +139,21 @@ Please note that binaries generated with a specific `target-cpu` are not compati
139139
You can also do it by using Cargo's configuration.
140140

141141
```sh
142-
cd VectorChord-0.5.2
142+
cd VectorChord-0.5.3
143143
mkdir -p .cargo
144144
touch .cargo/config.toml
145145
echo 'build.rustflags = ["-Ctarget-cpu=icelake"]' >> ./cargo/config.toml
146146
```
147147

148-
### s390x
149-
150-
This section applies only to version 0.5.1 and 0.5.2 and may change in the next version.
151-
152-
When the target is S390X, you need to use the patch we provide for the upstream crate. You can do it by using Cargo's configuration.
153-
154-
```sh
155-
cd VectorChord-0.5.2
156-
mkdir -p .cargo
157-
touch .cargo/config.toml
158-
echo 'patch.crates-io.pgrx = { git = "https://github.com/tensorchord/pgrx.git", branch = "big-endian" }' >> ./cargo/config.toml
159-
```
160-
161148
## Debian
162149

163150
If you have not installed PostgreSQL yet, please install PostgreSQL following https://www.postgresql.org/download/linux/debian/. If you have not installed pgvector yet, you could install pgvector by `apt install postgresql-17-pgvector` before the 3rd step.
164151

165152
1. Download Debian packages in [the release page](https://github.com/tensorchord/VectorChord/releases/latest), and install them by `apt`.
166153

167154
```sh
168-
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.2/postgresql-17-vchord_0.5.2-1_$(dpkg --print-architecture).deb
169-
sudo apt install ./postgresql-17-vchord_0.5.2-1_$(dpkg --print-architecture).deb
155+
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.3/postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
156+
sudo apt install ./postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
170157
```
171158

172159
2. Configure your PostgreSQL by modifying the `shared_preload_libraries` to include the extension. And then restart the PostgreSQL cluster.
@@ -189,8 +176,8 @@ If you have not installed PostgreSQL yet, please install PostgreSQL following ht
189176
1. Download Debian packages in [the release page](https://github.com/tensorchord/VectorChord/releases/latest), and install them by `apt`.
190177

191178
```sh
192-
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.2/postgresql-17-vchord_0.5.2-1_$(dpkg --print-architecture).deb
193-
sudo apt install ./postgresql-17-vchord_0.5.2-1_$(dpkg --print-architecture).deb
179+
wget https://github.com/tensorchord/VectorChord/releases/download/0.5.3/postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
180+
sudo apt install ./postgresql-17-vchord_0.5.3-1_$(dpkg --print-architecture).deb
194181
```
195182

196183
2. Configure your PostgreSQL by modifying the `shared_preload_libraries` to include the extension. And then restart the PostgreSQL cluster.

src/vectorchord/getting-started/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ docker run \
3737
--name vectorchord-demo \
3838
-e POSTGRES_PASSWORD=mysecretpassword \
3939
-p 5432:5432 \
40-
-d tensorchord/vchord-postgres:pg17-v0.5.2
40+
-d tensorchord/vchord-postgres:pg18-v0.5.3
4141
```
4242
> In addition to the base image with the VectorChord extension, we provide an all-in-one image, `tensorchord/vchord-suite:pg17-latest`. This comprehensive image includes all official TensorChord extensions. Developers should select an image tag that is compatible with their extension's version, as indicated in [the support matrix](https://github.com/tensorchord/VectorChord-images?tab=readme-ov-file#support-matrix).
4343

src/vectorchord/usage/indexing.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ The operator classes for `MaxSim` are available since version `0.3.0`.
156156
- `build.pin = false` means that shared memory is not used.
157157
- `build.pin = true` means that shared memory is used.
158158

159+
### Default Build Options <badge type="tip" text="since v0.5.3" />
160+
161+
This is the default value of index building. The index will not be partitioned. In terms of semantics, `build.default = {}` is similar to `build.internal.lists = []`.
162+
159163
### Internal Build Options <badge type="info" text="vchordrq" />
160164

161165
#### `build.internal.lists`

src/vectorchord/usage/monitoring.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ SELECT command, phase, round(100.0 * blocks_done / nullif(blocks_total, 0), 1) A
1212

1313
There are 5 steps in the index construction process of `vchordrq`. The phase name of each step are as follows:
1414

15-
| Step | Message | Description | Waiting time |
16-
| ---- | --------------------------------------- | --------------------------------------------------------------------------------------------------- | ------------ |
17-
| 1 | `initializing` | Start building index | Short |
18-
| 2 | `initializing index, by internal build` | This step is only for internal build. It involves performing K-means clustering to obtain centroids | Long |
19-
| 2 | `initializing index, by external build` | This step is only for external build. It loads centroids from a specified table | Short |
20-
| 3 | `initializing index` | Initialize the data structure and storage of the index | Short |
21-
| 4 | `inserting tuples from table to index` | Assign all vectors to their corresponding lists | Long |
22-
| 5 | `compacting tuples in index` | Optimize the structure of the vector index to enhance performance | Medium |
15+
| Step | Message | Description | Waiting time |
16+
| ---- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------ |
17+
| 1 | `initializing` | Start building index | Short |
18+
| 2 | `initializing index, by default build` | This step is only for default build | Short |
19+
| 2 | `initializing index, by internal build` | This step is only for internal build. It involves table sampling and performing K-means clustering to obtain centroids | Long |
20+
| 2 | `initializing index, by external build` | This step is only for external build. It loads centroids from a specified table | Short |
21+
| 3 | `initializing index` | Initialize the data structure and storage of the index | Short |
22+
| 4 | `inserting tuples from table to index` | Assign all vectors to their corresponding lists | Long |
23+
| 5 | `compacting tuples in index` | Optimize the structure of the vector index to enhance performance | Medium |
2324

2425
The 4th step, `inserting tuples from table to index`, takes up the majority of the time during index construction. The `tuples_done`, `blocks_done` and `blocks_total` columns indicate the progress of this step.
2526

0 commit comments

Comments
 (0)