bigtable-basics

Administer and develop Google Bigtable instances, schemas, queries, and performance.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/wangx7/skills-collection --skill bigtable-basics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bigtable-basics
Source: https://github.com/wangx7/skills-collection/tree/main/google-skills/skills/cloud/bigtable-basics
Command: npx skills add https://github.com/wangx7/skills-collection --skill bigtable-basics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill eliminates the steep learning curve and common pitfalls of working with Google Bigtable, a high-scale NoSQL database, by providing expert guidance for provisioning infrastructure, designing performant schemas, writing efficient queries, and troubleshooting performance issues like hotspotting.

Core Features & Use Cases

  • Infrastructure & Schema Management: Provision Bigtable instances, clusters, and tables, design high-cardinality row keys and column families, and safely evolve schemas using gcloud or cbt CLIs.
  • Querying & Development: Write optimized SQL queries and client library code (Java, Go, Python) for Bigtable, avoiding costly full table scans and performance anti-patterns.
  • Performance Troubleshooting: Diagnose and resolve hotspotting and slow query issues using tools like Key Visualizer, gcloud hot-tablets, and cbt read with full stats.
  • Use Case Example: A data engineer can use this Skill to provision a production Bigtable instance for a real-time user activity tracking workload, design a row key schema that prevents hotspotting, and write optimized queries to retrieve recent user events without full scans.

Quick Start

Use the bigtable-basics skill to provision a new Bigtable instance, design a performant row key schema for your user activity tracking workload, and write an optimized SQL query to retrieve the last 24 hours of events for a specific user tenant.

Frequently Asked Questions about bigtable-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a Bigtable row key schema to prevent hotspotting?

To prevent hotspotting in Bigtable, design high-cardinality row keys that distribute reads and writes evenly across tablets. Avoid sequential keys and use field reordering or salting to balance workload traffic.

What is the best way to troubleshoot slow Bigtable query performance?

Troubleshoot slow Bigtable query performance by diagnosing hotspotting and avoiding full table scans. Use Key Visualizer, gcloud hot-tablets, and cbt read with full stats to identify uneven traffic patterns and optimize your schema.

How do I provision a new Bigtable instance and table using cbt?

Provision Bigtable instances, clusters, and tables using gcloud or cbt CLIs. This workflow guides infrastructure setup while enforcing explicit user confirmation for non-emulator database changes to ensure safe production operations.

Can I use standard SQL queries with Google Bigtable?

Yes, you can write optimized SQL queries for Google Bigtable. This workflow helps you develop SQL and client library code for Java, Go, and Python, ensuring you avoid performance anti-patterns like costly full table scans.

Does this Bigtable workflow support production client libraries for Python and Go?

Yes, this Bigtable workflow supports query development for Java, Go, and Python client libraries. It recommends optimal client libraries for production workloads and provides best practices to ensure performant NoSQL operations.

Why should I avoid full table scans in Bigtable?

You should avoid full table scans in Bigtable because they cause severe performance degradation. This workflow provides query optimization and schema design patterns to ensure efficient data retrieval without scanning entire tables.