[wp-trac] [WordPress Trac] #15052: The screen turns white once I add over 4000 pages.
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 6 20:21:07 UTC 2010
#15052: The screen turns white once I add over 4000 pages.
--------------------------+-------------------------------------------------
Reporter: Lyncis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version:
Severity: normal | Keywords: wp_list_pages, get_pages
--------------------------+-------------------------------------------------
Dear Sirs! While attempting to post over 4000 pages using wordpress, a
part of admin interface dies instantly (I am talking about the part
showing the list of website pages)and also the frontend goes dead. I
suspect that the problems is caused by the "wp_list_pages" function, which
in turn summons another function, which is "get_pages". In the line 3177
of the "get_pages" functions there is /wp-includes/post.php contains SQL
call which draws all the date from the POSTS table:
$query = "SELECT * FROM $wpdb->posts $join WHERE ($where_post_type) $where
";
A part of it is in an unnecessary field, namely post_content – which I see
as the cause of wordpress failure once great number of pages is added.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15052>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list