The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Modification to IP Searches
Is there a way to possibly modify the IP search to only search the last 30 or 60 days of posts (instead of the past 4 years in my case)? With a little over 5.2 million posts, searching IP addresses normally crashes the server (or brings it pretty close). Normally when I need to do an IP search the past 30 or 60 days is sufficient to track down the person with more than one account.
Thoughts? |
#2
|
||||
|
||||
Why not try adding an index to the ip field in the post table ?
|
#3
|
|||
|
|||
Yup, adding an index to the IP will solve most problems:
[sql]ALTER TABLE post ADD INDEX ipaddress(ipaddress ASC);[/sql] |
#4
|
||||
|
||||
Strange that there is no index on that field already... is there a reason why there wasn't an index on that field to begin with?
|
#5
|
|||
|
|||
Seems that Jelsoft is a bit conservative on index usage. They tend only to use primary keys to reduce storage and access time when updating tables.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|