BIND 10 #1188: performance consideration in getRecords()/getAllRecords()

BIND 10 Development do-not-reply at isc.org
Mon Aug 22 11:12:27 UTC 2011


#1188: performance consideration in getRecords()/getAllRecords()
-------------------------------------+-------------------------------------
            Reporter:  jelte         |                        Owner:
                Type:  enhancement   |                       Status:  new
            Priority:  major         |                    Milestone:  New
           Component:  data source   |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 (this came out of discussion in #1083)

 Currently, in the refactored data source code, the sqlite version creates
 individual sqlite3_stmt structures for each call to getRecords() and
 getAllRecords(). This is pretty clean (as they are also finalized on the
 same level), and allows for multiple iterators over the data at the same
 time.

 However, should we not need that property, it is not necessary to
 prepare() the query for each statement, so we may want to reconsider this
 if we are looking for performance improvements.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1188>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list