pantheon-systems/terminus_debugging_tools

Name: terminus_debugging_tools

Owner: Pantheon

Description: A collection of terminus plugins to facilitate managing sites on Pantheon.

Created: 2016-04-06 17:28:30.0

Updated: 2017-05-10 17:59:00.0

Pushed: 2017-11-07 15:38:05.0

Homepage: null

Size: 23

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

terminus debugging tools

A collection of terminus plugins to facilitate managing sites on Pantheon.

Installation

For installing this plugin, please follow the instrctions from here - https://pantheon.io/docs/terminus/plugins/

Blob Blotter commands

Finds the biggest text/blob columns from your MariaDB database ordered by size.

rminus blob:columns SITE.ENV
--------------------------------- -------------------- --------------------
ble                                Column               Biggest entry (KB)
--------------------------------- -------------------- --------------------
che                                data                 61.2412
eld_data_body                      body_value           46.4551
eld_revision_body                  body_value           46.4551
che_update                         data                 38.4697
arch_dataset                       data                 19.4033

Finds the biggest rows from the specified table and column.

rminus blob:cells SITE.ENV TABLE COLUMN --format=table

Example output:

rminus blob:cells SITE.ENV field_data_body body_value --format=table
---------- --------- --------- ----------- ------------- ---------- ------- -------------- ------------- -----------
tity_type   Bundle    Deleted   Entity_id   Revision_id   Language   Delta   Body_summary   Body_format   Column_KB
---------- --------- --------- ----------- ------------- ---------- ------- -------------- ------------- -----------
de          article   0         238         238           und        0                      full_html     46.4551
de          article   0         183         183           und        0                      full_html     21.3848
de          article   0         179         179           und        0                      full_html     18.3184
de          article   0         186         186           und        0                      full_html     15.7764
de          article   0         222         222           und        0                      full_html     15.4717
de          article   0         158         158           und        0                      full_html     14.0332
Analyze Table commands

Runs ANALIZE TABLE query on either a specific group of tables or all of them.

rminus analyze-table:run SITE.ENV TABLE
rminus analyze-table:run SITE.ENV TABLE_1,TABLE_2,TABLE_3
rminus analyze-table:run SITE.ENV all

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.