Skip to content

Conversation

@djstrong
Copy link
Contributor

  • Introduced a new CLI tool for inspecting ENSNode database schemas and their metadata.
  • Added commands for listing schemas, retrieving schema details, and providing overall database information.
  • Implemented database connection handling and schema categorization logic.
  • Included comprehensive README documentation and initial test cases for core functionalities.

- Introduced a new CLI tool for inspecting ENSNode database schemas and their metadata.
- Added commands for listing schemas, retrieving schema details, and providing overall database information.
- Implemented database connection handling and schema categorization logic.
- Included comprehensive README documentation and initial test cases for core functionalities.
@changeset-bot
Copy link

changeset-bot bot commented Jul 30, 2025

⚠️ No Changeset found

Latest commit: 2fe9f70

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jul 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
admin.ensnode.io ❌ Failed (Inspect) Jul 30, 2025 2:15pm
ensnode.io ❌ Failed (Inspect) Jul 30, 2025 2:15pm
ensrainbow.io ❌ Failed (Inspect) Jul 30, 2025 2:15pm

@djstrong
Copy link
Contributor Author

Result looks like this:

🔍 Connecting to database...
📊 Gathering database information...

🗄️  Database Overview:
  • Host: X.proxy.rlwy.net:X
  • Database: railway
  • User: postgres
  • Total Size: 121 GB
  • Schema Count: 6
  • PostgreSQL Version: 17.4
  • Uptime: 25 days 14:43:39
  • Connections: 29 total (0 active, 24 idle)

📋 Schema Breakdown:
  🔄 Ponder Sync: 1 schema(s)
  🏗️  ENSDb: 5 schema(s)
  ❓ Unknown: 0 schema(s)

📊 Largest Schemas:
  🔄 ponder_sync: 59424.30 MB (11 tables - 2025-07-14)
  🏗️ alphaSchema0.31.0: 39590.79 MB (60 tables - 2025-07-14)
  🏗️ mainnetSchema0.31.0: 23603.52 MB (60 tables - 2025-07-14)
  🏗️ alphaSepoliaSchema0.31.0: 647.86 MB (60 tables - 2025-07-14)
  🏗️ sepoliaSchema0.31.0: 435.79 MB (60 tables - 2025-07-14)

🏗️  ENSDb Schemas (with timestamps):
  • alphaSchema0.31.0: 39590.8 MB - 2025-07-14
  • mainnetSchema0.31.0: 23603.5 MB - 2025-07-14
  • alphaSepoliaSchema0.31.0: 647.9 MB - 2025-07-14
  • sepoliaSchema0.31.0: 435.8 MB - 2025-07-14
  • holeskySchema0.31.0: 294.9 MB - 2025-07-14

📈 Database Activity (since last stats reset):
  • Transactions: 99,691,272 commits, 132,014 rollbacks
  • Cache Hit Ratio: 61.38%
  • Data Changes: 129,835,901 inserts, 58,516,589 updates, 6,422,326 deletes

@djstrong djstrong self-assigned this Jul 30, 2025
@djstrong djstrong added the ensdb ENSDb related label Jul 30, 2025
@djstrong djstrong added this to ENSNode Jul 30, 2025
@djstrong djstrong moved this to In Progress in ENSNode Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ensdb ENSDb related

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants