Skip to content

Optimization - #1035

Open
k1o0 wants to merge 3 commits into
devfrom
optimization
Open

Optimization#1035
k1o0 wants to merge 3 commits into
devfrom
optimization

Conversation

@k1o0

@k1o0 k1o0 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

k1o0 added 3 commits August 4, 2026 12:54
Sessions and probe insertions  REST filters no longer join the datasets table into the
  main query, which made them 3-174x faster ( went from 194 s to
  1.3 s against the production database, and  from 112 s to
  3.5 s). Adding indexes was measured and rejected: a covering index on
   is used but only worth ~5% of the remaining query time,
  and is not worth 153 MB plus the write amplification on a table the ingest pipeline
  writes to constantly. The remaining cost is one index lookup per tagged dataset to map
  it to its session; removing that needs the tags denormalised to the session level.
Resolves int-brain-lab/iblalyx#143
Dataset filtering faster (#894) and stable ordering (#1033)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant