CodeIgniter Forums
What do Active Record parallel queries do? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: What do Active Record parallel queries do? (/showthread.php?tid=2161)



What do Active Record parallel queries do? - El Forum - 07-19-2007

[eluser]jtotheb[/eluser]
In the wiki there is "Active Record parallel queries" and i'm trying to work out what it does.

I'll be quite honest and say that i don't really understand.

Does it mean that if i have a query with say 5 where statements, i can split that query up into 5, run them all at once, where they will run quicker? then come out with one result?

I tried reading about it on the internet but it was confusing!


What do Active Record parallel queries do? - El Forum - 05-05-2008

[eluser]edesign[/eluser]
I believe the issue is the same as I am having, I have a large page that sets up a single query operation. Now I want to use the active record class for another query, but during the other queries setup. If I try to use the active record class again, it will screw up the setup of my initial query, hear is hoping that the Parallel Query function allows me to label the second query so that it doesn't interfere with the existing one.

-Eric


What do Active Record parallel queries do? - El Forum - 01-27-2014

[eluser]LevZabudko[/eluser]
Just updated this page for 2.1.3:
https://github.com/EllisLab/CodeIgniter/wiki/Active-Record-parallel-queries