|
we need to bring to doc:
Some of the mcsadmin commands already have SQL versions (edited)
MariaDB [test]> select mcssystemreadonly();
---------------------
---------------------
---------------------
1 row in set (0.001 sec)
MariaDB [test]> select mcssystemready();
------------------
------------------
------------------
1 row in set (0.001 sec)
Remember the API is just for Cluster Management
MariaDB [(none)]> SELECT * FROM mysql.func where name LIKE 'mcs%';
-----------------------------------------------+
-----------------------------------------------+
| mcssystemprimary |
2 |
ha_columnstore.so |
function |
| mcssystemreadonly |
2 |
ha_columnstore.so |
function |
| mcssystemready |
2 |
ha_columnstore.so |
function |
-----------------------------------------------+
3 rows in set (0.000 sec)
MariaDB [(none)]> SELECT * FROM mysql.func where dl LIKE 'ha_columnstore%';
---------------------------------------------------------+
---------------------------------------------------------+
| calgetstats |
0 |
ha_columnstore.so |
function |
| calsettrace |
2 |
ha_columnstore.so |
function |
| calsetparms |
0 |
ha_columnstore.so |
function |
| calflushcache |
2 |
ha_columnstore.so |
function |
| calgettrace |
0 |
ha_columnstore.so |
function |
| calgetversion |
0 |
ha_columnstore.so |
function |
| calonlinealter |
2 |
ha_columnstore.so |
function |
| calviewtablelock |
0 |
ha_columnstore.so |
function |
| calcleartablelock |
0 |
ha_columnstore.so |
function |
| callastinsertid |
2 |
ha_columnstore.so |
function |
| calgetsqlcount |
0 |
ha_columnstore.so |
function |
| idbpm |
2 |
ha_columnstore.so |
function |
| idbdbroot |
2 |
ha_columnstore.so |
function |
| idbsegment |
2 |
ha_columnstore.so |
function |
| idbsegmentdir |
2 |
ha_columnstore.so |
function |
| idbextentrelativerid |
2 |
ha_columnstore.so |
function |
| idbblockid |
2 |
ha_columnstore.so |
function |
| idbextentid |
2 |
ha_columnstore.so |
function |
| idbextentmin |
0 |
ha_columnstore.so |
function |
| idbextentmax |
0 |
ha_columnstore.so |
function |
| idbpartition |
0 |
ha_columnstore.so |
function |
| idblocalpm |
2 |
ha_columnstore.so |
function |
| mcssystemready |
2 |
ha_columnstore.so |
function |
| mcssystemreadonly |
2 |
ha_columnstore.so |
function |
| mcssystemprimary |
2 |
ha_columnstore.so |
function |
| caldisablepartitions |
0 |
ha_columnstore.so |
function |
| calenablepartitions |
0 |
ha_columnstore.so |
function |
| caldroppartitions |
0 |
ha_columnstore.so |
function |
| calshowpartitions |
0 |
ha_columnstore.so |
function |
| caldroppartitionsbyvalue |
0 |
ha_columnstore.so |
function |
| caldisablepartitionsbyvalue |
0 |
ha_columnstore.so |
function |
| calenablepartitionsbyvalue |
0 |
ha_columnstore.so |
function |
| calshowpartitionsbyvalue |
0 |
ha_columnstore.so |
function |
---------------------------------------------------------+
|