The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Quote:
|
#22
|
|||
|
|||
Quote:
|
#23
|
|||
|
|||
Quote:
|
#24
|
|||
|
|||
Quote:
Can you please take a look at my referrer statistics hack and tell me what do you think about the queries? :nervous: Please? :nervous: |
#25
|
||||
|
||||
Quote:
Code:
ALTER TABLE `user` ADD INDEX ( `referrerid` ) Read this article for more information: http://www.databasejournal.com/featu...0897_1382791_2 Even though your hack only has two queries, it completes two table scans. Table Scans are bad because it copies the entire table into memory and locks it until completed. This means no one's records can be updated or created while it is locked. On a small forum this may take milliseconds as MySQL looks at every record to see if it matches. On large forums it can take several seconds. |
#26
|
||||
|
||||
Most poeple have little idea how sql works, and how useful indexes are, that is why they are obsessed with hacks running "queries". A few simple reads on a well indexed table can take less than 100th of a second to run. Lots of people add fields to tables, but never think about indexes.
Back to the topic, A tick box for Runs/Adds queries is IMO pointless, anything except the most simple of hacks will almost certainly run at least one query. I would not waste my time filling it in. |
#27
|
||||
|
||||
Would there be another way of defining sever load for a mod? It would be good to know this before installing a hack. Maybe the number of queries or maybe there is another approach?
Myself I like a lot of hacks on vb.org, but installing to many may cause problems I suspect. I would appreciate your view in this. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|