An open API service indexing awesome lists of open source software.

https://github.com/lefred/mysql-component-disksize

MySQL Component to display disksize
https://github.com/lefred/mysql-component-disksize

Last synced: 6 months ago
JSON representation

MySQL Component to display disksize

Awesome Lists containing this project

README

          

# mysql-component-disksize

MySQL component for FOSDEM MySQL & Friends Devroom

See https://speakerdeck.com/lefred/extending-mysql-with-the-component-infrastructure

## Usage

```
mysql> install component "file://component_disksize";

mysql> select * from performance_schema.disks_size;
+-----------------+-----------------------------+-------------+-------------+
| DIR_NAME | RELATED_VARIABLE | FREE_SIZE | TOTAL_SIZE |
+-----------------+-----------------------------+-------------+-------------+
| /var/lib/mysql | log_bin_basename | 16416055296 | 31630573568 |
| /var/lib/mysql/ | datadir | 16416055296 | 31630573568 |
| /tmp | tmpdir | 16416055296 | 31630573568 |
| ./ | innodb_undo_directory | 16416055296 | 31630573568 |
| ./ | innodb_log_group_home_dir | 16416055296 | 31630573568 |
| ./#innodb_temp/ | innodb_temp_tablespaces_dir | 16416055296 | 31630573568 |
| /tmp | replica_load_tmpdir | 16416055296 | 31630573568 |
+-----------------+-----------------------------+-------------+-------------+
7 rows in set (0.00 sec)
```