Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 8th, 2008, 09:02 AM
rishijd rishijd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 288 rishijd User rank is Lance Corporal (50 - 100 Reputation Level)rishijd User rank is Lance Corporal (50 - 100 Reputation Level)rishijd User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 6 h 47 m 12 sec
Reputation Power: 5
PostgreSQL 7.3.21 vs MySQL 4.1.22

Hi,

I want to develop a basic database-driven website and my shared server has the following:

- PostgreSQL 7.3.21
- MySQL 4.1.22

I quite like Postgresql but I'm used to both database systems. I don't mind using either, but my focus points for any database system that I develop are:

- Speed (of course, for websites)
- The use of foreign keys and referential integrity, so it's a question of Postgresql tables vs. Mysql INNODB tables really.

Any opinions here? I suppose another factor is that shared server support tend to give more consideration to Mysql in general, because this is probably a more popular technology for beginners and website developers. Of course, I think Postgresql is really good, but would really like some opinion on this older version vs the mysql version above and what's better in your opinion.

Many thanks!

Reply With Quote
  #2  
Old April 10th, 2008, 04:56 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,620 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 3 Days 23 h 47 m 19 sec
Reputation Power: 259
You already know that both are very outdated, right?
Then, if you want FK, ref integrity and so on I'd go for PostgreSQL at any time.

Reply With Quote
  #3  
Old April 13th, 2008, 06:50 PM
pgFrank's Avatar
pgFrank pgFrank is offline
So help me Codd
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Location: Brazil
Posts: 129 pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 17 h 35 m 16 sec
Reputation Power: 18
Well, both are outdated, very outdated. Consider another hostingprovider when your current provider doesn't provide an update.

I would use PostgreSQL, even with this old version. With Tsearch2 you can even implement full text search, something you can't with innoDB in MySQL. You have to install the module, but that only takes a minute.

But please, get yourself a recent database, saves a lot of headaches.
__________________
PostgreSQL-manual

Reply With Quote
  #4  
Old April 17th, 2008, 05:02 AM
rishijd rishijd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 288 rishijd User rank is Lance Corporal (50 - 100 Reputation Level)rishijd User rank is Lance Corporal (50 - 100 Reputation Level)rishijd User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 6 h 47 m 12 sec
Reputation Power: 5
I agree with both of you. Unfortunately my hosting provider will not update the software on my current server..if I really want, I need to move my entire account to another server, which means transferring about 15-20 websites.

Not too big a deal, but not an overnight switch either. Which brings up my next question - given the fact that you have used the newer versions of Mysql and Postgresql (and of course PHP5, and I am currently on PHP4) - how much backward compatibility would you say it has to its older versions?

i.e. anything in particular that you recall caused problems, say if/when you switched your old websites (using an old version of mysql/postgresql/php) to a new server?

I know it depends from site to site but I am referring to more general php/mysql or php/postgresql websites - not too much functionality out of the norm.

Many thanks

Reply With Quote
  #5  
Old April 17th, 2008, 05:06 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,620 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 3 Days 23 h 47 m 19 sec
Reputation Power: 259
I'd say MySQL, check the mysql forum, some changes in auth and join behaviour.
PostgreSQL should be easier.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > PostgreSQL 7.3.21 vs MySQL 4.1.22


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway