Database Reference
Read-only role
Direct connections use the student_ro role, which can only read two tables.
Permissions#
| Table | student_ro access |
|---|---|
orders | SELECT |
order_items | SELECT |
shipments | No access |
products | No access |
users | No access |
- No write access.
INSERT,UPDATE,DELETEand DDL statements are rejected. - No access to other tables. Use the REST API for
shipments,productsandusers. - 60 second statement timeout. Queries running longer are cancelled.
What you will see#
Querying a table you cannot access
ERROR: permission denied for table usersExceeding the statement timeout
ERROR: canceling statement due to statement timeoutStaying under the timeout#
- Always filter on a timestamp window instead of scanning whole tables.
- Load large backfills in small windows (a day at a time) and page through each with
ORDER BYandLIMIT. - Select only the columns you need.
See Incremental loading for the recommended query pattern.
© 2026 StyleHub · Developer Platform