hi,
This question is about DBPut and DBGet,
Can i put about 1000 keys in a single family, (only once for the lifetime)
for ex.
exten => _X.,5,DBput(family/key1=${val})
...
exten => _X.,5,DBput(family/key1000=${val})
like above and if i later retrieve it, randomely, with inbound calls,
will it affect performance?
Surajee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20030909/dc9b19d3/attachment.htm
On Tuesday 09 September 2003 06:00, Surajee Ratnayake wrote:> hi, > > This question is about DBPut and DBGet, > Can i put about 1000 keys in a single family, (only once for the > lifetime) for ex. > exten => _X.,5,DBput(family/key1=${val}) > ... > exten => _X.,5,DBput(family/key1000=${val}) > > like above and if i later retrieve it, randomely, with inbound calls, > will it affect performance?Nope, it should work just fine. -Tilghman
>hi, > >This question is about DBPut and DBGet, >Can i put about 1000 keys in a single family, (only once for the lifetime) >for ex. > exten => _X.,5,DBput(family/key1=${val}) > ... > exten => _X.,5,DBput(family/key1000=${val}) > >like above and if i later retrieve it, randomely, with inbound calls, >will it affect performance? > >Surajee1) Don't post in HTML. 2) Have you tried this before asking? It seems to be a simple thing to test on your own. 3) I have 50+ DBGets in some of my dialplans, which has no noticeable delay except when monitoring via the CLI. JT