UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Amarok 1.4.9.1 in kubuntu 8.04, I have a library of almost 10 000 songs so SQlite couldn't handle it, so I decided to use postgreSQL, what happens is that it is incredibly slow, when I try to search a song it takes almost 1 or 2 minutes to search it, and also when I skip a song this happen sometimes. I tried to use MySQL but I never got it running, so I decided to use postgreSQL. Also I think I have a good computer (AMD Athlon X2 2.1 GHz, 2 Gb ram). Can someone help me please?? This is very annoying.
Hard to say with that kind of input ... and I have no idea what
amarok (or Kubuntu?) does to PostgreSQL. My first impulse would
be to check amaroks output by starting it from a konsole, and to
see whether there's anything in postgres' logs. I also don't
know which version of postgres comes with kubuntu 8.04, so can't
make any recommendations regarding tuning.
Have you had a look at the database from a psql prompt, how long
do queries take that you run manually?
Cheers,
Tink
P.S.: I've reported this post to be moved to the ubuntu forum
because the question is quite vague, and requires knowledge of
the distro and how it packages the software involved to even
begin thinking about answering it ...
Moved: This thread is more suitable in Linux - Distributions -> Ubuntu and has been moved accordingly to help your thread/question get the exposure it deserves.
I will explain myself again, I'm using Amarok 1.4.9.2 in Kubuntu 8.04 and I have a library of almost 10 000 songs, Amarok has 3 ways of managing your music libarary, (SQlite, MySQL and posrgreSQL). SQlite is activated by default, but if you have a large collection of music you need another "engine" to manage your library, so I decided to use postgreSQL becauase I read in several places it was faster. What is happening is that when I search for songs or skip songs, sometimes it lasts up ti 2 minutes to perform the job and I consider that my CPU is fast enough (AMD X2 2.1 GHz and 2gb ram) so I would like to know of someone can help me with this issue that becomes very annoying sometimes.
It's not enough to say "here amarok, use postgres db from now on...". Did you followed the steps in Postresql HowTo? When you switch to "PostgreSQL", then run "Rescan Collection" and something is wrong with your postgres connection a message should pop up saying something like "Postgres server returned the following error: bla bla".
After creating and configuring the postgres database, check if you can connect to the db ("psql <database-name> <username>" as in the HowTo).
When I type the psql command this appears, so I think everything is ok.
markez@Teresa:~$ psql amarok
Welcome to psql 8.3.5, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
Hmmm ... I wouldn't have a clue which of the non-obvious
tables this has listed would hold track titles, e.g. ...
Have a play with some sql, try a
select * from tags;
or some of the other tables. My problem is that I know
nothing about amaroks internal workings (or its front-end
for that matter), so can't even begin to guess what it's
looking for where (or what your search terms were, for
instance).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.