Thanks Alex, I'm wondering how this will affect performance if there are many thousands or even millions of records...
Regards, David Villasmil email: [email protected] phone: +34669448337 On Thu, Apr 7, 2022 at 4:03 PM Alex Balashov <[email protected]> wrote: > No, the reload actually creates a temporary new hash table (in heap), > loads the entries from the DB into it, then iterates through the buckets of > that temporary table and replaces the entries (pointers) in the existing > table with the entries from the temporary table, then frees the buckets in > the temporary table. > > > On Apr 7, 2022, at 4:43 AM, David Villasmil < > [email protected]> wrote: > > > > Hello all, > > > > I’ve been trying to figure out how htable reloads happen. Does it > replaces the existing one or creates a new one, populates it from the db > and then renames it? The latter would be (I think) ideal, even if it uses > more resources. > > > > Thanks! > > > > David > > -- > > Regards, > > > > David Villasmil > > email: [email protected] > > phone: +34669448337 > > __________________________________________________________ > > Kamailio - Users Mailing List - Non Commercial Discussions > > * [email protected] > > Important: keep the mailing list in the recipients, do not reply only to > the sender! > > Edit mailing list options or unsubscribe: > > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > * [email protected] > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
