Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2002, 01:09 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Not a request but a Problem

Hope you can follow me on this one .

me tester board which is hack free is giving 25-27 queries as standard is that correct and thats with a clean install.

Now i take the user table from my boards database (nothing else just the user table to get members name/passwprd/email etc)

Now the queries rise to 91

How is this possible with no hacks installed and is there hope for me to reduce the queries.I dont want all the members to have to re reg but i also dont want all them queries running esp when i aint installed any hacks.

Now remember this is a fresh install and all i want is the info from main board sucah as pass /email

but when i download the user table and run it as a query here is a list of what it runs.

PHP Code:
DROP TABLE IF EXISTS user;
CREATE TABLE user (
   
userid int(10unsigned NOT NULL auto_increment,
   
usergroupid smallint(5unsigned NOT NULL,
   
username varchar(50NOT NULL,
   
password varchar(50NOT NULL,
   
email varchar(50NOT NULL,
   
styleid smallint(5unsigned NOT NULL,
   
parentemail varchar(50NOT NULL,
   
coppauser smallint(6NOT NULL,
   
homepage varchar(100NOT NULL,
   
icq varchar(20NOT NULL,
   
aim varchar(20NOT NULL,
   
yahoo varchar(20NOT NULL,
   
signature mediumtext NOT NULL,
   
adminemail smallint(6NOT NULL,
   
showemail smallint(6NOT NULL,
   
invisible smallint(6NOT NULL,
   
usertitle varchar(250NOT NULL,
   
customtitle smallint(6NOT NULL,
   
joindate int(10unsigned NOT NULL,
   
cookieuser smallint(6NOT NULL,
   
daysprune smallint(6NOT NULL,
   
lastvisit int(10unsigned NOT NULL,
   
lastactivity int(10unsigned NOT NULL,
   
lastpost int(10unsigned NOT NULL,
   
posts smallint(5unsigned NOT NULL,
   
karma smallint(5) DEFAULT '10' NOT NULL,
   
karmaability tinyint(1) DEFAULT '1' NOT NULL,
   
karmashow tinyint(1) DEFAULT '1' NOT NULL,
   
timezoneoffset varchar(4NOT NULL,
   
emailnotification smallint(6NOT NULL,
   
buddylist mediumtext NOT NULL,
   
ignorelist mediumtext NOT NULL,
   
pmfolders mediumtext NOT NULL,
   
receivepm smallint(6NOT NULL,
   
emailonpm smallint(6NOT NULL,
   
pmpopup smallint(6NOT NULL,
   
pmpopupfull smallint(6NOT NULL,
   
avatarid smallint(6NOT NULL,
   
options smallint(6) DEFAULT '15' NOT NULL,
   
birthday date DEFAULT '0000-00-00' NOT NULL,
   
maxposts smallint(6) DEFAULT '-1' NOT NULL,
   
startofweek smallint(6) DEFAULT '1' NOT NULL,
   
ipaddress varchar(20NOT NULL,
   
referrerid int(10unsigned NOT NULL,
   
nosessionhash smallint(6NOT NULL,
   
showleftcolumn smallint(6) DEFAULT '1' NOT NULL,
   
starlevel varchar(5NOT NULL,
   
starimg varchar(25NOT NULL,
   
messagepopup tinyint(2NOT NULL,
   
newsfader smallint(6NOT NULL,
   
receivebulletin smallint(5unsigned DEFAULT '1' NOT NULL,
   
inforum smallint(5unsigned NOT NULL,
   
award tinytext NOT NULL,
   
startedthreads smallint(5unsigned NOT NULL,
   
startedpubs smallint(5unsigned NOT NULL,
   
forumviewset varchar(250) DEFAULT '219|2:98|2:22|2:252|2:120|2:128|2:61|2:' NOT NULL,
   
downloads text NOT NULL,
   
storep int(9),
   
insurance varchar(20),
   
custompageviews int(20NOT NULL,
   
custompage mediumtext NOT NULL,
   
custompagename varchar(50NOT NULL,
   
enablecustompage smallint(5unsigned DEFAULT '1' NOT NULL,
   
bmallow smallint(6NOT NULL,
   
bmwarn int(10unsigned NOT NULL,
   
bmban int(10unsigned NOT NULL,
   
bmreported int(6unsigned NOT NULL,
   
timeonline int(10NOT NULL,
   
money smallint(5unsigned NOT NULL,
   
bank int(234unsigned NOT NULL,
   
savemt int(10unsigned NOT NULL,
   
warninglvl int(10NOT NULL,
   
arcadepass int(255NOT NULL,
   
journal smallint(6NOT NULL,
   
PRIMARY KEY (userid),
   
KEY usergroupid (usergroupid),
   
KEY username (username),
   
KEY referrerid (referrerid),
   
KEY inforum (inforum),
   
KEY referrerid_2 (referrerid)
); 
What can i delete and most importantly how can i delte em before running the query as obviously something here is causing the queries to rise beyond belief.

Cheers for any help.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10813 seconds
  • Memory Usage 2,271KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete