Home › Forums › Calendar Products › Community Events › Query is too long for organizers info and venue info methods
- This topic has 5 replies, 3 voices, and was last updated 9 years, 11 months ago by
Support Droid.
-
AuthorPosts
-
May 6, 2016 at 11:33 am #1111620
Jonathan Goldford
ParticipantHey guys,
We’re seeing some errors in our clients logs (hosted on WP Engine) where the query is too long: (KILLED QUERY (19054 characters long generated in <path>/plugins/the-events-calendar/src/Tribe/Main.php:3536) * also same error for line 3444. We see this when loading any of the event pages in Admin and it takes a good while to load any page. So looks like the queries in get_venue_info and get_organizer_info are causing this.
Looking at our database, 3,660 venues with 1,215 of those as pending. For organizers, we have 3,235 with 1,100 as pending. Are we hitting a limitation here with the amount of data? Or is there any kind of workaround to narrow that query down or any settings we can use to keep the query from getting killed by WP Engine? Just trying to gather some ideas on what steps we can take to remedy this one.
Thanks guys for all your help!
Casey
May 6, 2016 at 11:40 am #1111629George
ParticipantHey Casey,
Sorry for the trouble here. Those numbers of venues and organizers is indeed quite large, but we of course don’t expect there to be outright timeouts here.
I will escalate this to a developer on our team for some deeper insight into what might be causing this, and if there’s anything we can recommend to help. I would recommend opening a support ticket with WP Engine in the meantime to the same end.
Stay tuned!
GeorgeMay 6, 2016 at 11:45 am #1111633George
ParticipantHey Casey—one thing worth trying here is setting a WP Engine option called WPE_GOVERNOR.
To test if this helps, try adding this line of code to your theme’s wp-config.php file:
define( 'WPE_GOVERNOR', false );
Cheers!
GeorgeMay 6, 2016 at 2:14 pm #1111703Jonathan Goldford
ParticipantHi George,
Thanks for getting back so quick on this and getting this in front of the developers. I’m going to open a ticket with WP Engine and look at testing the GOVERNOR option and see what comes about. I’ll reply back once I’ve heard from WPE and tested the option.
Thanks again!
Casey
May 6, 2016 at 6:48 pm #1111780George
ParticipantSounds good Casey—thanks for your patience here, let us know what you find! I will keep this thread updated in the meantime if we, too, have any other updates to post.
Thank you,
GeorgeMay 21, 2016 at 9:35 am #1117410Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Query is too long for organizers info and venue info methods’ is closed to new replies.
