PG Studio for Aiven for PostgreSQL® Early availability
Aiven PG Studio is the name for the SQL and table editing tools built into the Aiven Console for Aiven for PostgreSQL®. PG Studio isn't a single item you open in the console. It's made up of two separate entities in the left-hand menu, the SQL editor and the Table editor.
PG Studio and its AI features are on by default. To turn off PG Studio or its AI features, contact the Aiven support team.
PG Studio is an Early availability feature.
What PG Studio offers
PG Studio supports:
- Writing SQL in plain English or any other language
- Autocompleting SQL queries with the
Tabkey, based on PostgreSQL commands and your schema - Visualizing your database structure with an interactive schema map
- Exploring tables in the Table editor with data preview
- Exploring schemas and table relationships
- Explaining queries and database objects
- Running a single query or multiple selected queries at once, with live results in separate tabs
- Executing write queries and data definition statements with built-in safety guardrails
PG Studio components
PG Studio consists of two components, each available as a separate entity in the left-hand menu of the Aiven Console:
SQL editor:
- Write and edit SQL across multiple tabs. Run a single statement or select multiple statements to execute them all at once, with each result shown in its own tab. Execute write operations with built-in safety guardrails.
- AI Assistant panel: Describe what you need in natural language. The assistant generates SQL or explains queries, tables, and relationships using your database schema.
Table editor:
- Browse tables in your selected schema and preview table data.
- Schema map: View your database structure as an interactive diagram showing tables, columns, and relationships. Click the copy icon next to a table name to copy it to the clipboard.
- No AI Assistant: The Table editor doesn't include the AI Assistant panel available in the SQL editor.
Get started with PG Studio
Get started
Open the SQL editor or Table editor and run your first queries.
Use AI Assistant
Generate and explain SQL queries with natural language.
Write and run queries
Use the SQL editor to write, edit, and execute queries.
Manage queries
Save and organize your queries for reuse.
Security and connections
Understand how PG Studio connects and protects your data.