Skip to content

Commit

Permalink
docs: Add PostgreSQL installation instructions to README files
Browse files Browse the repository at this point in the history
- Include pip install command for PostgreSQL support in English, Chinese, and Japanese READMEs
- Clarify PostgreSQL package installation requirement for Pensieve
  • Loading branch information
arkohut committed Feb 21, 2025
1 parent ec169fb commit 805c4d9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ On Mac, Pensieve needs screen recording permission. When the program starts, Mac

## 🚀 Using PostgreSQL Database

To use PostgreSQL with Pensieve, you need to install the package with PostgreSQL support:

```sh
pip install memos[postgresql]
```

Starting from version `v0.25.4`, Pensieve fully supports using PostgreSQL as the backend database. Compared to SQLite, PostgreSQL can maintain excellent retrieval performance even with large data volumes.

If your screenshot data is large or you require high retrieval response speed, it is strongly recommended to use PostgreSQL as the backend database.
Expand Down
6 changes: 6 additions & 0 deletions README_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ Macでは、Pensieveはスクリーンレコーディングの権限が必要で

## 🚀 PostgreSQLデータベースの使用

PostgreSQLをPensieveで使用するには、PostgreSQLサポート付きのパッケージをインストールする必要があります:

```sh
pip install memos[postgresql]
```

バージョン `v0.25.4` から、PensieveはバックエンドデータベースとしてPostgreSQLの完全なサポートを開始しました。SQLiteと比較して、PostgreSQLは大規模なデータ量でも優れた検索性能を維持できます。

スクリーンショットデータが大きい場合や、高速な検索応答速度が必要な場合は、バックエンドデータベースとしてPostgreSQLを使用することを強くお勧めします。
Expand Down
6 changes: 6 additions & 0 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ memos start

## 🚀 使用 PostgreSQL 数据库

要在 Pensieve 中使用 PostgreSQL,您需要安装支持 PostgreSQL 的软件包:

```sh
pip install memos[postgresql]
```

`v0.25.4` 版本开始,Pensieve 开始完整支持使用 PostgreSQL 作为后端数据库。相比 SQLite,PostgreSQL 在数据规模较大时依然可以获取非常好的检索性能。

如果你的截图数据规模较大,或者对检索响应速度有较高要求,强烈建议使用 PostgreSQL 作为后端数据库。
Expand Down

0 comments on commit 805c4d9

Please sign in to comment.