Including Functions.php

Time Before: 0.00381 seconds
Time After: 0.00956 seconds
Time Taken: 0.00575 seconds

Memory Before: 3,736.375 KB
Memory After: 6,006.750 KB
Memory Used: 2,270.375 KB

Connect to Database on Server: zabvo.mysql

Time Before: 0.00962 seconds
Time After: 0.01022 seconds
Time Taken: 0.00059 seconds

Memory Before: 6,006.672 KB
Memory After: 6,010.273 KB
Memory Used: 3.602 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01036 seconds
Time After: 0.01043 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,010.305 KB
Memory After: 6,010.797 KB
Memory Used: 0.492 KB

Datastore Setup
SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('smiliecache','bbcodecache','mailqueue','bookmarksitecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY150 18Using index condition

Time Before: 0.01087 seconds
Time After: 0.01135 seconds
Time Taken: 0.00048 seconds

Memory Before: 6,013.734 KB
Memory After: 6,016.031 KB
Memory Used: 2.297 KB

Time Before: 0.01045 seconds
Time After: 0.01212 seconds
Time Taken: 0.00167 seconds

Memory Before: 6,009.906 KB
Memory After: 6,767.117 KB
Memory Used: 757.211 KB

SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('v3a_awards','profilefield')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY150 2Using index condition

Time Before: 0.01379 seconds
Time After: 0.01392 seconds
Time Taken: 0.00013 seconds

Memory Before: 7,546.820 KB
Memory After: 7,548.836 KB
Memory Used: 2.016 KB

Session Handling
SQL Query
SELECT *
FROM vb_session
WHERE userid = 0
	AND host = '18.97.14.87'
	AND idhash = '3baccf9796c876a91b207ca555fa88a5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_sessionrefguest_lookup,user_activityguest_lookup145const,const,const2Using where

Time Before: 0.01442 seconds
Time After: 0.01454 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,574.820 KB
Memory After: 7,577.023 KB
Memory Used: 2.203 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroupinfo AS lang_phrasegroupinfo,
			options AS lang_options,
			languagecode AS lang_code,
			charset AS lang_charset,
			locale AS lang_locale,
			imagesoverride AS lang_imagesoverride,
			dateoverride AS lang_dateoverride,
			timeoverride AS lang_timeoverride,
			registereddateoverride AS lang_registereddateoverride,
			calformat1override AS lang_calformat1override,
			calformat2override AS lang_calformat2override,
			logdateoverride AS lang_logdateoverride,
			decimalsep AS lang_decimalsep,
			thousandsep AS lang_thousandsep
FROM vb_language
WHERE languageid = 4
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_languageconstPRIMARYPRIMARY2const1 

Time Before: 0.01576 seconds
Time After: 0.01628 seconds
Time Taken: 0.00051 seconds

Memory Before: 7,586.781 KB
Memory After: 7,588.250 KB
Memory Used: 1.469 KB

Time Before: 0.01411 seconds
Time After: 0.01637 seconds
Time Taken: 0.00226 seconds

Memory Before: 7,568.797 KB
Memory After: 7,689.320 KB
Memory Used: 120.523 KB

SQL Query
SELECT *
FROM vb_datastore
WHERE title IN ('routes','profilefield')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_datastorerangePRIMARYPRIMARY150 2Using index condition

Time Before: 0.01669 seconds
Time After: 0.01679 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,703.289 KB
Memory After: 7,705.313 KB
Memory Used: 2.023 KB

SQL Query
SELECT post.*,
IF(post.visible = 2, 1, 0) AS isdeleted,


editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM vb_post AS post

LEFT JOIN vb_editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 77618
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01914 seconds
Time After: 0.01931 seconds
Time Taken: 0.00017 seconds

Memory Before: 8,011.766 KB
Memory After: 8,013.859 KB
Memory Used: 2.094 KB

SQL Query
SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,



post.pagetext AS description,
thread.*


FROM vb_thread AS thread




LEFT JOIN vb_post AS post ON(post.postid = thread.firstpostid)


WHERE thread.threadid = 18
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.01963 seconds
Time After: 0.01976 seconds
Time Taken: 0.00013 seconds

Memory Before: 8,020.164 KB
Memory After: 8,022.461 KB
Memory Used: 2.297 KB

SQL Query
SELECT MAX(permissions & 1) AS perm
FROM vb_cms_permissions
WHERE nodeid = 1 AND usergroupid IN (1)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_cms_permissionsconstusergroupid,nodeidusergroupid8const,const1 

Time Before: 0.02011 seconds
Time After: 0.02021 seconds
Time Taken: 0.00010 seconds

Memory Before: 8,049.000 KB
Memory After: 8,050.977 KB
Memory Used: 1.977 KB

SQL Query
SELECT *
FROM vb_style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_styleconstPRIMARYPRIMARY2const1 

Time Before: 0.02135 seconds
Time After: 0.02167 seconds
Time Taken: 0.00032 seconds

Memory Before: 8,276.719 KB
Memory After: 8,278.883 KB
Memory Used: 2.164 KB

End call of global.php: 0.022185087203979
SQL Query
SELECT title, template
FROM vb_template
WHERE templateid IN (982,981,4318,4316,3980,3525,3526,3528,3534,3533,3728,3732,3718,3719,3721,3720,3723,3725,3726,3727,3730,3426,3428,3430,3432,3434,3782,3786,3787,3788,3785,3855,3706,3705,3707,3712,3710,3879,3487,3488,3654,3481,3480,3483,3484,3497,3495,3989,715,4322,4323,0,0,980,974,3381,978,979,977,4312,3696,3992,3642,3646,3643,3644,3645,4008,0,0,3971,3973,3666,3667,3669,3670,3893,3935,3934,3984,3936,3493,3492,3496,3054,3055,3053,2903,2930,2921,2922,2929)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templaterangePRIMARYPRIMARY4 89Using index condition

Time Before: 0.02705 seconds
Time After: 0.02776 seconds
Time Taken: 0.00071 seconds

Memory Before: 10,593.578 KB
Memory After: 10,597.203 KB
Memory Used: 3.625 KB

SQL Query
SELECT COUNT(*) AS posts
FROM vb_post AS post
WHERE threadid = 18 AND visible = 1

AND dateline <= 1333078069
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 354Using where; Using index

Time Before: 0.03159 seconds
Time After: 0.03182 seconds
Time Taken: 0.00023 seconds

Memory Before: 10,829.609 KB
Memory After: 10,831.570 KB
Memory Used: 1.961 KB

SQL Query
SELECT  post.postid, post.attach
FROM vb_post AS post

WHERE post.threadid = 18
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 330, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const274Using where

Time Before: 0.03224 seconds
Time After: 0.03296 seconds
Time Taken: 0.00072 seconds

Memory Before: 10,838.648 KB
Memory After: 10,840.781 KB
Memory Used: 2.133 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	
	
	
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	,blog_user.entries
FROM vb_post AS post
LEFT JOIN vb_user AS user ON(user.userid = post.userid)
LEFT JOIN vb_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN vb_icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN vb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vb_customavatar AS customavatar ON(customavatar.userid = user.userid)

	
LEFT JOIN vb_editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN vb_postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 1 AND postparsed.languageid = 4)
LEFT JOIN vb_sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 4)
LEFT JOIN vb_sigpic AS sigpic ON(sigpic.userid = post.userid)

	LEFT JOIN vb_blog_user AS blog_user ON (blog_user.bloguserid = post.userid)
