SmithDB is optional and available in beta. ClickHouse remains required. You cannot remove ClickHouse after enabling SmithDB. Minimum LangSmith version depends on cloud. See Check cloud support.
Before you begin
- Use an existing ClickHouse-backed LangSmith installation on Kubernetes.
- Upgrade one major version at a time until the installation meets the cloud support minimum: LangSmith 0.16 with Helm chart
0.16.14or later on AWS (EKS) and GCP (GKE), or LangSmith 0.17 on Azure (AKS). Follow the upgrade guide. - Retain the Helm values used for the current installation. This guide adds SmithDB configuration to those existing values.
- Ensure administrative capabilities on the EKS, GKE, or AKS cluster.
- Review the SDK migration guide and plan your SDK upgrade alongside this installation. New SmithDB-backed methods require LangSmith
0.16or later.
Installation sequence
Step 1. Prepare supporting infrastructure
Follow Prepare SmithDB supporting infrastructure to provide:- A dedicated PostgreSQL 18 or later metastore.
- Dedicated object storage with workload identity or equivalent credentials.
- Local SSD-backed Kubernetes ephemeral storage for SmithDB caches.
- Network connectivity and a Kubernetes Secret containing the metastore connection details.
SmithDB infrastructure Helm values
SmithDB infrastructure Helm values
azure.workload.identity/use: "true" to every SmithDB workload. See Configure Blob Storage workload identity:Step 2. Upgrade to the required LangSmith version
Upgrade LangSmith before enabling SmithDB. On AWS (EKS) and GCP (GKE), upgrade to LangSmith 0.16 using Helm chart0.16.14 or later. On Azure (AKS), upgrade to LangSmith 0.17. Preserve the existing ClickHouse configuration and keep SmithDB disabled:
Step 3. Configure and deploy SmithDB services
Before enabling SmithDB, choose a tested baseline from Configure SmithDB for scale. Configure its replica counts and per-replica CPU, memory, and ephemeral-storage requests, and confirm the cluster can provision the aggregate capacity. Merge the infrastructure values prepared in Step 1 and your selected sizing baseline into the existing LangSmith values. Leave the existing ClickHouse configuration unchanged, then enable the SmithDB services without changing LangSmith ingestion or queries:- SmithDB pods become Ready.
- The SmithDB metastore migration Job completes.
- The pods can reach the metastore and object store.
- Cache workloads schedule onto nodes with the expected ephemeral-storage capacity.
- The cluster retains enough headroom to add replicas as load grows.
Optional: configure observability
Before enabling dual ingestion, connect SmithDB to your existing monitoring stack. This is optional for installation but recommended for validating migration and scaling changes. See Configure SmithDB observability.Step 4. Enable dual ingestion
Route new writes to SmithDB while ClickHouse continues receiving them:Step 5. Choose how to handle historical data
Migrate ClickHouse data
TaskDB stores migration progress and task state. It is required only during historical migration and may be retained afterward for diagnostics. SmithDB does not depend on it for normal operation. After dual ingestion is confirmed stable and healthy, follow Migrate ClickHouse history to SmithDB to configure TaskDB, run and monitor the historical migration, and clean up migration resources. Return here for query cutover after the migration completes.Continue without backfill
Skip migration if historical ClickHouse data does not need to be available through SmithDB-backed queries. Existing data remains in ClickHouse. Keep ClickHouse enabled.Step 6. Switch queries to SmithDB
After dual ingestion is healthy and the ClickHouse migration has completed (if applicable), enable SmithDB-backed queries:Troubleshooting
Use Troubleshoot SmithDB or contact LangChain through the Support Portal before continuing.See also
- Enable SmithDB on self-hosted LangSmith
- Prepare SmithDB supporting infrastructure
- Configure SmithDB for scale
- Configure SmithDB observability
- Migrate ClickHouse history to SmithDB
- Troubleshoot SmithDB
- Migrate to SmithDB-backed SDK methods
- Upgrade a self-hosted LangSmith installation
- Self-host LangSmith on Kubernetes
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

