Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-2008, 10:52 AM
Active Member
 
Posts: 27
Question Can I use oracle as a db for the OS edition?

Hi,

Is it possible to replace MySQL with Oracle as the datastore for the OS edition? Has someone tried doing that? How easy or difficult it is to do that? Any help or information would be highly appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-31-2008, 11:14 AM
Zimbra Employee
 
Posts: 1,434
Default

Note: I Am Not An Install/Upgrade Guy or A Tools Guy. (So grain of salt and all that.) But it'd be nontrivial.

First, you'd have to build your own. That includes your initial install as well as subsequent upgrades. The official packages assume MySQL in a particular location for install, and I believe they assume that you can do DB schema upgrades by calling "mysql ...".

Second, you'll need to rewrite any DB-related scripts. Other folks can tell you which zm* scripts are invalid with a different DB, but I'll bet that there are several.

Third, you'd have to actually port the database-related code to work with Oracle. That probably requires editing the DB schema (ZimbraServer/src/db/db.sql and ZimbraServer/src/db/create_database.sql) and writing a new subclass of Db.java. You can use the Desktop's open-source Derby.java as an example of this. You'd then need to tell jetty to use the Db.java sublass of your choice by setting zimbra_class_database in your install's localconfig.xml.

If you do get things running with Oracle, we'd love it if you shared your work with the community!
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.