{"id":24032,"date":"2021-05-15T17:00:41","date_gmt":"2021-05-15T15:00:41","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=24032"},"modified":"2021-12-23T11:58:50","modified_gmt":"2021-12-23T10:58:50","slug":"how-to-check-wordpress-disk-usage","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-check-wordpress-disk-usage\/","title":{"rendered":"How to Check Your WordPress Disk Usage"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]Every WordPress website occupies a certain amount of disk space that is supplied and maintained by the hosting provider. But, there is often a limit on how much disk space a website can use. Disk space is occupied by two things\u2014WordPress files and the database. The former includes the WordPress core files, theme and plugin files, as well as any uploaded files (images, custom fonts, videos, and so on). The latter includes page and post data, plugins and themes settings, user information, and various types of metadata. Although disk space limit isn\u2019t a problem when you\u2019re starting out, by adding new content to your website or uploading files to your server, you will likely reach the disk space limit sooner or later. [\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]When the disk space limit is reached, you won\u2019t be able to add new content, and your website won\u2019t be able to grow. When faced with this obstacle, most WordPress owners decide to buy additional storage space from their hosting providers or to move their website to a different host that offers more storage space. However, there is another way to tackle this issue\u2014keep your disk usage optimized by removing unnecessary data. This will increase your website\u2019s performance while cutting down on unnecessary expenses for improper storage space use.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Before you can start optimizing, you need to know how to check WordPress disk usage. And answering that question will be the focus of our article. We\u2019ll introduce you to different methods you can use and share some general tips on optimizing WordPress disk usage. If you\u2019d like to skip to any specific part of the article, just click on one of the links below:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#using-site-health-dashboard-tool\">Using Site Health dashboard tool<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#using-cpanel\">Using cPanel<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#using-wordpress-plugins\">Using WordPress plugins<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#checking-with-your-hosting-provider\">Checking with your hosting provider<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#tips-for-optimizing-your-wordpress-disk-usage\">Tips for optimizing your WordPress disk usage<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-top-picks-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">The 4 ways of checking WordPress disk usage<\/h2>\n<p>[\/vc_column_text][vc_column_text]It\u2019s important to check WordPress disk usage from time to time so it doesn\u2019t reach its limit with you unaware. And, now that you know what to look out for (inability to upload files), you\u2019ll want to figure out how to run the actual check. In this article, we will introduce you to the four most frequently used ways for checking WordPress disk usage. You should examine them all to see which one suits you and is compatible with your type of hosting. With that being said, let\u2019s begin.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"using-site-health-dashboard-tool\"><\/a>Using Site Health dashboard tool<\/h3>\n<p>[\/vc_column_text][vc_column_text]The Site Health dashboard tool was introduced in the WordPress 5.2 update and it can display a lot of useful data regarding your website and database. This includes errors and potential improvements, a general overview of your website, its themes and plugins, the sizes of corresponding directories and database, as well as some server-related data. Alongside all that, it can be used to check the WordPress disk usage.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To access the Site Health tool, <strong>navigate to Tools &gt; Site Health<\/strong>. Once there, you will see two tabs in the top section of your screen\u2014<em>Status<\/em> and <em>Info<\/em>. <em>Status<\/em> will be opened by default and you should <strong>switch to the <em>Info<\/em> tab by clicking on it<\/strong>. Then <strong>look for the section called <em>Directories and Sizes<\/em>.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"663\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Site-Health.jpg\" class=\"attachment-full size-full\" alt=\"Site Health\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Site-Health.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Site-Health-300x205.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Site-Health-768x525.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Site-Health-620x424.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In this section, you will find the most important information regarding your disk usage. This includes the WordPress directory size as well as uploads, themes, and plugins directory sizes. You will also find the database size and the total size, which represents the sum of all the directory sizes we listed.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"using-cpanel\"><\/a>Using cPanel<\/h3>\n<p>[\/vc_column_text][vc_column_text]cPanel is a web hosting control panel that allows website owners to perform various website administration tasks within their browsers. This is done by using the graphical user interface (GUI) that cPanel provides. In this case, we will be taking advantage of the File Manager and phpMyAdmin applications integrated within cPanel. We will show you how to get a detailed overview of the size of your WordPress files and database tables using them.[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Size of your WordPress files<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To find out the size of your WordPress files,<strong> log in to cPanel<\/strong> and <strong>click on the<em> Disk Usage<\/em> option<\/strong>, located in the Files section.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Files-Disk-Usage.jpg\" class=\"attachment-full size-full\" alt=\"cPanel Files Disk Usage\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Files-Disk-Usage.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Files-Disk-Usage-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Files-Disk-Usage-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Files-Disk-Usage-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]After waiting a bit, <strong>you will be able to see a list of all the directories currently on the server as well as their sizes in megabytes.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/List-of-All-Directories.jpg\" class=\"attachment-full size-full\" alt=\"List of All Directories\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/List-of-All-Directories.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/List-of-All-Directories-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/List-of-All-Directories-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/List-of-All-Directories-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Locate your directory in that list<\/strong> and <strong>take a look at the size of all files and folders<\/strong> within it.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage.jpg\" class=\"attachment-full size-full\" alt=\"cPanel Disk Usage\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>For a more granular report, scroll down to the section below the list.<\/strong> You will see a list of directories similar to the one found above.<strong> To locate the one you want easily, you can sort the directories by name or disk usage using the <em>Sort directories by<\/em> option.<\/strong> Once you\u2019ve located your website directory, <strong>you will be able to see its size and, by opening the subfolders within it, you will be able to see their size as well.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"586\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Directories.jpg\" class=\"attachment-full size-full\" alt=\"cPanel Disk Usage Directories\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Directories.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Directories-300x181.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Directories-768x464.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Directories-620x375.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Database size<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To find the database size in cPanel,<strong> return to the main window<\/strong> and <strong>click on the <em>MySQL Databases<\/em> option<\/strong> found in the Databases section.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"637\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Databases.jpg\" class=\"attachment-full size-full\" alt=\"cPanel Databases\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Databases.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Databases-300x197.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Databases-768x505.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Databases-620x408.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In the following window, <strong>locate the <em>Current Databases<\/em> section<\/strong>. Inside it, you will find a list of all your databases found on the server. <strong>To locate the one you want, use the search option. Type in the name of the database<\/strong> and <strong>click on the <em>Go<\/em> button<\/strong>. You will find its size displayed within the <em>Size<\/em> column.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"709\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Size.jpg\" class=\"attachment-full size-full\" alt=\"cPanel Disk Usage Size\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Size.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Size-300x220.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Size-768x562.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/cPanel-Disk-Usage-Size-620x454.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In case you aren\u2019t sure what your database name is, you will need to figure it out before doing the steps mentioned above. <strong>To find your database name, you only need to examine your wp-config.php file.<\/strong> This file is located in the root WordPress directory, which is often called public_html.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In case you need to find your database name first, <strong>return to the main cPanel window<\/strong> and <strong>click on the <em>File Manager<\/em> option<\/strong> located in the Files section.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"512\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-File-Manager.jpg\" class=\"attachment-full size-full\" alt=\"Database File Manager\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-File-Manager.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-File-Manager-300x159.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-File-Manager-768x406.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-File-Manager-620x328.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>navigate to your root WordPress directory, find the wp-config.php file<\/strong> within, <strong>right-click on it<\/strong>, and <strong>select the <em>View<\/em> option<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"533\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-WP-Config.jpg\" class=\"attachment-full size-full\" alt=\"Database WP Config\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-WP-Config.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-WP-Config-300x165.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-WP-Config-768x422.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-WP-Config-620x341.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Look for the following line<\/strong> near the top of the file:[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define(\u2018DB_NAME\u2019, \u2018your_database_name\u2019);<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The placeholder we used (your_database_here) will be replaced with the name of your database.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"585\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-Name.jpg\" class=\"attachment-full size-full\" alt=\"Database Name\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-Name.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-Name-300x181.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-Name-768x464.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Database-Name-620x374.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you\u2019ve figured out your database name, proceed as mentioned above.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Similar to the WordPress directory sizes, you can get a more detailed overview of your database disk usage within cPanel, as well. To do so, you will need to access the phpMyAdmin application within cPanel.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Return to the main cPanel window<\/strong> and<strong> click on the phpMyAdmin option<\/strong>, also found within the Databases section.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Databases-phpMyAdmin.jpg\" class=\"attachment-full size-full\" alt=\"Databases phpMyAdmin\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Databases-phpMyAdmin.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Databases-phpMyAdmin-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Databases-phpMyAdmin-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Databases-phpMyAdmin-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The phpMyAdmin application will open shortly after. <strong>Locate your database from the list of available databases on the left<\/strong> and <strong>click once<\/strong> to access it. You will see a list of all the tables within that database in the main section of your screen. Then,<strong> you only need to examine the <em>Size<\/em> column to figure the size of each corresponding table<\/strong> within your database.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"711\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/phpMyAdmin-Size-Column.jpg\" class=\"attachment-full size-full\" alt=\"phpMyAdmin Size Column\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/phpMyAdmin-Size-Column.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/phpMyAdmin-Size-Column-300x220.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/phpMyAdmin-Size-Column-768x564.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/phpMyAdmin-Size-Column-620x455.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;78px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"using-wordpress-plugins\"><\/a>Using WordPress plugins<\/h3>\n<p>[\/vc_column_text][vc_column_text]There are a lot of WordPress plugins, and it isn\u2019t hard to find ones that can be used to check your WordPress disk usage. Aspects of disk checking can be found across various optimization-related plugins, but there are also plugins specifically made to display an overview of your WordPress disk usage. In this section, we will showcase one of each category (you can find alternative plugins relatively easily by browsing the WordPress plugins repository).<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Size of WordPress files<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The <a href=\"https:\/\/wordpress.org\/plugins\/disk-usage-sunburst\/\" target=\"_blank\" rel=\"noopener\">Disk Usage Sunburst<\/a> plugin is a simple and intuitive plugin for displaying the size of your WordPress files and folders in a sunburst chart. With it, you will get a detailed overview of the directory and file sizes, which will help you determine your optimization strategy.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]After <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-install-a-wordpress-plugin\/\">installing the plugin<\/a>, <strong>navigate to Tools &gt; Disk Usage<\/strong> where you will find that visual representation of the size of your WordPress files. You can hover over each section to see its size. By zooming in and out you can switch between a granular overview of a single directory and the whole root WordPress directory.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"617\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tools-Disk-Usage.jpg\" class=\"attachment-full size-full\" alt=\"Tools Disk Usage\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tools-Disk-Usage.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tools-Disk-Usage-300x191.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tools-Disk-Usage-768x489.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tools-Disk-Usage-620x395.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Database size<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The <a href=\"https:\/\/wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noopener\">WP-Optimize<\/a> plugin is a very useful, multi-purpose performance optimization plugin. It mostly focuses on cleaning your database, optimizing images, and properly caching your pages. One of the side features in the database optimization section is a general overview of the sizes of your WordPress database tables, which is perfect for checking WordPress disk usage.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]After installing the plugin, <strong>navigate to WP-Optimize &gt; Database<\/strong>. In there, you will be able to find a list of possible actions for optimizing your database, an overview of your database tables, and possible scheduling options. This article will only focus on the general overview of your database tables. To access it, <strong>click on the <em>Tables<\/em> tab<\/strong>, found in the top section of your screen. Once you access it, you will be able to see a list of the tables within your database and their corresponding sizes, shown within the <em>Data Size<\/em> column.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/WP-Optimize-Database.jpg\" class=\"attachment-full size-full\" alt=\"WP Optimize Database\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/WP-Optimize-Database.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/WP-Optimize-Database-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/WP-Optimize-Database-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/WP-Optimize-Database-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;60px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"708\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tables.jpg\" class=\"attachment-full size-full\" alt=\"Tables\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tables.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tables-300x219.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tables-768x561.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/05\/Tables-620x453.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In the case you want to know the total size of all the data within your database, you only need to look at the bottom of the <em>Data Size<\/em> column.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Additionally, you might notice the <em>Index Size<\/em> column next to the <em>Data Size<\/em> column. Database indexes are data structures appended to each database table and they are used to quickly track certain data. In essence, finding and retrieving specific data from the database is much quicker when going through the indexes instead of going through every row of every database table. Sadly, this efficiency comes at a price of small additional storage space.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Therefore, if you only want to find out the total size of your database (representing the sum of your data and corresponding indexes), you can see it at the bottom of the screen, next to the <em>Total size of database:<\/em> label.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"checking-with-your-hosting-provider\"><\/a>Checking with your hosting provider<\/h3>\n<p>[\/vc_column_text][vc_column_text]In the case you weren\u2019t able to properly check your WordPress disk usage with the methods mentioned so far, you can always ask your hosting provider for help. They will help you by providing a detailed report regarding all the things that are taking up your storage space. If the report you get is too technical for you or you have a hard time making use of it, ask them for advice on how to reduce the WordPress disk usage, as well. They will surely give you some tips and pointers tailored to your site that will help you. We included some generally applicable space-saving tips in the following section.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"tips-for-optimizing-your-wordpress-disk-usage\"><\/a>Tips for optimizing your WordPress disk usage<\/h2>\n<p>[\/vc_column_text][vc_column_text]You can do several things to optimize your WordPress disk usage. The ones we will cover in this section are the most commonly applied to various types of websites.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]First of all, you should make sure to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-optimize-images-for-web\/\">optimize all your images<\/a> using either a <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-image-compression-plugins\/\">WordPress plugin for image compression<\/a> or some image optimization software. This involves optimizing the image sizes and format.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Apart from that, make sure to <strong>regenerate your images and remove any unused image sizes<\/strong> that could be a part of themes or plugins you no longer use. Without removing those registered image sizes, a copy of each of your images in the given image size could needlessly be taking up your storage space. Luckily, <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-regenerate-thumbnails\/\">regenerating image sizes<\/a> and removing any unnecessary ones can be easily done using the <a href=\"https:\/\/wordpress.org\/plugins\/regenerate-thumbnails\/\" target=\"_blank\" rel=\"noopener\">Regenerate Thumbnails<\/a> plugin. Similarly, you should make sure to <strong>remove any unused media files<\/strong> from your website, as they could also represent a large portion of your database bloat.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Apart from that, you should<strong> remove additional website files, like old debug.log files that are no longer needed, or website backups that you can move to a different safe location outside your website server<\/strong>. Also, you should <strong>remove the directories of all themes and plugins that you don\u2019t plan on using<\/strong>, as they are needlessly taking up storage space.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Finally, you should optimize your database. This includes, among other things, removing unnecessary database tables and relational data belonging to the plugins and themes you don\u2019t use. Furthermore, you should remove unapproved, trashed, or spam comments as well as unnecessary post revisions, trashed, and auto-draft posts.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Final Thoughts<\/h2>\n<p>[\/vc_column_text][vc_column_text]The process of maintaining a WordPress website can generate a lot of unnecessary things, which can accumulate and decrease the amount of storage space you have. Regularly checking your WordPress disk usage every couple of months and deleting unnecessary data can help improve your website while keeping the costs of maintaining it to a minimum. Luckily, WordPress disk checkups can be done relatively easily using any of the methods described in this article. If you followed the instructions closely, we are confident that you were able to find the information you needed with ease. Additionally, optimizing your website afterward will be just as easy with the tips we included. Since this is something that needs to be done regularly, we suggest bookmarking this article for future reference as well.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Don&#8217;t get caught off guard by a lack of memory space for your site\u2014learn how to check WordPress disk usage before any problems occur.<\/p>\n","protected":false},"author":11229,"featured_media":24174,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[59,15,4,13],"class_list":["post-24032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-hosting","tag-plugins","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/24032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/11229"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=24032"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/24032\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/24174"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=24032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=24032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=24032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}