The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xPLMediaNet various


  • Subject: Re: xPLMediaNet various
  • From: Tom Van den Panhuyzen <tomvdp@xxxxxxxxx>
  • Date: Fri, 1 Apr 2005 15:50:25 +0200
  • References: <424ce404.3e4817ec.1a65.61dbSMTPIN_ADDED@mx.gmail.com>


>
> However, I am thinking that the "media.dll" source should
generate some
> additional reference tables for artist/album/genre lists. This would
make
> displaying the lists much faster for people who have a lot of tracks,
as
> currently these lists are generated are by processing the complete
list of
> tracks?
>
> Obviously this makes the database bigger, but is probably worth it?
>
> Any thoughts/comments please?
>

If all the data for these artist/album/genre lists is already in the
one flat table, it is better to index on the fields that you will make
lists of.

E.g.

select distinct artist_name
from artists

will be efficient if you have indexed artist_name.  In this case there
is no need for a seperate table with only artist_name values.

Hth,
Tom


xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.