[MCOL-4384] document 'mcs%' function Created: 2020-11-10  Updated: 2023-12-15

Status: Open
Project: MariaDB ColumnStore
Component/s: Documentation
Affects Version/s: 5.4.3
Fix Version/s: Icebox

Type: Task Priority: Minor
Reporter: Massimo Assignee: Joe Cotellese
Resolution: Unresolved Votes: 0
Labels: None


 Description   

We need to document 'mcs%' function that can use to query the CS instance



 Comments   
Comment by Massimo [ 2020-11-10 ]

we need to bring to doc:

Some of the mcsadmin commands already have SQL versions (edited)

MariaDB [test]> select mcssystemreadonly();
---------------------

mcssystemreadonly()

---------------------

0

---------------------
1 row in set (0.001 sec)

MariaDB [test]> select mcssystemready();
------------------

mcssystemready()

------------------

1

------------------
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%';
-----------------------------------------------+

name ret dl type

-----------------------------------------------+

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%';
---------------------------------------------------------+

name ret dl type

---------------------------------------------------------+

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

---------------------------------------------------------+

Generated at Thu Feb 08 02:49:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.