RayB
RayB

Reputation: 2346

How can you get the garbage collection policies for Google Cloud Bigtable?

The docs for garbage collection explain how to set the garbage collection policies with cbt but don't explain how to read the policies. The cbt reference doesn't seem to have any command to get garbage collection either. As far as I can tell, this isn't available in the GUI.

Upvotes: 2

Views: 1209

Answers (1)

Donnald Cucharo
Donnald Cucharo

Reputation: 4126

See this page about configuring garbage collection. It provides examples of how to set and update garbage-collection policies when you use Cloud Bigtable client libraries or the cbt command-line tool.

The answer to your question is that you can view garbage collection policies of certain tables by running this cbt command:

cbt ls TABLE_ID

Here's another reference written by other devs showing the sample output of the command.

Upvotes: 5

Related Questions