android - Faster indexing in database and sort with criteria time -
android - Faster indexing in database and sort with criteria time -
well have database few tables , not have id. false id using datetime field (yyyy-mm-dd-hh-mm-ss) , field string. works , great sorting...but slow :), slow mean big error 'primary' key string, , connection between tables made according filed. because datetime field unique filed had...
how should create faster, mean easy if sql database create foreign key , it.
someone might 'why don't utilize integer', have lot of creation , deletions , if utilize int complicated maintain tables ordered , because of frequent deletions ids 1,22,55,79...
i mean not know right way , why asking
android database sqlite
Comments
Post a Comment