Welcome Guest, Not a member yet? Register   Sign In
CI profile help for db qureis.
#1

Hi
I need some help on profile, i am running 10 db query on my home page including 4 models, but in profiling results it show for $db following

DATABASE:  cms (page:$db)   QUERIES: 10 (0.0427 seconds)  (Hide)

for any model call on same page results are following

DATABASE:  cms (Model_m:$_database)   QUERIES: 10 (0.0087 seconds)

my question is CI executing 10 queries on each db or model call if yes than it is calling 10 queries on each model load. this is really confusing please somebody clear it. these are just 10 calls or more.

in my CI 2 profile log it show each call under $db, but with CI 3 it show 10 query for $db, also on each model.
Reply


Messages In This Thread
CI profile help for db qureis. - by umefarooq - 03-25-2018, 04:06 AM
RE: CI profile help for db qureis. - by InsiteFX - 03-25-2018, 06:01 AM
RE: CI profile help for db qureis. - by umefarooq - 03-25-2018, 10:39 PM
RE: CI profile help for db qureis. - by InsiteFX - 03-26-2018, 04:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB