1110 Commits
Author SHA1 Message Date
Andrew Kane d2e09fd707 Fixed compilation on Mac [skip ci] 2026-11-22 00:16:31 -08:00
Andrew Kane 08ed8da396 Updated style [skip ci] 2026-11-21 22:08:50 -08:00
Andrew Kane 6ed17ddfc3 Revert "Switched to two accumulators [skip ci]"
This reverts commit 34cecba469.
2026-11-21 22:08:31 -08:00
Andrew Kane 34cecba469 Switched to two accumulators [skip ci] 2026-11-21 22:06:12 -08:00
Andrew Kane e21c3f3cf6 Improved performance of bit distance functions with SVE [skip ci] 2026-11-21 21:53:44 -08:00
Andrew Kane 412eb6940a Reordered distance functions [skip ci] 2026-11-21 18:32:04 -08:00
Andrew Kane 07051c5fc9 Improved performance of bit distance functions with SVE [skip ci] 2026-11-21 18:01:39 -08:00
Andrew Kane 6e28bc7fe1 Improved performance of halfvec distance functions with F16C [skip ci] 2026-11-21 17:22:24 -08:00
Andrew Kane 40777a2f5e Switched to arch=x86-64-v* targets when available [skip ci] 2026-11-21 17:07:55 -08:00
Andrew Kane 13f13fb6bb Improved performance of vector distance functions with AVX-512F [skip ci] 2026-11-21 17:01:38 -08:00
Andrew Kane 17735ba8ba Fixed compilation error with Postgres 20 [skip ci] 2026-11-21 16:05:34 -08:00
Andrew Kane ad2bab6c72 Moved vector and sparsevec distance functions to separate files 2026-11-21 15:58:44 -08:00
Andrew Kane 088c4f6236 Switched to ereport for debug messages [skip ci] 2026-11-18 01:30:54 -08:00
Andrew Kane b2e286798e Improved naming [skip ci] 2026-11-17 23:08:18 -08:00
Andrew Kane cbaee2938f Updated CompareLists to use CompareListsSort [skip ci] 2026-11-17 22:59:05 -08:00
Andrew Kane d40e365b11 Added debug message when IVFFlat index scan no longer fits into work_mem [skip ci] 2026-11-17 22:29:32 -08:00
Andrew Kane 2ba3dddabf Revert "Moved sort state reset [skip ci]"
This reverts commit fc18b30967.
2026-11-17 22:16:46 -08:00
Andrew Kane fc18b30967 Moved sort state reset [skip ci] 2026-11-17 22:15:54 -08:00
Andrew Kane 461c8813ab Switched to lazy initialization for sort state [skip ci] 2026-11-17 22:11:38 -08:00
Andrew KaneandWaterpine a2328b7bd3 Improved performance of IVFFlat index scans - resolves #1058
Co-authored-by: Waterpine <songb@nvidia.com>
2026-11-17 21:45:02 -08:00
Andrew Kane e6b1ba6bfa Moved all IVFFlat sort initialization into InitScanSortState [skip ci] 2026-11-17 16:25:48 -08:00
Andrew Kane 9612cc159e Moved getting next IVFFlat index scan tuple to separate function [skip ci] 2026-11-17 16:16:19 -08:00
Andrew KaneandWaterpine 2cb20b5781 Moved collecting IVFFlat index scan tuples to separate function - #1058 [skip ci]
Co-authored-by: Waterpine <songb@nvidia.com>
2026-11-17 16:09:33 -08:00
Andrew Kane 188341cd76 Reset lists count [skip ci] 2026-11-17 15:20:49 -08:00
Andrew Kane b3dfd925fa Added assertion to GetScanLists [skip ci] 2026-11-17 13:41:38 -08:00
Andrew Kane 3ab695b372 Improved comparision [skip ci] 2026-11-17 13:28:36 -08:00
Andrew Kane afb9c8ee17 Added separate field to track lists count for hardening [skip ci] 2026-11-17 13:25:41 -08:00
Andrew Kane 5d92b75fee Removed unused argument from pairingheap_allocate [skip ci] 2026-11-17 13:00:11 -08:00
Andrew Kane 575667e222 Reordered code for IVFFlat index scan [skip ci] 2026-11-17 12:56:49 -08:00
Andrew Kane 31788074b2 Improved naming [skip ci] 2026-11-17 12:47:59 -08:00
Andrew Kane 7b3b811de2 Updated tuplesort_begin_heap calls [skip ci] 2026-11-17 01:50:10 -08:00
Andrew KaneandLukas Fittl 9f973cd95f Fixed broken HOT chain handling in parallel index builds
Co-authored-by: Lukas Fittl <lukas@fittl.com>
2026-11-16 18:10:19 -08:00
Andrew KaneandLukas Fittl a036566985 Fixed worker query_id in pg_stat_activity for parallel index builds
Co-authored-by: Lukas Fittl <lukas@fittl.com>
2026-11-16 17:56:21 -08:00
Andrew Kane 9f2d5851b3 Added worker WAL and buffer usage for parallel index builds
Reported-by: Lukas Fittl <lukas@fittl.com>
2026-11-16 17:35:14 -08:00
Andrew Kane 10a73eceef Removed random macros [skip ci] 2026-11-13 21:21:13 -08:00
Andrew Kane ba42ccc3fe Hardened dimension checks [skip ci] 2026-11-13 19:01:48 -08:00
Andrew Kane 3a6c970e86 Hardened build dimensions check [skip ci] 2026-11-13 18:51:12 -08:00
Andrew Kane 568fea3ab6 Hardened VectorArray functions [skip ci] 2026-11-12 22:25:39 -08:00
Andrew Kane 354cfe066d Consolidated functions [skip ci] 2026-11-12 16:17:23 -08:00
Andrew Kane 0d519698cc Removed dimensions from VectorArray [skip ci] 2026-11-12 16:09:45 -08:00
Andrew Kane 66accb3af6 Switched to pause and resume for IVFFlat index scans for Postgres 19 [skip ci] 2026-11-10 23:47:38 -08:00
Andrew Kane e962accee8 Added asynchronous I/O for IVFFlat indexes for Postgres 17 [skip ci] 2026-11-10 23:34:57 -08:00
Andrew Kane a7f9f19cd4 Moved fields [skip ci] 2026-11-08 23:06:52 -08:00
Andrew Kane d34e9d13ee Added asynchronous I/O for IVFFlat indexes 2026-11-08 22:28:00 -08:00
Andrew Kane 574d711d06 Switched to buffer access strategy from IndexVacuumInfo for vacuuming [skip ci] 2026-11-08 18:19:39 -08:00
Andrew KaneandKonstantin Knizhnik 168c70b9ac Switched to default buffer access strategy for IVFFlat index scans - #86 [skip ci]
Co-authored-by: Konstantin Knizhnik <knizhnik@garret.ru>
2026-11-08 18:00:42 -08:00
Andrew Kane effd6783ae Improved vacuuming progress for HNSW [skip ci] 2026-11-08 16:10:16 -08:00
Andrew Kane 0c329a5aa2 Improved vacuuming progress for IVFFlat [skip ci] 2026-11-08 15:46:18 -08:00
Andrew Kane cfbc0e4381 Added vacuuming progress for IVFFlat 2026-11-08 15:37:59 -08:00
Andrew Kane 821450e63b Fixed compiler warning from previous commit 2026-11-08 15:05:26 -08:00