Odoo-mobile / framework

Odoo Mobile Framework
https://play.google.com/store/apps/dev?id=8607973775002477408
Other
327 stars 374 forks source link

use 'select' to search data from sqlite db very slowly #310

Closed mikedream89 closed 7 years ago

mikedream89 commented 7 years ago

Hi , When db (sqlite) has very much data, i use 'select' to search , it will very slowly. How to fix the problem? Who can give me some advices?

AsKaeternam commented 7 years ago

Hello dear,

Can you post your select query ?

mikedream89 commented 7 years ago

Hello, select not slowly, i debug find mForm.initForm(row) is slowly .

jiangzhixiao commented 7 years ago

the same problem when in debug mode my solution is : Don't set breakpoint on the initForm(row) row

mikedream89 commented 7 years ago

i just add log before initForm(row) and add log after initForm(row), then i look at the log time, find initForm is slowly