Schema and performance

Understand what your collections contain, enforce their structure, and find out why a query is slow.

Oxys DB Studio gives you the tools to look inside a collection and to see how the server handles your queries, without writing diagnostic commands by hand. Every tool on these pages runs through a command, so the same actions are available from the menus, the command line and AI agents.

I want to…Page
See which fields and types a collection really holds, and export that as documentationAnalyze a collection’s schema
Reject or flag documents that do not match a structureSet validation rules
Create, edit, hide, copy or drop indexesManage indexes
See how the server runs a query, stage by stageExplain a query
Watch server activity, find and kill long-running operations, read statisticsMonitor a server
Find a database’s slowest queries over the last hours or daysFind slow queries with the Query Profiler

Before you start

  • You need an open connection: see Connections.
  • Most tools start from the connection tree: right-click a server, a database or a collection. The global toolbar also has Schema and Query Profiler buttons that act on the item selected in the tree.
  • The examples use a sample database, acme_store, with the collections customers, orders and products.

Safety

Reading tools (schema analysis, explain in its default mode, statistics, server status) never change your data. Tools that change the server, such as creating or dropping an index, saving a validator, killing an operation or switching the profiler on, are refused on a connection opened as read-only, and the destructive ones ask for confirmation first.