Prototype of searching a big database in memory