FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Slow Query
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Slow Query [message #35065] Mon, 04 December 2006 23:39 Go to next message
Crimson is currently offline  Crimson   United States
Messages: 51
Registered: June 2005
Location: Phoenix, AZ
Karma: 0
Member
This query keeps showing up in my slow query log. Can you help me identify which feature is requesting this?

SELECT
                                        m.*,
                                        u.alias,
                                        t.forum_id,
                                        p.name AS poll_name, p.total_votes,
                                        m2.subject AS th_subject,
                                        m3.subject AS reply_subject,
                                        f.name AS frm_name,
                                        c.name AS cat_name
                                FROM
                                        fud_msg m
                                        INNER JOIN fud_thread t ON m.thread_id=t.id
                                        INNER JOIN fud_forum f ON t.forum_id=f.id
                                        INNER JOIN fud_cat c ON c.id=f.cat_id
                                        INNER JOIN fud_msg m2 ON t.root_msg_id=m2.id
                                        LEFT JOIN fud_msg m3 ON m3.id=m.reply_to
                                        LEFT JOIN fud_users u ON m.poster_id=u.id
                                        LEFT JOIN fud_poll p ON m.poll_id=p.id

                                WHERE
                                         t.moved_to=0 AND m.apr=1 ORDER BY m.post_stamp ASC LIMIT 0,100;
Re: Slow Query [message #35071 is a reply to message #35065] Tue, 05 December 2006 15:31 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
RSS feed is running this query.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to convert all FUDforum from ISO-8859-1 to UTF-8?
Next Topic: How to merge two forums?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 20:25:20 GMT 2024

Total time taken to generate the page: 0.02429 seconds