What is the time complexity of INSERT, UPDATE and SELECT in SQLite? -


i developing android application , using sqlite. wonder that:

  • what time complexity of insert, update , select operations. (i happy if answer in terms of bigo notation other answers welcome.)

  • what cpu usage?

both questions vague answer, may help:

time complexity:

given particular sql statement perhaps figure time , complexity, there many factors point single answer.

you might interested in explain query plan can particular selects.

cpu usage:

again, cpu usage of exactly? complex queries may hit cpu bit more, think you'll find of work i/o.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -