I like my Magento database as clean as possible so whenever I uninstall an extension I also remove all data that was stored by this particular module from the database.
Now I noticed that there is some data stored in the extra column of the Admin_User Table too. It lists many old modules that I have removed in the past.
What is the purpose of this column and is it safe to remove the data that is related to exensions that are no longer installed?
1 Answer 1
In theory you can set a lot of things in the extra column in a serialized format.
But the core uses this to remember the expanded/collapsed fieldsets in the system->configuration sections.
So each time you expand/collapse a config fieldset a request is made to admin/system_config/state/?container={fieldset_id}&value={1-expanded|0-collapsed}.
the container name and value are saved in the extra column (see method Mage_Adminhtml_System_ConfigController::stateAction) and is later retrieved in the method Mage_Adminhtml_Block_System_Config_Form_Fieldset::_getCollapseState so you will see the fieldset just like you left it (expanded|collapsed).
I strongly advice on keeping the column.
You can remove the data from it, but this means that the next time you visit a system->cofiguration section all fieldsets will be collapsed.
- 
 Thank you @Marius for this explanation. After backing up my database I removed the entire value from theextracolumn in theAdmin_UserTable (just the value, not the column itself). This doesn't seem to cause any issues at all. After saving the config again a new value is stored into theextracolumn. All references to the old uninstalled extension are gone now.MatthijsIJ– MatthijsIJ2015年01月27日 10:28:16 +00:00Commented Jan 27, 2015 at 10:28
- 
 @marius In theory you can set a lot of things in the extra column in a json format. It's actually serialized format.Ashwani Shukla– Ashwani Shukla2015年10月13日 06:16:32 +00:00Commented Oct 13, 2015 at 6:16
Explore related questions
See similar questions with these tags.