/
How to find the memory consumed by database tables using SQL for Confluence app
How to find the memory consumed by database tables using SQL for Confluence app
This article explains how to find the memory consumed by the database tables using the SQL for Confluence app.
Instructions
- Log in to Confluence, navigate to the required page where you want to display the memory information.
Edit the page, and, enter {sql or search for the SQL for Confluence macro.
You must know the Data source profile name that needs to be used to run queries given in the following instructions.
If you do not know which profile name to be used, contact your Confluence Administrator before proceeding.- Edit the macro and select the Data source profile.
In the SQL statement field, provide the below query to display the disk space consumed by respective tables in MB.
In the below example, jira_test1 is the database name and the query is tested on MySql DB.SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size (MB)' FROM information_schema.TABLES WHERE table_schema = "jira_test1";
Click Save settings.
- Save your Confluence page and you can see the size of the table as shown:
Refer to this link to know more about database source profiles in Confluence.
, multiple selections available,
Related content
How to get usage information about the SQL for Confluence app
How to get usage information about the SQL for Confluence app
More like this
How to get the app usage for Advanced Tables for Confluence
How to get the app usage for Advanced Tables for Confluence
More like this
How to find all pages that use SQL for Confluence (Pro Edition) macros via database
How to find all pages that use SQL for Confluence (Pro Edition) macros via database
More like this
How to review the macro usage of Advanced Tables for Confluence app in the cloud
How to review the macro usage of Advanced Tables for Confluence app in the cloud
More like this
How to get the app usage details for Space tree for Confluence
How to get the app usage details for Space tree for Confluence
More like this
How to create a temporary MySQL table using the SQL for Confluence (Pro edition) app
How to create a temporary MySQL table using the SQL for Confluence (Pro edition) app
More like this