summaryrefslogtreecommitdiff
path: root/.gitreview
diff options
context:
space:
mode:
authorJames Li <yueli.m@gmail.com>2016-06-08 15:40:48 +0000
committerJames Li <yueli.m@gmail.com>2016-08-12 15:54:36 +0000
commitf40681c3dff446a733305430c411d9a9bddb3ee6 (patch)
tree2acf34eecd94f16a90f662e8756ef326766f2f1f /.gitreview
parentaddc6b0df8b4bf90e036475965a0d5ff15116f2d (diff)
downloaddesignate-f40681c3dff446a733305430c411d9a9bddb3ee6.tar.gz
Improve performance of recordsets API
The performance of /v2/recordsets API was found slow when filtering on large amount of recordsets. The patch proposes the following ways to improve the performance, and was tested with 1M recordsets. 1. To explicitly mention a correct table index in sql queries for different sort keys and filtering keys. We found mysql optimizer is not able to choose the most suitable index; 2. Introduce a new header 'OpenStack-DNS-Hide-Counts' to give operators the flexibility of showing total_count or not, because we found that the count query does not scale well on a large amount of records. Performance results are at: https://gist.github.com/jamesyli/2eb9fb474a493477a9beb42fe122180f DB migration Change-Id: I7f3a09ce2c7396ff6ad02d3b5d562d186f66ed30
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions