Data Studio
Each Durable Object can access private storage using Storage API available on ctx.storage. To view and write to an object's stored data, you can use Durable Objects Data Studio as a UI editor available on the Cloudflare dashboard.
:::note[Data Studio only supported for SQLite-backed objects]
You can only use Data Studio to access data for SQLite-backed Durable Objects.
At the moment, you can only read/write data persisted using the SQL API. Key-value data persisted using the KV API will be made read-only in the future. :::
View Data Studio
You need at least Editor access to the Worker that implements the Durable Object to access Data Studio. Refer to Durable Objects roles and permissions for more information.
- Queries executed by Data Studio send requests to your remote, deployed objects and incur usage billing for requests, duration, rows read, and rows written. You should use Data Studio as you would handle your production, running objects.
- In the Query tab when running all statements, each SQL statement is sent as a separate Durable Object request.
Audit logging
All queries issued by the Data Studio are logged with audit logging v1 for your security and compliance needs.
- Each query emits two audit logs, a
query executedaction and aquery completedaction indicating query success or failure.query_idin the log event can be used to correlate the two events per query.
谢谢你的反馈!