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

This widget could not be displayed.

Hi Ganesh,

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

Hope it helps.

Cheers,
Septa Cahyadiputra

This widget could not be displayed.

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,
John

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.

Cheers,
Septa Cahyadiputra

This widget could not be displayed.

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

459 views 3 17
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