Think of BerkeleyDB as a barebones embedded RDBMS. It carries the much the same functionality (such as ACID) as most Relational DBs but without overhead (such as SQL translation) - for many years it formed (possibly still forms - not sure of present) the core of MySQL.<BR><BR><B><I>Steve Totaro <stotaro@totarotechnologies.com></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I guess I will give it a try. The numbers are pretty much static in the <BR>way they are routed.<BR><BR>I just did not know if Asterisk would choke on a conf file with a couple <BR>thousand lines.<BR><BR>Thanks,<BR>Steve<BR><BR>picciuX wrote:<BR>> don't know for conf size limitation (but i guess it won't be a problem <BR>> with a well-sized machine).<BR>><BR>> About asking on the fly vs writing on change: if your "routing <BR>> information" varies very often, on the fly should make more sense. <BR>>
Otherwise, it's not useful to retrieve continually same data: better <BR>> to write it down everytime it changes. Think 1000 numbers are not so <BR>> much, though i've no experience about that.<BR>><BR>> HopeThisHelps<BR>><BR>> 2006/9/11, Steve Totaro <STOTARO@TOTAROTECHNOLOGIES.COM <br>> <mailto:stotaro@totarotechnologies.com>>:<BR>><BR>> I have almost 1,000 800 numbers that are routed any number of ways.<BR>> Currently I call on fastagi which checks a database and returns the<BR>> extension or route that DID is supposed to take.<BR>><BR>> The DIDs are all over the place as far as sequence, so pattern<BR>> matching<BR>> is out of the question.<BR>><BR>> My question is, is there a max file size for a conf file? Will<BR>> defining<BR>> the routing for each of the 1,000 DIDs in extensions.conf effect<BR>> performance or eat up huge amounts of RAM? I assume these numbers<BR>> get<BR>> inserted into the
BerkleyDB at startup and reload, can it handle it?<BR>><BR>> Any other pros or cons to still having a database, but instead of<BR>> fastagi asking for an exten on the fly, the database writes the conf<BR>> file only when routing is changed or toll free numbers are added?<BR>><BR>> Thanks,<BR>> Steve Totaro<BR>> _______________________________________________<BR>><BR><BR>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE><BR></mailto:stotaro@totarotechnologies.com><p> 
                <hr size=1>
To help you stay safe and secure online, we've developed the all new <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/">Yahoo! Security Centre</a>.