WHERE post.postid IN (077218,77219,77221,77499,77572,77573,77617,77618,77623,77629)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 10Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4zabvo_db.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4zabvo_db.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2zabvo_db.post.iconid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4zabvo_db.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4zabvo_db.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8zabvo_db.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8zabvo_db.user.userid,const,const1 
1SIMPLEblog_usereq_refPRIMARYPRIMARY4zabvo_db.post.userid1 

Time Before: 0.03368 seconds
Time After: 0.03448 seconds
Time Taken: 0.00080 seconds

Memory Before: 10,849.828 KB
Memory After: 10,861.992 KB
Memory Used: 12.164 KB

SQL Query
SELECT * FROM vb_post_thanks AS post_thanks INNER JOIN vb_user AS user USING (userid) WHERE post_thanks.postid IN (0077218,77219,77221,77499,77572,77573,77617,77618,77623,77629) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 30Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4zabvo_db.post_thanks.userid1Using index condition

Time Before: 0.03556 seconds
Time After: 0.03583 seconds
Time Taken: 0.00027 seconds

Memory Before: 11,120.188 KB
Memory After: 11,123.367 KB
Memory Used: 3.180 KB

SQL Query
SELECT template
FROM vb_template
WHERE templateid = 869
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templateconstPRIMARYPRIMARY4const1 

