PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

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:
  #1  
Old August 6th, 2012, 07:38 AM
ByGoneYrs's Avatar
ByGoneYrs ByGoneYrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Location: Southern New Jersey, USA
Posts: 162 ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 23 h 44 m 6 sec
Reputation Power: 64
Send a message via ICQ to ByGoneYrs Send a message via Yahoo to ByGoneYrs
Migrating from MySQL 5.0 to PostgreSQL db

Hello everyone,

Currently my company is a x86 Sun/Solaris 10 on Sun servers and using MySQL 5.0 db.

Well the owner/boss has decide after 25 yrs we will no more be a SUN shop. I am new to this company and having 17+ yrs as a DBA ...where I have mostly been a Oracle DBA from (7x to 11.2.0.3 rel), and have also supported MySQL, PostgreSQL, and SQL server 2005 dbs as well. So I was hired to redesign and move them into a new environment in the Linux world.

I believe our direction is to be a x86_64 Linux shop and the flavor of Linux of Red Hat 6 with Red Hat Suite as well on HP Blades, and although we will be upgrading all of our current customers from MySQL 5.0 to 5.1 then on to 5.5, but I am seriously considering moving us to PostgreSQL for all new customer. To me there is alot very much simular between Oracle and PostgreSQL dbs. Oh I know Oracle has a ton of bells and whistles, but you end up paying for them in support and license fees to Oracle corp as well.

So my real question here is how difficult or hard is it to move from MySQL to PostgreSQL dbs. BTW if we do do this we will get support from a company called enterprisedb . I like having support for the RDBMS as well as for the OS and hardware. I would like to hear anyone's feeling and thoughts on this issue and anything else I/we should also consider in this direction.

Thank you in advance!!!

Reply With Quote
  #2  
Old August 7th, 2012, 08:28 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,944 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 10 h 16 m 54 sec
Reputation Power: 7053
If your current application is written using mysql queries then migrating would be a pretty major undertaking from a coding perspective. The query languages are similar, but there are just enough differences between them to virtually guarantee that many of your old queries will not work directly in postgres. A large part of that depends on what database abstraction layer your application code uses (if any).
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old August 7th, 2012, 09:02 AM
shammat shammat is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Oct 2003
Location: Germany
Posts: 2,685 shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 3 Days 19 h 56 m 12 sec
Reputation Power: 284
You might want to start here: http://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL
__________________
I will not read nor answer questions where the SQL code is messy and not formatted properly using [code] tags.
http://forums.devshed.com/misc.php?do=bbcode#code

Tips on how to ask better questions:
http://tkyte.blogspot.de/2005/06/how-to-ask-questions.html
http://wiki.postgresql.org/wiki/SlowQueryQuestions
http://catb.org/esr/faqs/smart-questions.html

Reply With Quote
  #4  
Old August 7th, 2012, 09:05 AM
ByGoneYrs's Avatar
ByGoneYrs ByGoneYrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Location: Southern New Jersey, USA
Posts: 162 ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level)ByGoneYrs User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 23 h 44 m 6 sec
Reputation Power: 64
Send a message via ICQ to ByGoneYrs Send a message via Yahoo to ByGoneYrs
Hi there,

To answer your question, they have developed a pretty basic code for the database so that it could be used in any RDBMS that the customer chooses. I for one am pushing that we push to leverage the RDBMS that we use more completely in the future.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > Migrating from MySQL 5.0 to PostgreSQL db

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap