|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Why does "Find all threads/posts" take so long to load?
Hey everyone,
I was wondering if anyone has noticed why "Find all threads/posts" take so long to load? Even for a 1 post person: Quote:
I find that weird.
__________________
|
|
#2
|
||||
|
||||
|
I've noticed that before too, but always thought it's becuase of the size of the db for here. Hundreds of thousands of threads and millions of posts to search through won't exactly be a 2 second query.
Although, I have been wrong before ![]()
__________________
The No Ma'am commandments: 1.) It is O.K. to call hooters 'knockers' and sometimes snack trays 2.) It is wrong to be French 3.) It is O.K. to put all bad people in a giant meat grinder 4.) Lawyers, see rule 3 5.) It is O.K. to drive a gas guzzler if it helps you get babes 6.) Everyone should car pool but me 7.) Bring back the word 'stewardesses' 8.) Synchronized swimming is not a sport 9.) Mud wrestling is a sport |
|
#3
|
||||
|
||||
|
True, but a simple:
Code:
SELECT poster FROM some_table WHERE poster='Blah' Would be rather fast. Unless they are scowing the entire DB and checking each and every poster for the username. |
|
#4
|
||||
|
||||
|
Quote:
These tables are unfortunately a little more complex than that. Thread tables, post tables, keyword tables, hash tables. They are all huge, especially when joining them together. Now, if you give us an example of a search that you think should be quick, we can research more in-depth why it took so long. But Id need to know everything about that search. And yeah, we are searching literally millions of records. Rich |
|
#5
|
||||
|
||||
|
__________________
~James [Not currently seeking freelance work] Like philosophy or interested in spirituality? Philosophorum. Game Dev Experts Forums Foresight Linux - Because your desktop should be cool! Linux FAQ FedoraFAQ UbuntuGuide |
|
#6
|
||||
|
||||
|
We are looking into this now
|
|
#7
|
||||
|
||||
|
We did some query optimization to you search script and added extra indexes to our database to speed up search process.
Quote:
Now this search take about 0.05 Sec |
|
#8
|
||||
|
||||
|
Quote:
So to answer your question why it took so long, by default it seems that vbulletin does not have that table indexed by userid. Keep in mind that each index added to a table takes up precious disk space. With a new index on one of the biggest tables, we just took up another 5% of disk. |
|
#9
|
||||
|
||||
|
That's a big difference - nice one Admins
![]() |
|
#10
|
||||
|
||||
|
You guys are absolutely awesome. That's one hell of a speed improvement!
|
![]() |
| Viewing: Dev Shed Forums > Forum Information > Suggestions & Feedback > Why does "Find all threads/posts" take so long to load? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|