GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DPL Analysis: query the CCDB once per run of equal timestamps by ktf · Pull Request #16080 · AliceO2Group/AliceO2

Conversation

@ktf

@ktf ktf commented Nov 8, 2026

Copy link
Copy Markdown
Member

When a CCDB table has no separate uniformity column, the analysis CCDB
fetcher called populateCacheWith for every row of the source table, so
about 19k times per timeframe for a BC-indexed table such as the ones of
propagation-service-v2, even though consecutive BCs share the same
millisecond timestamp. Reuse the previous responses whenever the lookup
key, the uniformity value or else the timestamp, is the same as the one
of the previous row. Since the key determines every FetchOp of the row,
the responses and hence the output table are unchanged.

For the LHC25b4a6 AO2D of Hyperloop test 799098 this is about 350 runs of
equal (millisecond) BC times over 1.17M BCs in 61 DFs, instead of one
query per BC.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ktf added 2 commits November 8, 2026 20:05
@ktf
DPL Analysis: look up the CCDB output buffer only when fetching
3dda7ea
populateCacheWith created the pmr vector for the object, which matches
the output route and looks up its transport, for every FetchOp. On a
cache hit the vector is never used, and the analysis CCDB fetcher issues
one FetchOp per column for every row of the source table. Create it
only where an object is actually requested from the server.
@ktf
DPL Analysis: query the CCDB once per run of equal timestamps
6143505
When a CCDB table has no separate uniformity column, the analysis CCDB
fetcher called populateCacheWith for every row of the source table, so
about 19k times per timeframe for a BC-indexed table such as the ones of
propagation-service-v2, even though consecutive BCs share the same
millisecond timestamp. Reuse the previous responses whenever the lookup
key, the uniformity value or else the timestamp, is the same as the one
of the previous row. Since the key determines every FetchOp of the row,
the responses and hence the output table are unchanged.

For the LHC25b4a6 AO2D of Hyperloop test 799098 this is about 350 runs of
equal (millisecond) BC times over 1.17M BCs in 61 DFs, instead of one
query per BC.
@ktf
ktf requested a review from a team as a code owner November 8, 2026 19:06
@ktf

ktf commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Only touches analysis CCDB code, which is not yet in production. Works for the full system test. Merging.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ktf ktf closed this Nov 8, 2026
@ktf ktf reopened this Nov 8, 2026
@ktf
ktf merged commit de3ecdf into AliceO2Group:dev Nov 8, 2026
15 of 16 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@ktf
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.