Ok we have a way of XOOPS being one of the fastest CMS systems with a few fixes, if what we have done is right…
There can be one primary index...and the rest reduced or modified......
The reason XOOPS sites are slowing is index's! we don't need so many….
Check on Wikipedia what a Primary index is for....and you see it is like any other index.....yet must contain certain criteria these include...:
it must be something new each time...
it can not have duplicates of its self....
fair enough everyone thinks lets use that and a ID and that will save time...correct and it does........
yet then it finds that primary index...and then says.....mmmmm now need another index for the information, as you also have a storage of that running?
So instead....what it needs to do and what we have done to our own site...is if an id and secondary id have been placed...these in fact are one, they count the same information twice that is all...
As a reference is this, when a category index....
links to category ID for one and then to topic also in primary...as the two are symbiotically linked you can't have one without the other....
So when calling the database of our own site, now it says....need this information from the category
It finds this through searching of the primary index's being the main purpose of that table and it’s index…so called primary....
PHP needs tables
Not index's
The index is a way of MySql questioning its self....and searching that information for important key points within it....
To save searching time...not to add it....
So also with anything small enough, also with a sequential number of it own that are there to link these have been added in one go as primary so as soon as the database looks for it, it has it.....(we added the title to the primary index also on some occasions, yet may make these text)...
so then now the database...in MySql is ready for the questioned being asked of it self...
not that it firsts search an id...then has to wait for the information to be processed of a secondary index....or if so, the primary containing the number of id and linking extra id so it is easily placed when looked at to begin with not after a second search.
some other CMS systems we looked at, to learn about this...had chosen a different route and to leave just id's used as primary and nothing else....
yet within the CMS in question, you see overload running…. as when there is a lot of questions………….it is finding the id's fine............yet then needs to look each time for anything it is asked question of…..i.e.…. user name ect or titles of things....
So in ours now the only time a secondary index is added is when it is something that is less important, yet still needs to be searched.....(else a text-index being there for all bodies of texts to be next to it’s id)
our site see how it runs and if we get any complaints from our server company....
yet considering we have had 7 host before e this one...and each is due to server load....
we ran this as written on our WAMP server being my laptop…. which at the XOOPS site over-powering normally; runs its fans so is audibly noticeable…. the moment XOOPS over-runs, trying to find extra search that make no sense...
Now though, there isn't anything; in fact my home server seems much happier without the banner...going oops someone made another index...we don't need?
So my question now follow all of this and if all goes well and nothing goes wrong; which doubt it will....
how on earth do we go about re-shaping XOOPS MySql....understand can have an update MySql....yet this also requires most of peoples modules being reformed also...
Yet only dropping index's which isn't something, we have had to do much other then manually....as.....can figure out how to drop a database and re-set it, yet that will drop everyone’s information....
So how to, just drop the key's and make them primary without replacing any other data?
How do we do this...as after as you can see on our site...it is nearing one of the fastest CMS systems going...