ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How can we know the size of mysql database inside PC?

book

Article ID: 226432

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

How can we know the size of mysql database inside PC? 

Cause

How can we know the size of mysql database inside PC? 

Environment

Release: 20.2

Resolution

Login to CAPC server

cd /opt/CA/MySql/data

under data each folder will be a database.

run du -h

Example:

[[email protected] data]# du -h
21M     ./mysql
1.1M    ./performance_schema
676K    ./sys
181M    ./netqosportal
27M     ./em
4.4G    .

 

Netqosportal is using 181M from the above example