summaryrefslogtreecommitdiff
path: root/src/ingestor.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2026-03-18 13:19:42 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2026-03-18 13:19:42 +0000
commit076679d9f2b761a9e4892e399f1a16f141d85986 (patch)
tree070bc1665e856c553ceb41a44bb69621b1ab7b72 /src/ingestor.hpp
parente247e81f649297784dc81e83b2e6d33d30f9f3ee (diff)
downloadwebstat-076679d9f2b761a9e4892e399f1a16f141d85986.tar.bz2
webstat-076679d9f2b761a9e4892e399f1a16f141d85986.tar.xz
webstat-076679d9f2b761a9e4892e399f1a16f141d85986.zip
Replace unique constraint on entity value with index on hash
UNIQUE CONSTRAINT is limited to 2704 bytes, which prevents inserting large values. Here we swap to a unique index on the MD5 hash of the value. This should more than suffice given we already map to a 32bit for the id and the index size is much much smaller.
Diffstat (limited to 'src/ingestor.hpp')
0 files changed, 0 insertions, 0 deletions