Switching databases

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Switching databases

Kenneth Porter
I know that ofbiz comes bundled with Derby, and that ofbiz can be used with
most DB's that include a JDBC connector. Are there any tools for moving
data between different back ends? For example, how would one move an
existing DB from Derby to MySQL or PostgreSQL?
Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

Adrian Crum
Webtools->XML Import/Export

Kenneth Porter wrote:

> I know that ofbiz comes bundled with Derby, and that ofbiz can be used
> with most DB's that include a JDBC connector. Are there any tools for
> moving data between different back ends? For example, how would one move
> an existing DB from Derby to MySQL or PostgreSQL?
>
Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

Walter Vaughan
Adrian Crum wrote:

> Webtools->XML Import/Export
>
> Kenneth Porter wrote:
>
>> I know that ofbiz comes bundled with Derby, and that ofbiz can be used
>> with most DB's that include a JDBC connector. Are there any tools for
>> moving data between different back ends? For example, how would one
>> move an existing DB from Derby to MySQL or PostgreSQL?

Also, if mySQL is your first choice make sure you are using latest 5.0.xx
version and you have your database setup to use the INNODB database engine. Be
aware that mySQL will sometimes forget to do the right thing, and that
PostgreSQL is the reference database AFAICT, so draw your own conclusions if its
a tossup for you.

YMMV

--
Walter

Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

David E Jones


Walter Vaughan wrote:

> Adrian Crum wrote:
>
>> Webtools->XML Import/Export
>>
>> Kenneth Porter wrote:
>>
>>> I know that ofbiz comes bundled with Derby, and that ofbiz can be
>>> used with most DB's that include a JDBC connector. Are there any
>>> tools for moving data between different back ends? For example, how
>>> would one move an existing DB from Derby to MySQL or PostgreSQL?
>
> Also, if mySQL is your first choice make sure you are using latest
> 5.0.xx version and you have your database setup to use the INNODB
> database engine. Be aware that mySQL will sometimes forget to do the
> right thing, and that PostgreSQL is the reference database AFAICT, so
> draw your own conclusions if its a tossup for you.
>
> YMMV

Actually Derby is the default testing database. Other databases are used as desired by users of OFBiz.

-David


Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

jonwimp
In reply to this post by Walter Vaughan
 > Be aware that mySQL will sometimes forget to do the right thing, and that
 > PostgreSQL is the reference database AFAICT, so draw your own conclusions if
 > its a tossup for you.

Actually, PostgreSQL is "the reference database" only where OFBiz is concerned. OFBiz seems to
have been developed and tested mostly with PostgreSQL, and hardly with other RDBMSs. If you're
using anything other than PostgreSQL with OFBiz, be prepared to do some small bugfixes yourself
(bugs here are RARE, though).

PostgreSQL has many non-standard features, or advanced features rather. Certainly more powerful
than most RDBMSs out there.

That said, RDBMSs are still software created by humans. Every software has bugs here and there.

If there is any problem at all with the data layer aspect of OFBiz, it's not a problem with any
RDBMS, AFAICT. There is one tiny (but significant) bit of a problem in the DBCP, which I
reproduced, documented and fixed. However, the fix may be considered "non-standard or
non-reference" here, so I'm not too keen to debate my fix into OFBiz SVN.

Jonathon

Walter Vaughan wrote:

> Adrian Crum wrote:
>
>> Webtools->XML Import/Export
>>
>> Kenneth Porter wrote:
>>
>>> I know that ofbiz comes bundled with Derby, and that ofbiz can be
>>> used with most DB's that include a JDBC connector. Are there any
>>> tools for moving data between different back ends? For example, how
>>> would one move an existing DB from Derby to MySQL or PostgreSQL?
>
> Also, if mySQL is your first choice make sure you are using latest
> 5.0.xx version and you have your database setup to use the INNODB
> database engine. Be aware that mySQL will sometimes forget to do the
> right thing, and that PostgreSQL is the reference database AFAICT, so
> draw your own conclusions if its a tossup for you.
>
> YMMV
>
> --
> Walter
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

Kenneth Porter
--On Thursday, September 06, 2007 9:45 AM +0800 Jonathon -- Improov
<[hidden email]> wrote:

> Actually, PostgreSQL is "the reference database" only where OFBiz is
> concerned. OFBiz seems to have been developed and tested mostly with
> PostgreSQL, and hardly with other RDBMSs. If you're using anything other
> than PostgreSQL with OFBiz, be prepared to do some small bugfixes
> yourself (bugs here are RARE, though).

I've used MySQL in the past (deploying on CentOS5) but PostgreSQL's
reputation has me leaning that way. I just have to learn how to set it up,
and how to set up an admin app similar to phpMyAdmin.


Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

Michael Jensen-5
Kenneth Porter wrote:
>
> I've used MySQL in the past (deploying on CentOS5) but PostgreSQL's
> reputation has me leaning that way. I just have to learn how to set it
> up, and how to set up an admin app similar to phpMyAdmin.
>

Try phpPgAdmin
http://phppgadmin.sourceforge.net/

-Mike
Reply | Threaded
Open this post in threaded view
|

Re: Switching databases

Jacques Le Roux
Administrator
In reply to this post by Kenneth Porter

De : "Kenneth Porter" <[hidden email]>

> --On Thursday, September 06, 2007 9:45 AM +0800 Jonathon -- Improov
> <[hidden email]> wrote:
>
> > Actually, PostgreSQL is "the reference database" only where OFBiz is
> > concerned. OFBiz seems to have been developed and tested mostly with
> > PostgreSQL, and hardly with other RDBMSs. If you're using anything other
> > than PostgreSQL with OFBiz, be prepared to do some small bugfixes
> > yourself (bugs here are RARE, though).
>
> I've used MySQL in the past (deploying on CentOS5) but PostgreSQL's
> reputation has me leaning that way. I just have to learn how to set it up,
> and how to set up an admin app similar to phpMyAdmin.

I'd recommend pgAdminIII (bundled with PostGreSQL anyway)

Jacques