LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-08-2005, 11:20 PM   #1
jimsproch
Member
 
Registered: Oct 2004
Posts: 38

Rep: Reputation: 15
Arrow MySQL or something better on Linux


original post removed

Last edited by jimsproch; 08-09-2010 at 06:31 PM.
 
Old 01-08-2005, 11:41 PM   #2
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
You could write an abstraction layer to your database code that doesn't rely on what the underlying database is. Then if you find that MySQL isn't good enough for your purposes, you can switch to something else and only have to change the database portion of your code.

Personally, I haven't ever had any problems with MySQL for things. With any DBMS, you are going to need to know how to efficiently model the data as well as using the proper indexes to tune the performance.

There is also Postgres, which I haven't used myself.

Oracle also runs on linux and is a pretty robust DBMS, but I think the license only allows you to use it without paying for learning purposes. If you were to use it in a final product, you would likely need to pay a pretty hefty fee. You'd have to check on that to be sure, though.
 
Old 01-08-2005, 11:42 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
MySQL is quite resilient, particularly if you cluster it. There's also Postgres, which has some things that MySQL doesn't. It used to not perform as well, but that may have changed in recent years. You can also go with Oracle if you have RH (or are willing to put up with lots of pain). IIRC there's a free download, but with no support, and Oracle is extremely non-trivial to get working right with no support (from what I've read).

Anyhow, you could use ODBC code and then you're not tied to a particular database, or partition out your database access to a signle module, so if you change, you only have to re-code one module (if you need DB specific features that can't be had with ODBC). This is good programming practice anyhow.

Yes, you can use C++ to get user info from a Web page, as CGI scripts can be written in any language. If you don't want to go the CGI routes, there are other, more esoteric ways.
 
Old 01-08-2005, 11:44 PM   #4
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Dude you don’t have to worry until and unless you are crossing in limits in terabytes. Let me give an example http://en.wikipedia.org/wiki/Main_Page has about 170GB of data in mysql on 9 October 2004 (see h/w info http://meta.wikimedia.org/wiki/Wikimedia_servers) , excluding images and multimedia!

Also see http://en.wikipedia.org/wiki/Wikipedia:Technical_FAQ
 
  


Reply



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: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:11 PM.

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