ConfD User Community

Maapi_query_start() takes too long


#1

Hi.

I’m testing maapi query api to use.

maapi_query_start() takes too much as the entries increase.

It seems like time increases linearly(O(n)) as the number of populated entries increase.

Following is the table I measured.
(For example, when 41472 lists are populated, it takes about 2.64 seconds to query once.)

Is this normal ?
Is there any way to decrease query time ?

number
of entries -> query time(sec)
1 -> 0.011079
1152 -> 0.105451
10368 -> 0.671406
41472 -> 2.649081

Regards


#2

Can you provide the YANG model and query code that were used to do the performance measurement? What is the specification on your hardware?