Rows in the source table change every day. What does a Cortex Search refresh re-embed?
- Exam domain
- Retrieval with Cortex Search
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why D is the answer
Only the added or changed rows
Snowflake says a refresh only embeds added or changed rows, using the same refresh model as dynamic tables.
Remember: Refresh embeds only changes.
In detail
- Incremental refresh.
- Cost follows change.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Every row, every timeWrong
Full re-embedding on every refresh is not how it works.
B. Nothing; the index is built once and never changes after the service is createdWrong
The service refreshes from its source query.
C. Only the rows a user has searched forWrong
Refresh is driven by data changes, not search history.
D. Only the added or changed rowsRight
Refresh embeds only changes.
Use case
An illustrative scenario, not a real incident.
Illustrative: a catalogue of a million items refreshes in minutes because only a few hundred change daily.
See it in different ways
flowchart LR S0["Detect changes"] --> S1["Embed changed rows"] --> S2["Update the index"]
How to read this chart
- Read it in order: Detect changes, then Embed changed rows, then Update the index.
flowchart TD
Q{"Did the row change?"}
Q -->|"Yes"| A0["Re-embedded"]
Q -->|"No"| A1["Kept as is"]How to read this chart
- At "Did the row change?": if "Yes", go to "Re-embedded"; if "No", go to "Kept as is".