Commit Graph
1125 Commits
Author SHA1 Message Date
Andrew Kane 48ebde7859 Improved logic for HNSW free space map - resolves #1074 2026-12-02 20:13:17 -08:00
Andrew Kane 0b853646a8 Improved consistency [skip ci] 2026-12-02 19:12:12 -08:00
Andrew Kane ee1466a421 Added search parameters to EXPLAIN - resolves #697 [skip ci] 2026-12-01 21:31:18 -08:00
Andrew Kane bbf91bfabe Added hint to max dimensions error [skip ci] 2026-12-01 21:18:34 -08:00
Varad Thokal 3f4f1be356 Preserve query vector evaluation cost in index startup estimates (#1080) 2026-11-29 14:09:55 -08:00
Andrew Kane a9b6b2cf2a Fixed compilation when half is uint16 2026-11-28 16:44:06 -08:00
Andrew KaneandSong Bian c38f1ce8dd Fixed NaN ordering for HNSW index scans - resolves #1075
Co-authored-by: Song Bian <29000790+Waterpine@users.noreply.github.com>
2026-11-28 16:34:03 -08:00
Andrew KaneandSong Bian a6b476211c Fixed NaN ordering for IVFFlat index scans - resolves #1073 [skip ci]
Co-authored-by: Song Bian <29000790+Waterpine@users.noreply.github.com>
2026-11-28 16:30:16 -08:00
Andrew KaneandSong Bian 26b1afd09e Fixed infinite value detected error with IVFFlat index build with halfvec - resolves #1077 [skip ci]
Co-authored-by: Song Bian <29000790+Waterpine@users.noreply.github.com>
2026-11-27 00:35:56 -08:00
Andrew KaneandSong Bian 255bbf74b8 Fixed insert page logic for IVFFlat vacuuming - resolves #1078
Co-authored-by: Song Bian <29000790+Waterpine@users.noreply.github.com>
2026-11-27 00:04:40 -08:00
Andrew KaneandSong Bian 2d9b0b6b4f Fixed undefined behavior in CompareCandidateDistances - resolves #1079 [skip ci]
Co-authored-by: Song Bian <29000790+Waterpine@users.noreply.github.com>
2026-11-26 23:57:48 -08:00
Andrew Kane e8f84dcc55 Removed unneeded logic [skip ci] 2026-11-24 12:39:09 -08:00
Andrew Kane 61b2455b79 Switched to arch=x86-64-v2 target for bit distance functions when available [skip ci] 2026-11-24 12:34:24 -08:00
Andrew Kane 7bab21a2eb Always use CPU dispatching on x86-64 when supported and not disabled [skip ci] 2026-11-24 12:29:26 -08:00
Andrew Kane 3d4967a589 Added type name to error message for too many dimensions 2026-11-23 15:10:49 -08:00
Andrew Kane 5b8038b7cf Added support for elf_aux_info for CPU dispatching with SVE [skip ci] 2026-11-23 15:02:49 -08:00
Andrew Kane 1e53788ec6 Switched to intrinsics for bit distance functions with SVE when compiled for portability to support GCC < 16 2026-11-23 14:27:39 -08:00
8a42b14d4e Improved performance of halfvec distance functions with SVE2 - resolves #1067
Co-authored-by: Mohakg <mohak.goel@fujitsu.com>
Co-authored-by: Abhishek Jain <Abhishek.Jain@fujitsu.com>
2026-11-23 14:25:58 -08:00
Andrew Kane 305e756a31 Improved performance of halfvec L2 function with F16C 2026-11-22 23:23:57 -08:00
Andrew Kane af9f907fa7 Improved performance of halfvec distance functions with F16C [skip ci] 2026-11-22 15:41:54 -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