vault vs tidb

vault and tidb share 18 technologies: MySQL, s3, github.com/jellydator/ttlcache/v3, etcd, go.etcd.io/etcd/client/pkg/v3, Google, github.com/go-ldap/ldap/v3, github.com/aws/aws-sdk-go-v2/credentials, golang.org/x/oauth2, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/service/sts, github.com/aws/aws-sdk-go-v2/service/ec2, github.com/aws/aws-sdk-go-v2/config, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/prometheus/common, go.opencensus.io, and Prometheus. Both are written in Go.

Read it as markdown

What they share and what sets them apart

hashicorp

vault

A tool for secrets management, encryption as a service, and privileged access management

Go36.5kRead on November 7, 2026, at commit f1c357bWhat is vault built with?

Only in vault

In common

pingcap

tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Go40.7kRead on November 6, 2026, at commit a5a597dWhat is tidb built with?

Only in tidb

  • net/http
  • Gorilla
  • TiDB
  • github.com/cockroachdb/pebble
  • go.etcd.io/etcd/api/v3
  • go.etcd.io/etcd/server/v3
  • github.com/aws/aws-sdk-go-v2/feature/s3/manager
  • Dgraph
  • github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
  • github.com/cheggaaa/pb/v3
  • github.com/jedib0t/go-pretty/v6
  • gorm.io/gorm
  • openai-go
  • go.uber.org/zap
  • github.com/prometheus/client_model
  • github.com/aws/aws-sdk-go-v2/service/cloudwatch
  • github.com/grafana/pyroscope-go
  • github.com/prometheus/prometheus
  • github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
vault1,007,660 lines written2,745 code files
tidb1,752,108 lines written1,549 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
vault0.3% of its commits signed by AIWith GitHub Copilot
tidb0% of its commits signed by AIWith GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
vaultLast push November 6, 202622,414 commits36,472 stars
tidbLast push November 6, 202627,911 commits40,711 stars
TestsThe files that test the code, and the share of code files a test imports.
vault1,904 test files33.7% of its code files have a test that imports them
tidb2,905 test files90.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, vault or tidb?
tidb, with 1,752,108 lines written; vault has 1,007,660.

The proof: pingcap/tidb's code at commit a5a597d

Which has more GitHub stars, vault or tidb?
tidb, with 40,711 stars; vault has 36,472.

The proof: pingcap/tidb on GitHub

Which has more tests, vault or tidb?
tidb, with 2,905 test files; vault has 1,904.

The proof: pingcap/tidb's code at commit a5a597d

Which was updated more recently, vault or tidb?
Both got their last push on November 6, 2026.

The proof: hashicorp/vault's commits on GitHub

Which has more commits signed by AI, vault or tidb?
vault: an AI signed 0.3% of its commits, with GitHub Copilot.

The proof: the commits each tool signed in hashicorp/vault

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →