count_all_results() - is it optimized? |
I think that the ideal is use the cli for mysql in CI, I don't sure what is more fast method, in my case ever try to use the CI cli mode, I mean to this method in modal side:
$this->db->count_all_results(); Anyway you can use maybe this in your views printing the load time showing the load time: {elapsed_time} And test in different pages each one with one method :-), or think thats better use the class Benchmarking: https://www.codeigniter.com/userguide3/l...hmark.html |
Messages In This Thread |
count_all_results() - is it optimized? - by glorsh66 - 10-17-2017, 09:56 AM
RE: count_all_results() - is it optimized? - by oscarenzo - 10-24-2017, 08:49 AM
RE: count_all_results() - is it optimized? - by fbarrera - 10-24-2017, 09:15 AM
RE: count_all_results() - is it optimized? - by Narf - 10-24-2017, 12:48 PM
RE: count_all_results() - is it optimized? - by skunkbad - 10-25-2017, 08:12 AM
RE: count_all_results() - is it optimized? - by Narf - 10-25-2017, 08:36 AM
RE: count_all_results() - is it optimized? - by skunkbad - 10-25-2017, 10:50 AM
|