LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2009, 03:46 AM   #1
Vanostaajen
LQ Newbie
 
Registered: Jan 2009
Distribution: Ubuntu 8.10
Posts: 25

Rep: Reputation: 15
sqlite, mysq and progresql


I have a qsuestion: Why is sqlite(sucks) standard in amarok in ubuntu instead of mysql(rocks)? And why is it so damn hard to configure mysql?

And what's the advantage of progresql?
 
Old 02-26-2009, 04:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
What an odd question. If mysql is "so damn hard" how does it "rock"????

sqlite is a simple library for emulating sql interfaces for trivial data storage. It is not an sql server. Running an entire RDBMS like mysql for a package manager is just stupid. consuming vast resources for scant and lightweight queries makes no sense at all.

postgresql vs mysql - http://www.google.co.uk/search?q=mysql+postgresql
 
Old 02-26-2009, 04:28 AM   #3
Vanostaajen
LQ Newbie
 
Registered: Jan 2009
Distribution: Ubuntu 8.10
Posts: 25

Original Poster
Rep: Reputation: 15
Sorry I didn't clarify. I use mysql as library for amarok on my ubuntu. Before that I had sqlite but it was very very slow. But configuring mysql was really dificult.

Last edited by Vanostaajen; 02-26-2009 at 04:36 AM.
 
Old 02-26-2009, 04:49 AM   #4
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
sqlite is just that, a light weight sql application.
Think Firefox also uses sqlite for some stuff.

mysql is a "full" rdbms, same as pgsql.

make a query on a large mysql db and then on a large pgsql db, and you'll see
the advantage of pgsql
mysql locks up the whole bloody DB and causes performance probs then,
whereas pgsql has less problems with that, mostly due to table indexes
 
Old 02-26-2009, 06:16 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by Vanostaajen View Post
Sorry I didn't clarify. I use mysql as library for amarok on my ubuntu. Before that I had sqlite but it was very very slow. But configuring mysql was really dificult.
well exactly. di dyou have to configure sqlite? no. simple. easy. works.
 
Old 02-26-2009, 10:38 AM   #6
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
I thinks sqlite is actually quite neat and works well for providing the possibility to implement complex custom file formats during programming. It's not a server per se, but it wouldn't be a big deal to program some wrapper code to make it a server. It is simply targeted to a different audience. Not every tiny application wants a full SQL server installation.

MySQL is also quite neat, but it is obviously targeted to another audience. Large amounts of data simply have different requirements than small stand-alone applications. I'm not sure what you mean by MySQL being hard to configure. I haven't found it to be difficult so far. I rather guess that configuring it to work along with amarok is maybe tricky, but I don't think that Sun/MySQL see their main priority in Amarok support.

progresql is a DBMS called Progress (http://www.progress.com) and appears to be a set of commercial products. I think the product suite is not even pre-dominantly about SQL at all.

Sometimes it is mixed with PostgreSQL (www.postgresql.com), which is OpenSource and uses the BSD license. MySQL in contrast uses the GPL (actually it uses two licenses to choose from: GPL and it's own). Both are quite mature SQL servers, te API differs, but for the larger part people seem to make their choice based on license preference.

linux

Last edited by gergely89; 02-27-2009 at 11:03 PM.
 
Old 02-26-2009, 05:43 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
As far as I'm concerned the advantage(s) of PostgreSQL are many :}
  • BSD license
  • no commercial interests directing the flow
  • planned and implemented around ACID from the ground up
  • has sane defaults (e.g. won't accept dates (dd/mm/yyy) like 31/02/2009
    or 00/00/0000, both of which are undefined in the SQL standard, and won't
    accept data too big for a column only writing out a warning to a log)
  • ...


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysq mimique Linux - Software 23 08-14-2012 06:14 AM
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysq barbyb Linux - Software 3 08-23-2011 04:59 AM
SQLite and C++ ManuPeng Programming 4 04-07-2007 10:38 AM
Unable to wordwrap with a guestbook (mysq+css) swatward General 6 08-25-2006 05:09 PM
MySQ help gabebster Linux - Software 3 08-10-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration