nhost查看中文加速指南
Nhost使用的PostgreSQL镜像,预安装多种扩展插件(如PostGIS、TimescaleDB、pgvector等),支持空间数据、时间序列、全文搜索等功能,适用于开发和生产环境的数据库部署。
2 次收藏下载次数: 0状态:社区镜像维护者:nhost仓库类型:镜像最近更新:
postgres
Plugins
| Name | Version | Comment |
|---|---|---|
| address_standardizer | 3.6.1 | Used to parse an address into constituent elements. Generally used to support geocoding address normalization step. |
| address_standardizer_data_us | 3.6.1 | Address Standardizer US dataset example |
| amcheck | 1.5 | functions for verifying relation integrity |
| autoinc | 1.0 | functions for autoincrementing fields |
| bloom | 1.0 | bloom access method - signature file based index |
| btree_gin | 1.3 | support for indexing common datatypes in GIN |
| btree_gist | 1.8 | support for indexing common datatypes in GiST |
| citext | 1.8 | data type for case-insensitive character strings |
| cube | 1.5 | data type for multidimensional cubes |
| dblink | 1.2 | connect to other PostgreSQL databases from within a database |
| dict_int | 1.0 | text search dictionary template for integers |
| dict_xsyn | 1.0 | text search dictionary template for extended synonym processing |
| earthdistance | 1.2 | calculate great-circle distances on the surface of the Earth |
| file_fdw | 1.0 | foreign-data wrapper for flat file access |
| fuzzystrmatch | 1.2 | determine similarities and distance between strings |
| hstore | 1.8 | data type for storing sets of (key, value) pairs |
| http | 1.7 | HTTP client for PostgreSQL, allows web page retrieval inside the database. |
| hypopg | 1.4.2 | Hypothetical indexes for PostgreSQL |
| insert_username | 1.0 | functions for tracking who changed a table |
| intagg | 1.1 | integer aggregator and enumerator (obsolete) |
| intarray | 1.5 | functions, operators, and index support for 1-D arrays of integers |
| ip4r | 2.4 | |
| isn | 1.3 | data types for international product numbering standards |
| lo | 1.2 | Large Object maintenance |
| ltree | 1.3 | data type for hierarchical tree-like structures |
| moddatetime | 1.0 | functions for tracking last modification time |
| pageinspect | 1.13 | inspect the contents of database pages at a low level |
| pg_buffercache | 1.6 | examine the shared buffer cache |
| pg_cron | 1.6 | Job scheduler for PostgreSQL |
| pg_freespacemap | 1.3 | examine the free space map (FSM) |
| pg_hashids | 1.3 | pg_hashids |
| pg_ivm | 1.13 | incremental view maintenance on PostgreSQL |
| pg_jsonschema | 0.3.3 | pg_jsonschema |
| pg_logicalinspect | 1.0 | functions to inspect logical decoding components |
| pg_prewarm | 1.2 | prewarm relation data |
| pg_repack | 1.5.3 | Reorganize tables in PostgreSQL databases with minimal locks |
| pg_search | 0.21.1 | pg_search: Full text search for PostgreSQL using BM25 |
| pg_squeeze | 1.9 | A tool to remove unused space from a relation. |
| pg_stat_statements | 1.12 | track planning and execution statistics of all SQL statements executed |
| pg_***ry | 1.0 | extension to perform ***ry on a damaged relation |
| pg_trgm | 1.6 | text similarity measurement and index searching based on trigrams |
| pg_visibility | 1.2 | examine the visibility map (VM) and page-level visibility info |
| pg_walinspect | 1.1 | functions to inspect contents of PostgreSQL Write-Ahead Log |
| pg*** | 1.4 | ***graphic functions |
| pgmq | 1.8.0 | A lightweight message queue. Like AWS SQS and RSMQ but on Postgres. |
| pgrouting | 4.0.0 | pgRouting Extension |
| pgrowlocks | 1.2 | show row-level locking information |
| pgstattuple | 1.5 | show tuple-level statistics |
| plpgsql | 1.0 | PL/pgSQL procedural language |
| postgis | 3.6.1 | PostGIS geometry and geography spatial types and functions |
| postgis_raster | 3.6.1 | PostGIS raster types and functions |
| postgis_tiger_geocoder | 3.6.1 | PostGIS tiger geocoder and reverse geocoder |
| postgis_topology | 3.6.1 | PostGIS topology spatial types and functions |
| postgres_fdw | 1.2 | foreign-data wrapper for remote PostgreSQL servers |
| refint | 1.0 | functions for implementing referential integrity (obsolete) |
| seg | 1.4 | data type for representing line segments or floating-point intervals |
| sslinfo | 1.2 | information about SSL certificates |
| tablefunc | 1.0 | functions that manipulate whole tables, including crosstab |
| tcn | 1.0 | Triggered change notifications |
| timescaledb | 2.24.0 | Enables scalable inserts and complex queries for time-series data |
| tsm_system_rows | 1.0 | TABLESAMPLE method which accepts number of rows as a limit |
| tsm_system_time | 1.0 | TABLESAMPLE method which accepts time in milliseconds as a limit |
| unaccent | 1.1 | text search dictionary that removes accents |
| uuid-ossp | 1.1 | generate universally unique identifiers (UUIDs) |
| vector | 0.8.1 | vector data type and ivfflat and hnsw access methods |
| xml2 | 1.2 | XPath querying and XSLT |
Options
Following env vars are available in the image (to be set in an Nhost cloud project via settings):
ARCHIVE_TIMEOUT=300 MAX_CONNECTIONS=100 SHARED_BUFFERS=128MB EFFECTIVE_CACHE_SIZE=4GB MAINTENANCE_WORK_MEM=64MB CHECKPOINT_COMPLETION_TARGET=0.9 WAL_BUFFERS=-1 DEFAULT_STATISTICS_TARGET=100 RANDOM_PAGE_COST=4.0 EFFECTIVE_IO_CONCURRENCY=1 WORK_MEM=4MB HUGE_PAGES=try MIN_WAL_SIZE=80MB MAX_WAL_SIZE=1GB MAX_WORKER_PROCESSES=8 MAX_PARALLEL_WORKERS_PER_GATHER=2 MAX_PARALLEL_WORKERS=8 MAX_PARALLEL_MAINTENANCE_WORKERS=2 JIT=on WAL_LEVEL=replica MAX_WAL_SENDERS=10 MAX_REPLICATION_SLOTS=10 TRACK_IO_TIMING=off
Following settings are available in the image but not directly configurable:
ARCHIVE_MODE=off ARCHIVE_COMMAND=wal-g wal-push %p RESTORE_COMMAND=wal-g wal-fetch %f %p CHECKPOINT_TIMEOUT=5min SYNCHRONOUS_COMMIT=on HOT_STANDBY=on PITR_TARGET_ACTION=shutdown PITR_TARGET_TIMELINE=latest
CHANGELOG
{16.11,17.7,18.1}-20260119-1
- Added support for PostgreSQL 18.1
- Removed build for PostgreSQL 14 and 15
- Updated extensions:
- pg_jsonschema: 0.3.3 → 0.4.0-rc1
- pg_search: 0.20.4 → 0.21.1
- Added new extensions:
- pgrouting: 4.0.0
{14.20,15.15,16.11,17.7}-20251217-1
- Updated postgres to 14.20, 15.15, 16.11 and 17.7
- Updated extensions:
- pg_cron: 1.6 → 1.6.7
- pg_ivm: 1.11 → 1.13
- pg_repack: 1.5.2 → 1.5.3
- pg_search: 0.17.2 → 0.20.4
- pg_squeeze: 1.8 → 1.9.1
- pgmq: 1.6.1 → 1.8.0
- postgis: 3.5.3 → 3.6.1
- timescaledb: 2.21.1 → 2.24.0
- vector: 0.8.0 → 0.8.1
{14.18,15.13,16.9,17.5}-20250728-1
- Updated postgres to 14.18, 15.13, 16.9 and 17.5
- Updated extensions:
- hypog: 1.4.1 → 1.4.2
- pg_ivm: 1.10 → 1.11
- pgmq: 1.5.1 → 1.6.1
- pgsql-http: 1.6.3 → 1.7.0
- postgis: 3.5.2 → 3.5.3
- timescaledb: 2.19.3 → 2.21.1
- New extensions:
- pg_search: 0.17.2
- New options:
- TRACK_IO_TIMING
{14.17,15.12,16.8,17.4}-20250530-1
- Fixes to http extension that caused issues when installing it for the first time under certain conditions
{14.17,15.12,16.8,17.4}-20250506-1
- Updated postgres to 14.17, 15.12, 16.8 and 17.4
- Updated extensions:
- earth_distance: 1.1 → 1.2
- pg_ivm: 1.9 → 1.10
- pgmq: 1.5.0 → 1.5.1
- timescaledb: 2.18.9 → 2.19.3
- Updated wal-g to 3.0.7
{14.15,15.10,16.6,17.2}-20250311-1
- Minor internal improvements
{14.15,15.10,16.6,17.2}-20250226-1
- Added support for PiTR
- Added WAL-G to the image
- Added following configurable environment variables:
- ARCHIVE_TIMEOUT
- added the following system environment variables:
- ARCHIVE_MODE
- ARCHIVE_COMMAND
- RESTORE_COMMAND
- CHECKPOINT_TIMEOUT
- SYNCHRONOUS_COMMIT
- HOT_STANDBY
- PITR_TARGET_ACTION
- PITR_TARGET_TIMELINE
{14.15,15.10,16.6,17.2}-20250131-1
- Added support for postgres 17.2
- Updated postgres to 14.15, 15.10, 16.6
- Updated extensions:
- address_standardizer: 3.5.0 → 3.5.2
- address_standardizer_data_us: 3.5.0 → 3.5.2
- amcheck: 1.3 → 1.4
- btree_gist: 1.6 → 1.7
- fuzzystrmatch: 1.1 → 1.2
- ltree: 1.2 → 1.3
- pageinspect: 1.9 → 1.12
- pg_buffercache: 1.3 → 1.5
- pg_repack: 1.5.1 → 1.5.2
- pg_squeeze: 1.7 → 1.8
- pg_stat_statements: 1.9 → 1.11
- pgmq: 1.4.5 → 1.5.0
- postgis: 3.5.0 → 3.5.2
- postgis_raster: 3.5.0 → 3.5.2
- postgis_tiger_geocoder: 3.5.0 → 3.5.2
- postgis_topology: 3.5.0 → 3.5.2
- timescaledb: 2.17.2 → 2.18.0
{14.13,15.8,16.4}-20250120-1
- fix: added pg_squeeze to shared_preload_libraries
{14.13,15.8,16.4}-20250117-1
- Refresh collation version on startup
- Added pgmq extension
{14.13,15.8,16.4}-20250108-1
- Added pg_jsonschema extension
{14.13,15.8,16.4}-20241126-1
- Added pg_repack extension
- Updated pgvector to 0.8.0
- Updated timescaledb to 2.17.2
- Updated postgis to 3.5.0
- Updated pg_squeeze to 1.7
{14.13,15.8,16.4}-20240930-1
- Added ip4r extension
{14.13,15.8,16.4}-20240918-1
- Added pg_ivm plugin
{14.13,15.8,16.4}-20240909-1
- Bump versions to 14.13, 15.8, 16.4
- fix: update timescaledb on startup if necessary
{14.11,15.6,16.2}-20240901-1
- Added pg_hashids plugin
- Added pg_squeeze plugin
- Updated pgvector to 0.7.4
- Updated timescaledb to 2.14.2
- Update hypopg to 1.4.1
{14.11,15.6,16.2}-20240717-1
- change default locales to UTF-8
{14.11,15.6,16.2}-20240515-1
- first multi-version image
14.11-20240515-1
- Build improvements to support multiple major versions
14.11-20240429-1
- Upgraded postgres to 14.11
14.6-20240422-1
- set search_path to public for auth/storage users
14.6-20240412-1
- amend permissions for auth/storage users so they can trigger events
- update pgvector to 0.6.2
- update timescaledb to 2.14.2
- update postgis to 3.4.2
14.6-20240129-1
- clean core dumps automatically
14.6-20231218-1
- Added wal settings
- plugins: upgraded to following versions:
- postgis: 3.4.1
14.6-20231031-1
- plugins: upgraded to following versions:
- pgvector: 0.5.1
- cron: 1.6.2
- timescaldb: 2.12.2
14.6-20231018-1
- cloud: minor internal improvements
- plugins: added pgsql-http plugin
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
docker pull nhost/postgres:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务