The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Speedup IP Searching?
Is there a way to speedup searching in the admincp by IP address?
I was looking to remove some from the database, but realized they are part of the posts table. :ermm: The board has over 1,000,000 posts, and over 90,000 members altho a lot of those might be pruned soon. Some ideas for improving the IP search in admincp would be great, or if I could be pointed to some mods for speeding it up that would be great too. |
#2
|
|||
|
|||
Easy. If you have a lot of disk space, add an index to your post table on the ip address field. It will run real fast. Big board generally need this.
|
#3
|
|||
|
|||
Thanks for the reply.
Can you let me know a bit more about what this is going to do? How does it speed it up, and why will I need more disc space (i'll have to ask the board owner about that one)? |
#4
|
|||
|
|||
Quote:
The disk space is required whenever you add an index, since the index will need to be stored on the hard disk. It will take a percentage of the size of the post table, so it's not too big (not bigger than the actual post table) |
#5
|
|||
|
|||
OK Thanks a lot for your help.
I will go ahead and try this, then post back with the results. It worked! Thanks a lot for the help! |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
Quote:
1. If you have phpMyAdmin, just scroll and click on the post table, which will show the table's fields. Then on the ipaddress field, click the index button. 2. Or, from the admin panel MySQL tool, enter this query: ALTER TABLE 'post' ADD INDEX ( `ipaddress` ) (add the table prefix to 'post' if you use one. |
#8
|
|||
|
|||
Thanks, it works great.
|
#9
|
|||
|
|||
Is there a similar way to add an index to the table that's searched for users online? It would be nice to have it on without killing the server.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|