[TYPO3-english] sys_refindex
Douglas La Farge
douglas.lafarge at gmail.com
Tue Nov 29 04:12:50 CET 2011
We're having an issue with one of our sites and it seems to be related to the table sys_refindex.
currently this table has about 2.2 million records in it. when the site locks up a look at the mysqld processlist shows a long long list of Locked queries involving this table.
restarting mysqld "fixes" the status of the website - it become responsive again.
So my question is:
1) what's this table for? looking at the processlist there are queries queued that when ran at the command line return no results.
2) can the table be emptied? is it possible those 2.2 million records should not be there? what sort of bad things will happen if this table gets emptied?
973445 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=2
973617 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='tx_dam' AND recuid=12991
973721 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=2
974503 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=2
974576 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='tt_news' AND recuid=62743
974757 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='tt_news' AND recuid=62735
975084 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='tx_dam' AND recuid=13001
975143 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=3214
975162 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=4719
975164 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=2
975424 site1_cms_user localhost site1_cms Query 8474 Locked SELECT * FROM sys_refindex WHERE tablename='pages' AND recuid=3225
982787 site1_cms_user localhost site1_cms Query 8475 Locked INSERT INTO sys_refindex
regards,
Doug
More information about the TYPO3-english
mailing list