home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Database: Refactor MP1 database for multi seat usage
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="doskabouter" data-source="post: 1286667" data-attributes="member: 98267"><p>Not wanting to be a nuisance but I couldn't help myself creating a small testcase</p><p>1000 queries with using new sqlite: 2 seconds (db on a fast local ssd), 1000 queries inside the using</p><p>[CODE]</p><p> using (var sql = new SQLite.NET.SQLiteClient(@"D:\klad\sqlitetest\sqlitetest\PictureDatabaseV3_1.db3"))</p><p> {</p><p> for (int i = 0; i < 1000; i++)</p><p> {</p><p> var res = sql.Execute("select * from picturedata where idpicture=3856");</p><p> }</p><p> }</p><p>[/CODE]</p><p>half a second.</p><p>So I can imagine that there could be some systems (slow spinning rust f.e.) where this is could be slow...</p><p></p><p>Edit: and I can remember (was it you [USER=68833]@ajs[/USER] with your enormous picturedatabase or was it that guy with the large music) that we even had to cut off queries halfway because they took too long...</p></blockquote><p></p>
[QUOTE="doskabouter, post: 1286667, member: 98267"] Not wanting to be a nuisance but I couldn't help myself creating a small testcase 1000 queries with using new sqlite: 2 seconds (db on a fast local ssd), 1000 queries inside the using [CODE] using (var sql = new SQLite.NET.SQLiteClient(@"D:\klad\sqlitetest\sqlitetest\PictureDatabaseV3_1.db3")) { for (int i = 0; i < 1000; i++) { var res = sql.Execute("select * from picturedata where idpicture=3856"); } } [/CODE] half a second. So I can imagine that there could be some systems (slow spinning rust f.e.) where this is could be slow... Edit: and I can remember (was it you [USER=68833]@ajs[/USER] with your enormous picturedatabase or was it that guy with the large music) that we even had to cut off queries halfway because they took too long... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Database: Refactor MP1 database for multi seat usage
Contact us
RSS
Top
Bottom