Page MenuHomePhabricator
Paste P17245

AQS table script
ActivePublic

Authored by hnowlan on Tue, Sep 7, 10:17 AM.
export TABLES=(local_group_default_T_editors_bycountry local_group_default_T_mediarequest_per_file local_group_default_T_mediarequest_top_files local_group_default_T_pageviews_per_project_v2 local_group_default_T_top_pageviews local_group_default_T_unique_devices local_group_default_T_lgc_pagecounts_per_project local_group_default_T_mediarequest_per_referer local_group_default_T_pageviews_per_article_flat local_group_default_T_pageviews_per_project local_group_default_T_top_bycountry local_group_default_T_top_percountry)
for TABLE in "${TABLES[@]}"; do
echo "TRUNCATE ${TABLE}" | c-cqlsh a
done

Event Timeline

hnowlan edited the content of this paste. (Show Details)