- Jun 14, 2008
- 55
- 0
- 66
I think, perhaps I could use SQL script to delete the orphan data in database? Then gallery2 would not get slower and slower. Anyone knows how to make it?
The gallery2 has integrity check module that checks the db but does not repair it.
Last Run Details:
Checked 175 entities
Orphaned data in table AccessMap with no row in AccessSubscriberMap table; ids: 387, 388, 390, 391, 392, 727, 728, 729, 730, 731, 732, 733, 734, 735, 789, 790, 791, 792, 793, 794, 795, 796, 797, 850, 851, 852, 853, 854, 855, 856, 857, 858, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598
First I need a sql to view the orphan records
Then sql to delete the orphan records.
See attached files here: http://www.dbforums.com/mysql/...abase.html#post6429988
I attach my AccessMap, AccessSubscriberMap SQL tables here.
I tried to wrte it myself but I'm not a programmer so...
I also attach my fixed tables (I deleted by hand)
Thanks for your help.
The gallery2 has integrity check module that checks the db but does not repair it.
Last Run Details:
Checked 175 entities
Orphaned data in table AccessMap with no row in AccessSubscriberMap table; ids: 387, 388, 390, 391, 392, 727, 728, 729, 730, 731, 732, 733, 734, 735, 789, 790, 791, 792, 793, 794, 795, 796, 797, 850, 851, 852, 853, 854, 855, 856, 857, 858, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598
First I need a sql to view the orphan records
Then sql to delete the orphan records.
See attached files here: http://www.dbforums.com/mysql/...abase.html#post6429988
I attach my AccessMap, AccessSubscriberMap SQL tables here.
I tried to wrte it myself but I'm not a programmer so...
I also attach my fixed tables (I deleted by hand)
Thanks for your help.
