What does the nightly sales load actually do?
- 01Nightly sales loadchecks, then item lines, then tender
- 02Trading day · 04:00item lines inherit the header’s business date
2 engrams · PL/SQL, runbook, one closed ticket
Living knowledge space · Oracle data warehouses
Your PL/SQL knows part of it. Confluence knew part of it, nineteen months ago. Jira, Slack, the franchise agreement and about a dozen people hold the rest. There is no single place to ask your warehouse a question.
Telvi is that place — a living, queryable knowledge space over your Oracle EDW. Feed it everything, then ask it anything it has been fed: what a package does, how a load gets extended, why the trading day closes at 04:00, who owns the delivery feed. Every answer cited.
Cerebrum · Oracle EDW · food service & retail
Asked what What does the nightly sales load actually do?
Four ordinary questions, four different shapes of answer, one knowledge space. Every node is a unit of knowledge with its evidence attached — so answers arrive as citations, not as ten tabs.
Three words. One idea.
The gap
Nothing below is unknowable. It is all known, by someone or something — just not in one place, and not in a form anyone can query. These are five ordinary questions from one ordinary week.
What does PKG_SALES_DAILY_LOAD actually do?
4,200 lines of PL/SQL, plus one person’s memory of the 2019 rewrite
half a day of reading
How do I add a late-night daypart without breaking comp sales?
A 2019 ticket, two Slack threads, and practice nobody ever wrote down
ask three people, hope
Why does the trading day close at 04:00 and not midnight?
A franchise agreement nobody in engineering has read
nobody knows
Who owns the delivery revenue feed now?
git blame, pointing confidently at someone who left in March
two days of forwarding
When did the comp-base rule last change, and on whose call?
MV definition, a closed Jira, an earnings-week Slack thread
unanswered
Five questions. Five different systems. Not one of them is a place you can ask. That isn’t a documentation problem you can write your way out of — it’s a missing layer.
The unit
In neuroscience, an engram is the physical trace a memory leaves behind. In Telvi, an engram is one unit of knowledge: a statement, whatever reasoning was recoverable, the evidence that proves it, the team accountable, and the day it was last checked. Here is one from a delivery revenue feed.
Third-party delivery orders land at gross menu price. Commission is booked separately.
Aggregator settlement files arrive net of a 22–30% commission, but both franchise royalty and comparable-store sales are calculated on gross menu price. Loading the settlement value understated comp sales by 3.1% across the pilot markets — which is why the ODI mapping re-grosses every line before it reaches the fact table.
MAP_DELIVERY_ORDERS_STGwhat it doesEDW-3106 c11the 3.1% findingOne engram, six sources
Filter it down and watch the knowledge thin out. The mapping shows what happens; only the MSA explains the rate, only Jira holds the number, only Slack holds the decision, only a human knows who owns it now. Feed the space more, and it knows more.
Queryable
The space isn’t organised by question type — it’s organised by what your warehouse contains. So the shape of the answer follows the shape of the question, and each one resolves through different engrams.
2 engrams · PL/SQL, runbook, one closed ticket
3 engrams · the procedure nobody wrote down
3 engrams · ends at a clause no engineer had read
2 engrams · git blame would have sent you to the wrong person
It says so. An unfed area returns “no engram covers this”, names the nearest owner, and lists the source you’d have to connect to close the gap. A knowledge space that bluffs is worse than an empty one.
Coverage is a number you can see, not a promise
Method
Four stages, running continuously — because knowledge that never re-checks itself is just an old Confluence page.
PL/SQL packages, ODI mappings, materialised views and scheduler chains, alongside Confluence, Jira, Slack, email, contracts and ownership signals. Deliberately not code-only.
BUSINESS_DT in the schema, “trading day” in Finance and “that 4am thing” in
Slack are one entity. Nothing joins until this is right.
Statement, reasoning, evidence, owner, confidence. Conflicts aren’t averaged away — the stale Confluence spec gets flagged against the source that disagrees with it.
When the mapping, the ticket or the agreement changes, the engrams citing it re-verify. Knowledge that can go stale silently is worse than none.
Why “living” isn’t decoration
Who’s asking
An agent with schema access and nothing else reads a predicate, infers an intent that was never true, and ships it with total confidence. It isn’t a model problem — it’s that nothing in your stack could tell it what the warehouse knows. Engrams are addressable, so it can just ask.
Task: “Comp sales look low — fix the store filter in MV_COMP_SALES_PERIOD.”
Reads the 13-period predicate, finds the Confluence page saying 12 calendar months, “corrects” the MV to match the documentation and refreshes it. Silently re-states comparable sales nine days before an earnings call, with a green build.
Confidently wrongTask: “Comp sales look low — fix the store filter in MV_COMP_SALES_PERIOD.”
Fetches the comp-base engram, finds the disclosure wording behind the 13-period rule, sees the Confluence page already flagged as the stale source, declines the change and opens a documentation-fix ticket instead — citing Jira, Slack and the disclosure.
Correct, and it shows its workSame space, two kinds of reader: a new EDW engineer reading engrams on Monday, an agent fetching them over MCP or the API on Tuesday. Neither has to interrupt anyone.
Cost of scattered knowledge
None of this shows up on a dashboard. It shows up as slow periods, risky month-end changes, and the same four people being interrupted about a warehouse nobody fully remembers building.
When the person who built it leaves
60–70%
of what they knew about the warehouse is not written down anywhere. It doesn’t transfer at handover — it walks out on the last day, and the space you could have fed never got fed.
This is the surface one new EDW engineer — or one agent — is expected to hold in their head, with no single place to look it up.
Boundaries
A place to write knowledge down, once, by whoever had time that quarter.
Static and unowned. It can’t tell you whether production still agrees.
Finds the documents. Ranks them well. Hands you ten tabs.
Retrieval, not knowledge. You still assemble the answer yourself.
A knowledge space: assembled once, cited, owned, re-verified, and queryable.
Ask it anything it has been fed — and it tells you when it hasn’t.
Six months in
Anita’s leave stops being a period-close risk.
Week one gets answers, not a queue outside three desks.
Contradictions surface as flags, not as restatements.
Grounded in your warehouse, with citations you can audit.
Demo
Thirty minutes, one real slice of your Oracle warehouse — a schema plus your Confluence and Jira. We’ll build the space live and you can check every citation.
Book a demoor email hello@telvi.ai
Contact