Skip to main content
DataStore provides comprehensive debugging tools to understand and optimize your data pipelines.

Debugging Tools Overview

Quick Decision Matrix

Quick Setup

Enable All Debugging


explain() Method

View the execution plan before running a query.
Query
Response
See explain() Documentation for details.

Profiling

Measure execution time for each operation.
Query
Response
See Profiling Guide for details.

Logging

View detailed execution logs.
Log output example:
See Logging Configuration for details.

Common Debugging Scenarios

  1. Query Not Returning Expected Results

  1. Query Running Slowly

  1. Understanding Engine Selection

  1. Debugging Cache Issues


Best Practices

  1. Debug in Development, Not Production

  1. Use explain() Before Running Large Queries

  1. Profile Before Optimizing

  1. Check SQL When Results Are Wrong


Debugging Tools Summary


Next Steps

Last modified on July 2, 2026