- By default, the refresh runs on the
mediumengine. To boost performance, pass in a JSON body with{{"performance": "large"}}. Credits are consumed based on actual compute resources used for the refresh operation. - If you prefer
mediumperformance, you can omit theperformanceparameter. - You must own the materialized view to refresh it.
Path Parameters
The name of the materialized view to refresh
Request Body
Performance level of the refresh. Available options:
medium, large. Defaults to medium.medium: Extended timeout, 1x compute, priority queue. Best for most queries.large: Extended timeout, 2x compute, priority queue. For complex queries.
Response
Unique identifier for the execution triggered to refresh the materialized viewExample:
01HZ065JVE23C23FM2HKWQP2RTUnique identifier for the materialized viewExample:
dune.dune.result_erc_20_token_summaryNotes
- Refreshing a materialized view triggers a query execution to update the view with the latest data
- Use the returned
execution_idto check the status of the refresh operation - Credits are consumed based on actual compute resources used and the performance tier selected