- 浏览: 50220 次
- 性别:
- 来自: 湖南
文章分类
最新评论
Discuz! X1.5 20110627 / php:5.3.8 firefox:8.0 mozilla:5.0
Memory usage 6,598,704 bytes, peak 7,097,528 bytes / Queries 13 in 0.220896s / Include files 16 / ModID forum::viewthread
[TOP] QueriesAjax QueriesEnvionmentInclude Files$_COOKIE | update.php
Memory usage 6,598,704 bytes, peak 7,097,528 bytes / Queries 13 in 0.220896s / Include files 16 / ModID forum::viewthread
[TOP] QueriesAjax QueriesEnvionmentInclude Files$_COOKIE | update.php
Queries: 13
-
0.000534s • SELECT * FROM pre_common_session WHERE sid='1b5JG2' AND CONCAT_WS('.', ip1,ip2,ip3,ip4)='127.0.0.1'
-
0.001243s • SELECT /*!40001 SQL_CACHE */ * FROM pre_common_syscache WHERE cname IN ('smilies','smileytypes','forums','usergroups','ranks','stamps','bbcodes','custominfo','groupicon','threadtableids','threadtable_info','usergroup_7','setting','style_default','cronnextrun')
-
0.000553s • SELECT /*!40001 SQL_CACHE */ * FROM pre_common_syscache WHERE cname IN ('usergroup_10')
-
0.000905s • SELECT t.tid, t.closed, f.*, ff.* , f.fid AS fid
FROM pre_forum_thread t
INNER JOIN pre_forum_forum f ON f.fid=t.fid
LEFT JOIN pre_forum_forumfield ff ON ff.fid=f.fid
WHERE t.tid='29802' AND (t.displayorder>='0' OR (t.displayorder IN ('-4', '-3', '-2') AND t.authorid='0')) LIMIT 1
-
0.000608s • SELECT * FROM pre_forum_thread t WHERE tid='29802' AND (displayorder>='0' )
-
0.000654s • SELECT /*!40001 SQL_CACHE */ * FROM pre_common_syscache WHERE cname IN ('threadsort_option_3','threadsort_template_3')
-
0.000310s • SELECT optionid, value, expiration FROM pre_forum_typeoptionvar WHERE tid='29802'
-
0.000584s • UPDATE LOW_PRIORITY pre_forum_thread SET views=views+1 WHERE tid='29802'
-
0.057817s • SELECT p.*
FROM pre_forum_post p
WHERE p.tid='29802' AND p.invisible='0' ORDER BY p.dateline LIMIT 0, 10
-
0.000545s • SELECT /*!40001 SQL_CACHE */ * FROM pre_common_syscache WHERE cname IN ('bbcodes_display','smileycodes','icons','domainwhitelist')
-
0.107385s • SELECT m.uid, m.username, m.groupid, m.adminid, m.regdate, m.credits, m.email, m.status AS memberstatus,
ms.lastactivity, ms.lastactivity, ms.invisible AS authorinvisible,
mc.*, mp.gender, mp.site, mp.icq, mp.qq, mp.yahoo, mp.msn, mp.taobao, mp.alipay,
mf.medals, mf.sightml AS signature, mf.customstatus
FROM pre_common_member m
LEFT JOIN pre_common_member_field_forum mf USING(uid)
LEFT JOIN pre_common_member_status ms USING(uid)
LEFT JOIN pre_common_member_count mc USING(uid)
LEFT JOIN pre_common_member_profile mp USING(uid)
WHERE m.uid IN ('10540','14531','14440','13419')
-
0.000567s • SELECT /*!40001 SQL_CACHE */ * FROM pre_common_syscache WHERE cname IN ('advs')
-
0.000471s • UPDATE pre_common_session SET `sid`='1b5JG2',`ip1`='127',`ip2`='0',`ip3`='0',`ip4`='1',`uid`='0',`username`='',`groupid`='7',`invisible`='0',`action`='2',`lastactivity`='1322638850',`fid`='17',`tid`='29802',`lastolupdate`='0' WHERE sid='1b5JG2'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_common_session | system | sid | 1 |
File | Line | Function |
source\class\class_core.php | 661 | db_mysql->query() |
source\class\class_core.php | 863 | db_mysql->fetch_first() |
source\class\class_core.php | 823 | DB->_execute() |
source\class\class_core.php | 1024 | DB->fetch_first() |
source\class\class_core.php | 331 | discuz_session->init() |
source\class\class_core.php | 68 | discuz_core->_init_session() |
forum.php | 50 | discuz_core->init() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_common_syscache | range | PRIMARY | PRIMARY | 66 | 15 | Using where |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\function\function_core.php | 617 | DB::query() |
source\function\function_core.php | 557 | cachedata() |
source\class\class_core.php | 524 | loadcache() |
source\class\class_core.php | 69 | discuz_core->_init_setting() |
forum.php | 50 | discuz_core->init() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_common_syscache | const | PRIMARY | PRIMARY | 66 | const | 1 |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\function\function_core.php | 617 | DB::query() |
source\function\function_core.php | 557 | cachedata() |
source\class\class_core.php | 531 | loadcache() |
source\class\class_core.php | 69 | discuz_core->_init_setting() |
forum.php | 50 | discuz_core->init() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | t | const | PRIMARY,displayorder,typeid,authorid | PRIMARY | 3 | const | 1 | |
1 | SIMPLE | f | const | PRIMARY | PRIMARY | 3 | const | 1 | |
1 | SIMPLE | ff | const | PRIMARY | PRIMARY | 3 | const | 1 |
File | Line | Function |
source\class\class_core.php | 661 | db_mysql->query() |
source\class\class_core.php | 863 | db_mysql->fetch_first() |
source\class\class_core.php | 823 | DB::_execute() |
source\function\function_forum.php | 425 | DB::fetch_first() |
forum.php | 52 | loadforum() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | t | const | PRIMARY | PRIMARY | 3 | const | 1 |
File | Line | Function |
source\class\class_core.php | 661 | db_mysql->query() |
source\class\class_core.php | 863 | db_mysql->fetch_first() |
source\class\class_core.php | 823 | DB::_execute() |
source\module\forum\forum_viewthread.php | 33 | DB::fetch_first() |
forum.php | 59 | require() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_common_syscache | range | PRIMARY | PRIMARY | 66 | 2 | Using where |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\function\function_core.php | 617 | DB::query() |
source\function\function_core.php | 557 | cachedata() |
source\function\function_threadsort.php | 267 | loadcache() |
source\module\forum\forum_viewthread.php | 175 | threadsortshow() |
forum.php | 59 | require() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_forum_typeoptionvar | ref | tid | tid | 3 | const | 11 |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\function\function_threadsort.php | 273 | DB::query() |
source\module\forum\forum_viewthread.php | 175 | threadsortshow() |
forum.php | 59 | require() |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\module\forum\forum_viewthread.php | 715 | DB::query() |
source\module\forum\forum_viewthread.php | 331 | viewthread_updateviews() |
forum.php | 59 | require() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | p | ref | invisible,displayorder,first | displayorder | 4 | const,const | 9 | Using where |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\module\forum\forum_viewthread.php | 468 | DB::query() |
forum.php | 59 | require() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_common_syscache | range | PRIMARY | PRIMARY | 66 | 4 | Using where |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\function\function_core.php | 617 | DB::query() |
source\function\function_core.php | 557 | cachedata() |
source\function\function_post.php | 466 | loadcache() |
source\module\forum\forum_viewthread.php | 475 | messagecutstr() |
forum.php | 59 | require() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | m | range | PRIMARY | PRIMARY | 3 | 4 | Using where | |
1 | SIMPLE | mf | eq_ref | PRIMARY | PRIMARY | 3 | ultrax.m.uid | 1 | |
1 | SIMPLE | ms | eq_ref | PRIMARY | PRIMARY | 3 | ultrax.m.uid | 1 | |
1 | SIMPLE | mc | eq_ref | PRIMARY | PRIMARY | 3 | ultrax.m.uid | 1 | |
1 | SIMPLE | mp | eq_ref | PRIMARY | PRIMARY | 3 | ultrax.m.uid | 1 |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\module\forum\forum_viewthread.php | 501 | DB::query() |
forum.php | 59 | require() |
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | pre_common_syscache | const | PRIMARY | PRIMARY | 66 | const | 1 |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB::_execute() |
source\function\function_core.php | 617 | DB::query() |
source\function\function_core.php | 557 | cachedata() |
source\function\function_core.php | 1420 | loadcache() |
data\template\1_diy_forum_viewthread.tpl.php | 143 | adshow() |
source\module\forum\forum_viewthread.php | 673 | include() |
forum.php | 59 | require() |
File | Line | Function |
source\class\class_core.php | 863 | db_mysql->query() |
source\class\class_core.php | 837 | DB->_execute() |
source\class\class_core.php | 800 | DB->query() |
source\class\class_core.php | 1072 | DB->update() |
source\function\function_core.php | 61 | discuz_session->update() |
data\template\1_diy_forum_viewthread.tpl.php | 1035 | updatesession() |
source\module\forum\forum_viewthread.php | 673 | include() |
forum.php | 59 | require() |
相关推荐
在这个系统中,"dz/ScoreQuery.aspx"可能是系统的主入口页面,负责处理成绩查询的相关请求。"成绩"和"成绩查询"是系统的核心功能,允许用户根据不同的条件查找和查看个人或他人的得分情况。 在设计和实现成绩查询...
try_files $uri $uri/ /index.php?$query_string; } ``` 这使得Nginx在找不到实际文件时,将请求转发给PHP解释器。 需要注意的是,伪静态规则的设置需要与论坛的实际URL结构相匹配,否则可能导致404错误或者页面...
- `DB::query()`:执行SQL语句。 - `DB::fetch_first()`:获取查询结果集的第一条记录。 2. 其他系统调用:如用户信息获取、帖子插入等功能,通常在`souce/function/`目录下的相应文件中实现。 四、创建插件实践...
$db->query("UPDATE $tablename SET `tid`='$tid' WHERE `contentid`=$contentid"); //tid插入结束 } }//add end代码添加后效果如图:第四步:下载附件的 bbs.php 文件放到网站根目录下修改该文件的几项参数分别...
【标题】"在DZ上轻松实现AJAX简单两例"揭示了如何在Discuz!论坛平台上运用AJAX技术来实现动态交互功能。AJAX(Asynchronous JavaScript and XML)是一种在无需重新加载整个网页的情况下,能够更新部分网页的技术。在...
C#语法受到了C++和Java的影响,同时引入了许多新的特性,如垃圾回收、自动类型推断和 LINQ(Language Integrated Query)等。 1. **基础概念**:在C#中,一切皆为对象,它基于类,支持封装、继承和多态等面向对象的...
4. **查询数据库内容**:`dz> run app.provider.query content://wappush --projection "* from 'sms' ORDER BY date ASC LIMIT 1;--"` 这个命令允许你查询指定的 URI(如 `content://wappush`),并执行 SQL 查询...
SQL(Structured Query Language,结构化查询语言)是一种功能强大的数据库语言,广泛应用于与各种数据库的交互。它被美国国家标准学会(ANSI)认定为关系型数据库管理系统(RDBMS)的标准语言。SQL主要用于执行以下...
$db->query("REPLACE INTO {$tablepre}memberfields(uid, gender, location) VALUES('$uid', '$fufuok', '$ffokok')"); ``` ##### 步骤四:更新语言文件 为了支持上述更改,我们还需要更新语言文件,确保显示的错误...
1. **基本查询**: EF提供了LINQ(Language Integrated Query)支持,使得开发人员可以在C#或VB.NET代码中直接书写查询。这包括单表查询、多表连接查询、分页查询、排序、过滤和投影等。 2. **异步查询**: EF支持...
对于SQL查询,`DB::query()`函数执行普通的SQL语句,而`DB::num_rows()`则用于获取查询结果集的总条数。`DB::_execute()`用于执行低级别的MySQL命令,比如`DB::_execute('command', $parameters)`。 `DB::limit(n, ...
在其下面添加下面的函数function get_one($SQL,$type = '',$result_type = MYSQL_ASSOC){$query = $this->query($SQL,$type);$returnrow =& mysql_fetch_array($query,$result_type);return $returnrow;}3. ...
危险区域 x 危险点 LOD 挑战日本 2014 年可视化类别优秀奖获奖作品“”是一个可以应用于其他数据的...var dz_query = (function () {/* SELECT DISTINCT * FROM <http://lod.sfc.keio.ac.jp/challenge2013/show_s
1.如是Apache服务器,操作...请将 /discuz 修改为 / RewriteBase /discuzxx # Rewrite 系统规则请勿修改 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1 Rewri
3. `sign`:认证签名,使用MD5加密算法,签名字符串为`9dbbada61d4811dz896dc88ad261a170`与当前时间戳和`method`拼接后进行MD5加密。 4. `param`:调用方法的参数数组,以JSON格式传递,包含两个关键参数: - `...
找到论坛程序文件config/config_global.php,用记事本打开该文件,然后查找$_config[‘security’][‘querysafe’][‘status’]将其设置为0,继续查找$_config[‘admincp’][‘runquery’]将其设置为1即可。...
例如,登录到`iqn.2013-04.com.yze3dz02500002.ess3116x:testlun0`,可以使用`iscsiadm -m node -T iqn.2013-04.com.yze3dz02500002.ess3116x:testlun0 -l`。如果LUN有CHAP认证,需要先在`/etc/iscsi/sendtargets/,,...
10. **图形化管理工具**:MySQL Administrator和MySQL Query Browser等工具的推出,使得MySQL 5.0的管理和操作更加直观易用,降低了用户的学习曲线。 在压缩包文件`mysql-5.0.45-win32`中,包含了安装MySQL 5.0.45...
通过分析慢查询日志(启用`log-slow-queries`和设置`long_query_time`),找出执行效率低下的SQL语句。例如,对于如下查询: ```sql SELECT t.* FROM cdb_posts p, cdb_threads t WHERE t.fid IN ('37', '45', '4',...
描述中提到的“从DZ上搞出来”可能指的是数据来源于某个论坛或平台,比如Discuz!,而“数据直接通过PHPMYADMIN导入即可”说明这个数据集是为MySQL数据库设计的,可以通过常见的数据库管理工具PHPMyAdmin方便地导入。...