Skip to content

Instantly share code, notes, and snippets.

@edsolovey
Last active May 31, 2017 18:09
Show Gist options
  • Save edsolovey/4740bca044de708cec1f78596a2ea2e2 to your computer and use it in GitHub Desktop.
Save edsolovey/4740bca044de708cec1f78596a2ea2e2 to your computer and use it in GitHub Desktop.
Commands to drop Answers custom events tables from old, coupled cassandra cluster
use speed_data;
drop table ce_metric_time_series_history;
drop table ce_metric_time_series_now;
drop table ce_metric_time_series_bootstrap;
drop table ce_event_count_metadata;
drop table ce_attribute_metadata;
drop table ce_count_history;
drop table ce_cardinality_history;
drop table ce_cardinality_hll;
# this table could get reads for another 21 days or so because the API is deployed to go back to old cluster for all days prior to 5/25
# drop table ce_with_dimension_count;
drop table ce_with_dimension_count_history;
drop table ce_with_dimension_cardinality;
drop table ce_with_dimension_hll;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment