Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

K77295034: MySQL | BIG-IP TMOS operations guide

https://my.f5.com/manage/s/article/K77295034
Published Date: Oct 09, 2018 UTC Updated Date: Feb 15, 2023 UTC

Applies to

BIG-IP AAM : [15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X,
14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X,
13.0.1, 13.0.0, 13.0.X, 13.X.X, 12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5,
11.6.4, 11.6.3, 11.6.2, 11.6.1, 11.6.0, 11.6.X]

BIG-IP AFM : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X,
12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2, 11.6.1,
11.6.0, 11.6.X]

BIG-IP APM : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X,
12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2, 11.6.1,
11.6.0, 11.6.X]

BIG-IP ASM : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X,
12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2, 11.6.1,
11.6.0, 11.6.X]

BIG-IP Analytics : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8,
15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3,
14.1.2, 14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X,
13.X.X, 12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2,
11.6.1, 11.6.0, 11.6.X]

BIG-IP DNS : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X,
12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X]

BIG-IP Distributed Cloud Services : [17.0.0, 17.X.X]

BIG-IP FPS : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X]

BIG-IP GTM : [11.6.5, 11.6.4, 11.6.3, 11.6.2, 11.6.1, 11.6.0, 11.6.X]


BIG-IP LTM : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X,
12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2, 11.6.1,
11.6.0, 11.6.X]

BIG-IP Link Controller : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8,
15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3,
14.1.2, 14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X,
13.X.X, 12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2,
11.6.1, 11.6.0, 11.6.X]

BIG-IP PEM : [17.0.0, 17.0.X, 17.X.X, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.1.X, 16.0.1, 16.0.0, 16.0.X, 16.X.X, 15.1.8, 15.1.7,
15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.1.X, 15.0.1, 15.0.0, 15.0.X, 15.X.X, 14.1.5, 14.1.4, 14.1.3, 14.1.2,
14.1.0, 14.1.X, 14.0.1, 14.0.0, 14.0.X, 14.X.X, 13.1.5, 13.1.4, 13.1.3, 13.1.1, 13.1.0, 13.1.X, 13.0.1, 13.0.0, 13.0.X, 13.X.X,
12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0, 12.1.X, 12.0.0, 12.0.X, 12.X.X, 11.6.5, 11.6.4, 11.6.3, 11.6.2, 11.6.1,
11.6.0, 11.6.X]

Chapter 14: MySQL

Table of contents | << Previous chapter | Next chapter >>

Contents

Chapter sections

Background
MySQL database daemon
Special requirements

Background

Important: It is not necessary to do any optimization or maintenance tasks for a MySQL deployment.

F5 does not support direct manipulation of the MySQL database. Do not perform operations on the MySQL database
unless directed to do so by F5 Support or an AskF5 article. You can view error messages in the
/var/lib/mysql/mysqld.err or /var/log/mysql.out files if necessary.

Even for extremely busy BIG-IP systems, use of the MySQL database by the BIG-IP system is typically very light.

MySQL database daemon

Your BIG-IP system includes the MySQL database process (mysqld) which is the MySQL server. This server manages
access to the MySQL data directory, /var/lib/mysql which contains databases and tables that store data such as:

BIG-IP Advanced Firewall Manager (AFM) DoS/DDoS information and policy logs.
BIG-IP Application Security Module (ASM) policies and request logging.
BIG-IP Access Policy Manager (APM) session reporting, logging, and LocalDB and OAuth data.
Application Visibility and Reporting (AVR) statistics.

The MySQL server also manages data for the following additional BIG-IP products:

BIG-IP Carrier Grade NAT (CGNAT)


BIG-IP Policy Enforcement Manager (PEM)
BIG-IP Acceleration Manager (AM)
BIG-IP Secure Web Gateway (SWG) and URL Categorization DB (URLDB)
Virtual Clustered Multiprocessing (vCMP)

Note: The MySQL database process does not run if none of the aforementioned modules are provisioned.

F5 has implemented the following measures by default:

BIG-IP ASM policies are automatically exported and included in a UCS backup. For more information, refer to
Backup and Data Recovery.
AVR statistics are regularly purged to keep the size of the tables under a million records, and the overall size of
the database under 2GB.
BIG-IP APM log data is regularly purged to keep the maximum number of entries under 5 million records.

Special requirements

If you have special requirements of the MySQL database, such as exporting of the data to long-term storage, it is best to
contact F5 Professional Services for assistance in creating a supported solution.

BIG-IP TMOS operations guide

Chapter 1: Guide introduction and contents


Chapter 2: Quick Start Guides
Chapter 3: F5 iHealth
Chapter 4: Operating Environment
Chapter 5: Hardware Diagnostics
Chapter 6: VIPRION
Chapter 7: Drive Maintenance
Chapter 8: Licenses and Entitlement
Chapter 9: Backup and Data Recovery
Chapter 10: Software Updates
Chapter 11: Networking and Cluster Health
Chapter 12: Log Files and Alerts
Chapter 13: Modules
Chapter 15: Caches
Chapter 16: External APIs
Chapter 17: Security
Appendix A: Outside the Box
Appendix B: Deployment and Response Methodologies
Appendix C: Support Incident Report

Related Content
About operations guides
Optimizing the support experience
K6979: Managing the MySQL database password for the BIG-IP system
K14194: Troubleshooting the BIG-IP ASM MySQL database
K05755225: Checking and repairing MySQL databases on the BIG-IP system
K53030991: Managing MySQL binary log files

You might also like