Knowledge Base
Browse topics, search articles, or explore recent contributions.
Browse Topics
Recent Articles
No articles yet.
Browse topics, search articles, or explore recent contributions.
No articles yet.
| # | Time | SQL | Params | Trace |
|---|---|---|---|---|
| 1 | 1.21ms | /* PDO CONNECT to 127.0.0.1:3306/knowledgebase */ | — | /var/www/html/kb/public/inc/db.php:29 DB::get() → /var/www/html/kb/public/inc/db.php:38 DB::query() → /var/www/html/kb/public/index.php:10 DB::all() |
| 2 | 2.16ms | SELECT a.id, a.slug, a.title, a.body_format, a.status, a.created_at, a.views, u.username, GROUP_CONCAT(t.title ORDER BY t.title SEPARATOR ', ') as topics FROM articles a JOIN users u ON u.id = a.created_by LEFT JOIN article_topics at2 ON at2.article_id = a.id LEFT JOIN topics t ON t.id = at2.topic_id WHERE 1=1 AND a.status = 'published' GROUP BY a.id ORDER BY a.created_at DESC LIMIT 12 | — | /var/www/html/kb/public/inc/db.php:38 DB::query() → /var/www/html/kb/public/index.php:10 DB::all() |
| 3 | 0.63ms | SELECT t.*, COUNT(at2.article_id) as article_count FROM topics t LEFT JOIN article_topics at2 ON at2.topic_id = t.id WHERE t.parent_id IS NULL GROUP BY t.id ORDER BY t.sort_order, t.title | — | /var/www/html/kb/public/inc/db.php:38 DB::query() → /var/www/html/kb/public/index.php:23 DB::all() |
| 4 | 0.56ms | SELECT id, parent_id, slug, title, sort_order FROM topics ORDER BY sort_order, title | — | /var/www/html/kb/public/inc/db.php:38 DB::query() → /var/www/html/kb/public/inc/functions.php:71 DB::all() → /var/www/html/kb/public/inc/cache.php:70 {closure:get_topic_tree():70}() → /var/www/html/kb/public/inc/functions.php:70 Cache::remember() |
| # | Op | Hit | Time | Key |
|---|---|---|---|---|
| 1 | GET | MISS | 0.48ms | topic_tree |
| 2 | SET | — | 0.24ms | topic_tree |