The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
It makes queries to the post table faster because the index orders the posts. So, queries that look for posts since a given date are significantly sped up.
|
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
an DB index is for all data in the table, not just for the new ones
btw. to speed up the getnew post you can add also an index to thread.lastpost it reduced the gen time on vb.org from .27 to .07 |
#14
|
||||
|
||||
Good tips.
|
#15
|
||||
|
||||
Any other places where an index might help speed things up?
|
#16
|
||||
|
||||
Any drawbacks to doing this? Can it be un-done?
|
#17
|
||||
|
||||
@boofo: currently i don't know any others, but i'm sure there can be some.
but it's also depending on your hacks and so on, where you could need an index @Dolby: well each index requires DB Space you can see on the tablestatistics how much space the data takes and how much the indexes take. yes it can be un-done |
#18
|
||||
|
||||
FWIW, I added indexes to post.dateline, thread.lastpost as well as thread.lastposter - did speed things up at my site.
|
#19
|
||||
|
||||
Quote:
|
#20
|
||||
|
||||
Is there any downsides to doing this ?
Also what should i do to implement this ? Basic instructions would be appreciated ( nooB here ) |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|