Welcome Guest, Not a member yet? Register   Sign In
Firebird Driver Finally!!
#12

[eluser]Myles Wakeham[/eluser]
Hi Carlos, thanks for doing this. We really need it.

I've been using Firebird since 2006 with CI, but never used the native CI libraries for this because of poor performance. The CI libraries, from what I've seen and from a cursory review of your code as well, uses the COUNT(*) command to determine max number of rows so that pagination can be supported. This works great in MySQL but in Firebird as you probably know, as is the case with any other version supported database, is really bad in performance.

I took a quick look at your code and I see that you are using the COUNT(*) basis for this with queries, and I suspect you'll encounter the very same issues I found with this - queries are REALLY slow for large table sets. I'm not sure what the answer is to address this, but I ended up writing an entire separate library based on some existing code, and with the help of Firebird expert Alan McDonald, to do this that is based around the EZSql code libraries, and since pretty much all of my queries are done to stored procedures, I can get this to work fine for performance.

I'm not sure if you have any ideas of how to get around avoiding using COUNT(*) altogether, but I think its needed if this is to perform with larger data sets (ie. more than 20,000 rows in a query).

Thoughts?

Myles


Messages In This Thread
Firebird Driver Finally!! - by El Forum - 10-20-2010, 10:59 PM
Firebird Driver Finally!! - by El Forum - 10-20-2010, 11:46 PM
Firebird Driver Finally!! - by El Forum - 10-21-2010, 12:12 AM
Firebird Driver Finally!! - by El Forum - 10-22-2010, 08:39 AM
Firebird Driver Finally!! - by El Forum - 10-26-2010, 01:56 PM
Firebird Driver Finally!! - by El Forum - 10-26-2010, 11:28 PM
Firebird Driver Finally!! - by El Forum - 10-27-2010, 11:42 AM
Firebird Driver Finally!! - by El Forum - 10-27-2010, 12:45 PM
Firebird Driver Finally!! - by El Forum - 10-27-2010, 01:10 PM
Firebird Driver Finally!! - by El Forum - 10-27-2010, 11:09 PM
Firebird Driver Finally!! - by El Forum - 10-28-2010, 12:38 PM
Firebird Driver Finally!! - by El Forum - 10-29-2010, 06:56 AM
Firebird Driver Finally!! - by El Forum - 03-20-2012, 11:05 AM
Firebird Driver Finally!! - by El Forum - 03-20-2012, 12:24 PM
Firebird Driver Finally!! - by El Forum - 03-21-2012, 05:10 AM
Firebird Driver Finally!! - by El Forum - 04-23-2012, 09:55 AM
Firebird Driver Finally!! - by El Forum - 04-25-2012, 08:33 AM
Firebird Driver Finally!! - by El Forum - 06-11-2012, 10:30 PM
Firebird Driver Finally!! - by El Forum - 06-14-2012, 04:23 PM
Firebird Driver Finally!! - by El Forum - 06-28-2012, 02:03 AM
Firebird Driver Finally!! - by El Forum - 07-21-2012, 11:01 PM
Firebird Driver Finally!! - by El Forum - 10-15-2014, 09:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB