mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-23 04:27:11 +00:00
## Summary Complete RuVector-Postgres v2 implementation with all major features: - 148 pg_extern SQL functions across 27 source files - Docker Hub publication ready with multi-arch builds (PG14-17) - Full pgvector drop-in compatibility verified ## New Features - **Hybrid Search** (7 functions): BM25 + vector fusion with RRF/linear/learned - **Multi-Tenancy** (17 functions): Tenant isolation, RLS, quotas - **Self-Healing** (23 functions): Problem detection, remediation strategies - **Integrity Control** (4 functions): Mincut gating, contracted graphs - **Self-Learning** (10 functions): Query trajectory tracking, optimization ## Infrastructure - GitHub Actions workflow for Docker Hub publication - CI workflow for testing PG14-17 - Integration test Docker setup with baseline testing - Benchmark suite for e2e, hybrid, integrity testing ## Files Changed - New: src/healing/, src/hybrid/, src/integrity/, src/tenancy/, src/workers/ - New: sql/ruvector--2.0.0.sql (SQL migration) - New: docker/publish-dockerhub.sh, docker-compose.integration.yml - Updated: Dockerfile for PG17 default, multi-arch builds - Updated: HNSW/IVFFlat index access methods with full pgrx AM support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
81 lines
2.8 KiB
Text
81 lines
2.8 KiB
Text
# PostgreSQL Configuration for RuVector Development/Testing
|
|
# Optimized for vector operations and development workflow
|
|
|
|
# =============================================================================
|
|
# Memory Settings
|
|
# =============================================================================
|
|
shared_buffers = 256MB
|
|
effective_cache_size = 1GB
|
|
work_mem = 64MB
|
|
maintenance_work_mem = 256MB
|
|
|
|
# =============================================================================
|
|
# Checkpoint Settings
|
|
# =============================================================================
|
|
checkpoint_completion_target = 0.9
|
|
wal_buffers = 16MB
|
|
min_wal_size = 1GB
|
|
max_wal_size = 4GB
|
|
|
|
# =============================================================================
|
|
# Connection Settings
|
|
# =============================================================================
|
|
max_connections = 100
|
|
listen_addresses = '*'
|
|
|
|
# =============================================================================
|
|
# Logging
|
|
# =============================================================================
|
|
log_destination = 'stderr'
|
|
logging_collector = on
|
|
log_directory = 'log'
|
|
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
|
|
log_rotation_age = 1d
|
|
log_rotation_size = 100MB
|
|
log_min_messages = info
|
|
log_min_error_statement = error
|
|
log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
|
|
log_checkpoints = on
|
|
log_connections = on
|
|
log_disconnections = on
|
|
log_lock_waits = on
|
|
log_statement = 'ddl'
|
|
log_temp_files = 0
|
|
|
|
# =============================================================================
|
|
# Development Settings
|
|
# =============================================================================
|
|
# More verbose error messages for development
|
|
client_min_messages = notice
|
|
debug_print_parse = off
|
|
debug_print_rewritten = off
|
|
debug_print_plan = off
|
|
debug_pretty_print = on
|
|
|
|
# =============================================================================
|
|
# Performance Settings
|
|
# =============================================================================
|
|
random_page_cost = 1.1
|
|
effective_io_concurrency = 200
|
|
default_statistics_target = 100
|
|
|
|
# Enable parallel query
|
|
max_parallel_workers_per_gather = 2
|
|
max_parallel_workers = 4
|
|
max_parallel_maintenance_workers = 2
|
|
parallel_setup_cost = 100
|
|
parallel_tuple_cost = 0.01
|
|
|
|
# =============================================================================
|
|
# Extension Settings
|
|
# =============================================================================
|
|
# Preload shared libraries (if needed)
|
|
# shared_preload_libraries = ''
|
|
|
|
# =============================================================================
|
|
# JIT Settings
|
|
# =============================================================================
|
|
jit = on
|
|
jit_above_cost = 100000
|
|
jit_inline_above_cost = 500000
|
|
jit_optimize_above_cost = 500000
|