mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
15 lines
551 B
Plaintext
15 lines
551 B
Plaintext
install plugin DISKS soname 'disks';
|
|
show create table information_schema.disks;
|
|
Table Create Table
|
|
DISKS CREATE TEMPORARY TABLE `DISKS` (
|
|
`Disk` varchar(4096) NOT NULL DEFAULT '',
|
|
`Path` varchar(4096) NOT NULL DEFAULT '',
|
|
`Total` int(32) NOT NULL DEFAULT '0',
|
|
`Used` int(32) NOT NULL DEFAULT '0',
|
|
`Available` int(32) NOT NULL DEFAULT '0'
|
|
) ENGINE=MEMORY DEFAULT CHARSET=utf8
|
|
select sum(Total) > sum(Available), sum(Total)>sum(Used) from information_schema.disks;
|
|
sum(Total) > sum(Available) sum(Total)>sum(Used)
|
|
1 1
|
|
uninstall plugin DISKS;
|