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 2
Plugin Development
Plugin: MySQL database provider - better performance and no size limit for your MP2-MediaLibrary
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="morpheus_xx" data-source="post: 936734" data-attributes="member: 48495"><p>Don't have it here, it is like:</p><p> </p><p>delete from mediaitem where miamid in (</p><p> select miamid from provideraspect where system=@system and (path like '/resourcepath/_%' or path like '/resourcepath/>_%')</p><p>)</p><p> </p><p>in principle a DB should be able to use the index on "path" column, because we are doing a "starts with" like query.</p><p> </p><p>And obviously MySQL is able to do so. Not sure if MsSQL-CE can't use the index at all or that it is "only" slow because sharing process resources</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 936734, member: 48495"] Don't have it here, it is like: delete from mediaitem where miamid in ( select miamid from provideraspect where system=@system and (path like '/resourcepath/_%' or path like '/resourcepath/>_%') ) in principle a DB should be able to use the index on "path" column, because we are doing a "starts with" like query. And obviously MySQL is able to do so. Not sure if MsSQL-CE can't use the index at all or that it is "only" slow because sharing process resources [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Plugin: MySQL database provider - better performance and no size limit for your MP2-MediaLibrary
Contact us
RSS
Top
Bottom