Summary:ASTERISK-21325: astdb2sqlite is very slow when running the 32-bit version on 64 system
Reporter:Gabriel Birke (describer)Labels:
Date Opened:2013-03-27 11:18:09Date Closed:2013-03-29 16:19:07
Versions:11.2.1 Frequency of
Environment:SuSe, 3.1.10-1.19-desktop x86_64Attachments:
Description:I'm calling astdb2sqlite on the command line with an astdb file that has approx. 2500 entries. The whole conversion process takes 6-7 minutes when I use the 32-bit version. The 64bit version converts the content in mere seconds.

Comments:By: Rusty Newton (rnewton) 2013-03-29 16:19:07.807-0500

No one should need to run the 32-bit version on a 64-bit machine.

The solution is to run the 64-bit version that works fine as you say.

If there is an issue with the 32-bit version running on a 32-bit machine you can file that in a new issue, however keep in mind that the program is not something you should be using constantly and as long as it completes that is probably reasonable. If you want to optimize it feel free to upload a patch.

You can always contact a bug marshal in #asterisk-bugs on irc.freenode.net if you need to discuss the issue. Thanks!