cheesegrits
Support Gopher
Try running that query by hand again. Just replace any occurences of #_ with your site's db prefix. As Troester says, that's simply because the db prefix replacement happens within J!'s database API, so at the point we render the debug for it, the query still has #_'s instead of the db prefix.
Nope, no size limits beyond what your system can handle. HOWEVER ... remember that we aren't just selecting rows. We are rendering the element data, as if it was going to be output for display. And that takes time - orders of magnitude more than simply selecting raw data from a database. Usually when you display a table, you aren't trying to render more than 20 or so rows of data for display. Trying to render thousands of rows can take a lot of time, and may well run you out of script execution time.
Erm ... if you don't actually need any list data, and just want to run some PHP ... don't select a list. Should be as simple as that. Selecting a list is optional. Not selecting one just means $data will be empty instead of being populated with list data.
-- hugh
Is there a size limitation on the list's data when using crons? The lists I am trying to point to that aren't working have more data than the simple lists that do work. Nothing crazy, ~1,000s versus ~100s of rows.
Nope, no size limits beyond what your system can handle. HOWEVER ... remember that we aren't just selecting rows. We are rendering the element data, as if it was going to be output for display. And that takes time - orders of magnitude more than simply selecting raw data from a database. Usually when you display a table, you aren't trying to render more than 20 or so rows of data for display. Trying to render thousands of rows can take a lot of time, and may well run you out of script execution time.
Just a word on the cron, I am just looking for a well-traveled list to point to in order to crunch some data. I'm not actually using the list's data in the processing. There is a lot of processing and it isn't able to complete in a single run on my shared hosting. So it is set to run repeatedly (every minute) until it completes which takes several hours depending on the traffic to my list. Perhaps there is another way to accomplish this?
Erm ... if you don't actually need any list data, and just want to run some PHP ... don't select a list. Should be as simple as that. Selecting a list is optional. Not selecting one just means $data will be empty instead of being populated with list data.
-- hugh