Time Before: 0.03620 seconds
Time After: 0.03629 seconds
Time Taken: 0.00009 seconds

Memory Before: 11,142.484 KB
Memory After: 11,144.492 KB
Memory Used: 2.008 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM vb_cache
WHERE cacheid = 'vb_types.types'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_cacheconstPRIMARYPRIMARY66const1 

Time Before: 0.03966 seconds
Time After: 0.03978 seconds
Time Taken: 0.00011 seconds

Memory Before: 12,004.180 KB
Memory After: 12,006.203 KB
Memory Used: 2.023 KB

SQL Query
SELECT template
FROM vb_template
WHERE templateid = 875
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templateconstPRIMARYPRIMARY4const1 

Time Before: 0.04052 seconds
Time After: 0.04060 seconds
Time Taken: 0.00008 seconds

Memory Before: 12,137.328 KB
Memory After: 12,139.336 KB
Memory Used: 2.008 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM vb_cache
WHERE cacheid = 'cms_priv_user_0'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_cacheconstPRIMARYPRIMARY66const1 

Time Before: 0.04325 seconds
Time After: 0.04334 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,668.508 KB
Memory After: 12,670.531 KB
Memory Used: 2.023 KB

SQL Query
SELECT template
FROM vb_template
WHERE templateid = 870
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templateconstPRIMARYPRIMARY4const1 

Time Before: 0.06228 seconds
Time After: 0.06239 seconds
Time Taken: 0.00011 seconds

Memory Before: 12,801.875 KB
Memory After: 12,803.883 KB
Memory Used: 2.008 KB

SQL Query
SELECT template
FROM vb_template
WHERE templateid = 876
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templateconstPRIMARYPRIMARY4const1 

Time Before: 0.06267 seconds
Time After: 0.06274 seconds
Time Taken: 0.00007 seconds

Memory Before: 12,835.516 KB
Memory After: 12,837.523 KB
Memory Used: 2.008 KB

Time after parsing all posts: 0.069530963897705 Memory After: 12,716KB
SQL Query
SELECT *
FROM vb_navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_navigationALL    36Using where; Using filesort

Time Before: 0.07058 seconds
Time After: 0.07081 seconds
Time Taken: 0.00023 seconds

Memory Before: 12,746.625 KB
Memory After: 12,752.664 KB
Memory Used: 6.039 KB

SQL Query
SELECT template
FROM vb_template
WHERE templateid = 872
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvb_templateconstPRIMARYPRIMARY4const1 

Time Before: 0.07264 seconds
Time After: 0.07273 seconds
Time Taken: 0.00009 seconds

Memory Before: 12,888.109 KB
Memory After: 12,890.148 KB
Memory Used: 2.039 KB

SQL Query
SELECT `enabled` FROM `vb_skimlinks` WHERE `userid` = 0
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.07299 seconds
Time After: 0.07306 seconds
Time Taken: 0.00006 seconds

Memory Before: 12,906.617 KB
Memory After: 12,908.641 KB
Memory Used: 2.023 KB

SQL Query
UPDATE vb_session
SET lastactivity = 1733569814, location = 'showthread.php?t=18&page=34', inforum = 5, inthread = 18, badlocation = 0
WHERE sessionhash = '29e87835cf1fe3464a4d893b247bce8b'

Time Before: 0.07514 seconds
Time After: 0.07542 seconds
Time Taken: 0.00029 seconds

Memory Before: 13,433.289 KB
Memory After: 13,433.516 KB
Memory Used: 0.227 KB

SQL Query
INSERT INTO vb_threadviews (threadid)
VALUES (18)

Time Before: 0.07548 seconds
Time After: 0.07566 seconds
Time Taken: 0.00018 seconds

Memory Before: 13,427.609 KB
Memory After: 13,428.000 KB
Memory Used: 0.391 KB

Page generated in 0.074431896209717 seconds with 26 queries, spending 0.0068747997283936 doing MySQL queries and 0.067557096481323 doing PHP things.
Shutdown Queries:
DISABLED