Açıklaması şöyle
The "status" command is a client-side command that provides basic information about the server, including the version, connection ID, current user, and current database. It is executed within the MariaDB client, and the output is displayed in the console.On the other hand, the "show status" command is a server-side command that displays a list of server status variables and their values. It provides detailed information about the server's internal state, such as the number of queries executed, the number of connections, and the amount of memory used.
Örnek
Şöyle yaparız
> status--------------mysql Ver 15.1 Distrib 10.9.3-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapperConnection id: 4Current database:Current user: root@localhostSSL: Not in useCurrent pager: stdoutUsing outfile: ''Using delimiter: ;Server: MariaDBServer version: 10.9.3-MariaDB-1:10.9.3+maria~ubu2204 mariadb.org binary distributionProtocol version: 10Connection: Localhost via UNIX socketServer characterset: utf8mb4Db characterset: utf8mb4Client characterset: latin1Conn. characterset: latin1UNIX socket: /run/mysqld/mysqld.sockUptime: 11 min 43 secThreads: 1 Questions: 6 Slow queries: 0 Opens: 17 Open tables: 10 Queries per second avg: 0.008--------------
Hiç yorum yok:
Yorum Gönder