Source: https://seerepo.com/compare/hashicorp/vault/vs/pingcap/tidb
Markdown source: https://seerepo.com/compare/hashicorp/vault/vs/pingcap/tidb.md
Description: 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.

# 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.

- [hashicorp/vault](https://seerepo.com/r/hashicorp/vault): A tool for secrets management, encryption as a service, and privileged access management
- [pingcap/tidb](https://seerepo.com/r/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.

## What they share and what sets them apart

- In common: 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, Prometheus
- Only in vault: MongoDB, pgx, github.com/hashicorp/go-memdb, Postgres, Consul, github.com/hashicorp/golang-lru, github.com/gocql/gocql, github.com/hashicorp/golang-lru/v2, cloud.google.com/go/cloudsqlconn, github.com/denisenkom/go-mssqldb, github.com/influxdata/influxdb1-client, github.com/aliyun/aliyun-oss-go-sdk, github.com/aws/aws-sdk-go-v2/service/dynamodb, github.com/Azure/azure-storage-blob-go, github.com/cockroachdb/cockroach-go/v2, github.com/go-zookeeper/zk, github.com/hashicorp/raft-boltdb/v2, github.com/patrickmn/go-cache, github.com/SAP/go-hdb, go.etcd.io/etcd/client/v3, approle, github.com/go-jose/go-jose/v4, github.com/pquerna/otp, github.com/Azure/go-autorest/autorest/adal, github.com/golang-jwt/jwt/v4, github.com/golang-jwt/jwt/v5, github.com/jcmturner/gokrb5/v8, github.com/pavlo-v-chernykh/keystore-go/v4, github.com/asaskevich/govalidator, HashiCorp, github.com/moby/moby/client, github.com/moby/moby/api, github.com/aws/aws-sdk-go-v2/feature/ec2/imds, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/otel/trace, Nomad, OpenTelemetry, cloud.google.com/go/compute/metadata, github.com/aliyun/alibaba-cloud-sdk-go, github.com/coreos/go-systemd
- 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

| | vault | tidb |
|---|---|---|
| Size | 1,007,660 lines written, 2,745 code files | 1,752,108 lines written, 1,549 code files |
| Who writes it | 0.3% of its commits signed by AI. With GitHub Copilot | 0% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 6, 2026, 22,414 commits, 36,472 stars | Last push November 6, 2026, 27,911 commits, 40,711 stars |
| Tests | 1,904 test files. 33.7% of its code files have a test that imports them | 2,905 test files. 90.3% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/pingcap/tidb/tree/a5a597dfb7921e43a43065f197d064b2af92d85e)

### Which has more GitHub stars, vault or tidb?

tidb, with 40,711 stars; vault has 36,472.

The proof: [pingcap/tidb on GitHub](https://github.com/pingcap/tidb)

### 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](https://github.com/pingcap/tidb/tree/a5a597dfb7921e43a43065f197d064b2af92d85e)

### 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](https://github.com/hashicorp/vault/commits)

### 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](https://seerepo.com/r/hashicorp/vault/ai)

## Sources

- hashicorp/vault: Read on November 7, 2026, at commit f1c357b (https://github.com/hashicorp/vault/tree/f1c357b1d5d802a8ec0e1b7af82351f869ff80aa)
- pingcap/tidb: Read on November 6, 2026, at commit a5a597d (https://github.com/pingcap/tidb/tree/a5a597dfb7921e43a43065f197d064b2af92d85e)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
