My Oracle Support Banner

Is there a Recommended Size for max_allowed_packet (Doc ID 2451058.1)

Last updated on OCTOBER 28, 2018

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.

Goal

https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_allowed_packet

To understand the relationship of few of the packet sizing variables in MySQL and their use , eg for replication.

Depending on the application in use, there may be a requirement to set a specific size ( typically an up to N number ) for packet sizes.

This will allow the application to communicate with the server with packet sizes larger than the default:

Default Value (>= 5.6.6) 4194304
Default Value (<= 5.6.5) 1048576
Default Value (>= 8.0.3) 67108864


 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.