Hi,

When DROUTING table "dr_gateways" is very big (40000 rows) reloading the module to memory take about 60 seconds !!! 

My tests show 5000 rows takes 7-11 seconds......

It is very slow.

The rules table, with 40000 rows, loads immediately though.


Any ideas why? 
Or how to get the process faster?
(I know the gateway  table is too big. but, this is the current implementation...)

kamailio version - 3.3.6 (48db34)

BR,
Uri