Data
Table optimization
How FrostTable recommends partitioning, compaction and sorting, what it costs, and the nightly backup rule.
What table optimization does
FrostTable looks at how a table is stored and which columns your queries filter on, then recommends changes that can help queries read less data: partitioning, combining small files, cleaning up deleted rows, and a sort order. Open a table and choose Optimization, or open Advanced → Optimization for the whole workspace. Results depend on your data and queries; no speed or savings improvement is guaranteed.
Modes
- Advise me (the default): recommendations only. Nothing changes until you approve it.
- Off: no scheduled analysis and nothing automatic. Manual actions remain available where your plan includes them.
- Automatic: eligible, high-confidence changes are applied within your budgets and maintenance window. It needs a plan that includes it, and automatic optimization must be enabled for the service.
Analysis and privacy
Analyzing a table reads its file metadata only and is free. Analyze with sampling additionally reads a limited number of rows from the columns your queries filter on, to estimate how many distinct values they hold; it uses compute credits. For recommendations, FrostTable records which columns a query filtered or joined on and how often. It does not record the values you searched for or your SQL text for this purpose.
Partitioning requires a nightly backup
A table is not partitioned until a successful nightly backup covers it. Adding or changing partitioning needs a backup that finished in the last 36 hours and started after the table was created. When older data is rewritten into partitions, only data that already existed when that backup started is moved; newer data waits for the next backup. If no backup can be confirmed, partitioning is refused. Tables in your own storage connection are not covered by the nightly backup, so they cannot be partitioned. Removing partitioning is always allowed.
New data and older data
Changing partitioning affects data written afterwards. Existing data is not moved and stays readable. Use Rewrite older data to move it, in small steps you can cancel. Steps already finished are kept.
Partitioned tables cannot use the fast bulk import path, so large file imports into them are slower. Small tables are usually best left unpartitioned.
Costs, budgets and storage
Rewrites use compute credits and appear in Billing and Usage as Table optimization. Each shows an estimate, which you confirm first; the charge is the compute actually used. A job stops if it would exceed twice the confirmed estimate or a budget. Automatic optimization uses only included credits and, unless you set a budget, no more than a fifth of your monthly allowance. It never buys credits. Old files are kept for table history until snapshots expire, so storage rises temporarily, and a rewrite needs that much free storage allowance.
While a rewrite runs
Queries keep working and see either the old files or the new ones. Writes to the table wait briefly while each step commits. If another change conflicts with a step, that step is discarded and retried. Optimization changes how rows are stored, not their values, so it does not send webhooks or run automations.
Plans
Recommendations are available on every plan. Manual partitioning and manual optimization start at Starter, automatic optimization at Pro, and budgets and maintenance windows at Business. See the plan comparison. Changing plans never reverses a layout already applied.
API and MCP
Everything here is also available through the REST API and the MCP server, with the same plan, backup, budget and confirmation checks.