Performance laboratory
One customer and a three-day UTC window matched 200,411 of the lab’s 1,000,000 synthetic orders. Both alternatives in each comparison returned the same 20 records in order.
SARGability and date filters
0.083 ms → 0.074 ms median
Five alternating pairs. The timing ranges overlapped, so the observed difference does not establish a reliable timing gain.
Both plans used an index-only scan. The timestamp range moved from a separate DATE Filter into Index Cond.
Compare the SQL and execution plans
Original SQL
SELECT order_id, created_at, status, total_amount
FROM navicat_phase1a.orders
WHERE customer_id = 42
AND DATE(created_at AT TIME ZONE 'UTC') >= DATE '2026-10-30'
AND DATE(created_at AT TIME ZONE 'UTC') < DATE '2026-11-02'
ORDER BY created_at DESC, order_id DESC
LIMIT 20;Optimized SQL
SELECT order_id, created_at, status, total_amount
FROM navicat_phase1a.orders
WHERE customer_id = 42
AND created_at >= TIMESTAMPTZ '2026-10-30 00:00+00'
AND created_at < TIMESTAMPTZ '2026-11-02 00:00+00'
ORDER BY created_at DESC, order_id DESC
LIMIT 20;Technical demonstration
4:17 · English captions appear in the video.
Navicat features evaluated
- Explain and Visual Explain
- I compared plan structure in Navicat with analyzed PostgreSQL output for actual rows, buffers, and execution time.
- Real-Time Error Detection
- I compared editor warnings with PostgreSQL results on valid and invalid statements.
- Code Insight
- I reviewed completions for tables, joins, and CTEs, along with metadata and navigation.
- Fill with AI
- I tested local Ollama generation, preview review, and database validation in a separate sandbox.
Method and limits
I ran Navicat Premium 18.0.8 Enterprise against PostgreSQL 18.7 in Docker. PostgreSQL executed the queries. Navicat helped me inspect, compare, and validate the plans.
The date experiment used five alternating pairs with overlapping timing ranges. Index and pagination timings were single lab runs. Cursor discovery was measured separately. Java and Spring Boot runtime performance was outside the evaluation.
Disclosure. Navicat provided complimentary evaluation access and offered an annual subscription in connection with publication.
Open the research infographic ↗