As many of you know, posting can be very slow on Cemetech, while everything else completes in a very reasonable amount of time, helping us have fast page loads. Wherein lies the culprit? For a long time, I have suspected something with the search database getting updated, and comicIDIOT and I discussed a good way to check. I logged the time for the add_search_words() call to complete for a few recent posts:
Code:
As you can see, unacceptably high numbers. I'm debating a bunch of possible solutions, including marking some of the words with frequencies around 5000-10000 and higher as common, non-indexable words (which would more than halve the size of the word to post relation table) or turning off some portions of the search. For now, I'll delve deeper into that call and see what I find. Any suggestions?
Code:
Add search: 13.91 = 1319884255.98 to 1319884269.89<br />
Add search: 1.62 = 1319884424.22 to 1319884425.84<br />
Add search: 4.18 = 1319884488.98 to 1319884493.16<br />
Add search: 2.18 = 1319885458.05 to 1319885460.23<br />
Add search: 2.05 = 1319885958.26 to 1319885960.31<br />
Add search: 6.42 = 1319887679.05 to 1319887685.47<br />
Add search: 11.57 = 1319891898.01 to 1319891909.59<br />
As you can see, unacceptably high numbers. I'm debating a bunch of possible solutions, including marking some of the words with frequencies around 5000-10000 and higher as common, non-indexable words (which would more than halve the size of the word to post relation table) or turning off some portions of the search. For now, I'll delve deeper into that call and see what I find. Any suggestions?