What kind of data stored in PLUGINDATA table of confluence database?

I keep getting error

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `PLUGINDATA` at row: 27

then I have checked the table and found there is a blob type column there. Just wondering what kind of data gets stored in this blob. Hope it is not any jar file.

3 answers

1 accepted

Hi Ganesh,

PLUGINDATA stored the jar files of all installed plugins on Confluence.

Hope it helps.

Septa Cahyadiputra

Hi Ganesh,

The data stored in the PLUGINDATA table is actually the 3rd-party plugins that you install into your instance. However, the error you are receiving for the 'max_allowed_packet' size is related to your MySQL database not allowing a sufficient packet size for the installed plugin and therefore you should increase that by following the instructions in this Knowledge Base article to resolve this issue: https://confluence.atlassian.com/display/JIRAKB/Exceeds+Max+Allowed+Packet+for+MySQL

All the best,

Why jar files are being stored in database?

Its for Confluence clustered environment. To ensure that all the nodes is having the same plugins installed. During the startup process, this JAR files will be intialized to the HOME directory.

Hope it helps.

Septa Cahyadiputra

This is most probably a mysqldump error. See here http://www.serveridol.com/2010/10/10/mysqldump-error-2020-got-packet-bigger-than-max_allowed_packet-bytes-when-dumping-table/

Finally the real solution is you need to add the “max_allowed_packets” parameter along with the mysqldump. mysqldump is notorious for ignoring this value in my.cnf, but setting it as the command line parameter always works.

#mysqldump -u root -p –max_allowed_packet=512M -B database –tables tblblogdb > dump.sql

I think it’s always better to run large mysqldump from another server from the same network which help to reduce disk resource and cpu power during the peak hours. Here is the one sample,
#$MYSQLDUMP –max_allowed_packet=1G -u $MyUSER -h $MyHOST -p$MyPASS -B $db | bzip2 > $FILE

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

466 views 8 27
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you