Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Integrating EnterpriseDB in your Oracle Environment

Integrating EnterpriseDB in your Oracle Environment

Ratings: (0)|Views: 30 |Likes:
Published by Lewis Cunningham
IOUG 2007
IOUG 2007

More info:

Published by: Lewis Cunningham on Jan 10, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/10/2013

pdf

text

original

 
Insert focus area name here1 Paper 112
II
NN T TEEGG A  A  T TIINNGG 
EE
NN T TEEPPIISSEE
DDBB
 
II
NN 
 Y  Y 
OOUU 
OO
 A  A CCLLEE 
EE
NN V  V IIOONNMMEENN T T
 
Lewis R Cunningham, PricewaterhouseCooper
I
NTRODUCTION TO
E
NTERPRISE
DB
 The bulk of this paper, and the associated presentation, is based on writings I have written for my blog, An Expert's Guide toOracle, http://blogs.ittoolbox.com/oracle/guide and from my forthcoming book, EnterpriseDB: The Definitive Reference(to be published in June 2007), http://www.rampant-books.com/book_2007_1_enterprisedb.htm The majority of this paper is reproduced from Chapter 7, which, in the book contains additional text, examples and screenshots. The book also contains plenty of source code files that you are free to use and can modify as you see fit.
 W
HAT IS
E
NTERPRISE
DB?
EnterpriseDB is an enterprise class database built on PostgreSQL. EnterpriseDB, the company, is adding enterprise classtools like a database management server, replication server, development tools, etc under a single umbrella for pricing andsupport. You also get Oracle SQL and PL/SQL compatibility. What that boils down to is that EnterpriseDB, the company, has brought together several open source tools (database,replication, IDE) and added software they have developed (and are developing) like the management server, replication serverand Oracle compatibility. The current version of EnterpriseDB is based on PostgreSQL 8.1.5. PostgreSQL 8.2 has been released and an EnterpriseDB version using that version of PostgreSQL is being developed. EnterpriseDB will be upgraded at some point in the future tokeep current with current versions of PostgreSQL.Oracle, as we all know, comes with PL/SQL. In my (totally unbiased) opinion, PL/SQL is the best language ever built. Itblows Java away in terms of write once, run anywhere.PostgreSQL ships with several languages but the one I am most familiar with is PL/pgSQL. This is a very PL/SQLishlanguage and many applications have been successfully written in PL/pgSQL.EnterpriseDB, however, ships with EDB-SPL, the Superset Procedural Language. This language is syntactically compatible with PL/SQL, including package support. Basically, EDB-SPL is PL/SQL for PostgreSQL. How cool is that?!?!?! To make things just a little nicer, EnterpriseDB also provides an Oracle compatible data dictionary (all_tables, all_views, etc).It's not complete and you don't get the V$ tables but it helps a lot when you're trying to get up to speed. Having a compatibledata dictionary can dramatically reduce the learning curve.
 W
HERE DO
I
GET
E
NTERPRISE
DB?
 As this is not a marketing paper, I will not get into licensing or costs. You can get that information from EnterpriseDB, orget an overview when you buy my book.Like Oracle Express, EnterpriseDB offers a free copy for light production use. Light production is defined as 1 CPU, 1 GBof Ram and less than 6 GB of disk. This gives you the opportunity to download and build some real applications beforedeciding if it's right for you. You can get the software from http://www.enterprisedb.com/ You'll need to register with the site but when you register you get access to some online forums also.
I
S
E
NTERPRISE
DB
THE
O
RACLE
ILLER 
?
 The short answer to this is NO! If DB2 and SQL Server combined can't do it, EnterpriseDB surely won't. Oracle used to bethe database company, in the present they are a much larger entity: apps, java, tools, n-tier components, fusion, etc.EnterpriseDB simply provides an Oracle compatible database alternative that can be a much cheaper solution for certain uses.
 
Insert focus area name here2 Paper 112
 Are you a RAC user? EnterpriseDB is probably not for you. Massive data warehouses? Stick with Oracle. Work group datamarts or reporting databases? EnterpriseDB may be a cheaper solution for you. The reason I personally like EnterpriseDB (besides cost) is that it is easy to maintain and has SQL and PL/SQL compatibility  with Oracle. You could save some money by moving your reporting databases to MySQL or pure PostgreSQL. However,how many of your developers know the dialects of those databases? What kind of enterprise class tools do they provide?How many vendors will you need to contract with to get a decent level of support on all of the non-integrated tools you'll use with them?EnterpriseDB provides the syntax compatibility and provides all of the tools you'll need in a single package.Ok, that's the end of WHY. Now we get to the fun stuff of HOW.
I
NTEGRATING
E
NTERPRISE
DB
 There are many points where EnterpriseDB can be integrated into an environment but this paper will stick to theEnterpriseDB replication server. EnterpriseDB provides one-off replications via the EnterpriseDB SQL Studio IDE but thatis more useful in a development or testing environment. The replication I will cover today is the EnterpriseDB ReplicationServer, which allows you to schedule replication.
 
Insert focus area name here3 Paper 112
E
NTERPRISE
DB
 
EPLICATION
S
ERVER 
 A 
RCHITECTURE
 E
NTERPRISE
DB
 
EPLICATION
S
ERVER 
 
EnterpriseDB provides the answer to these needs with the EnterpriseDB Replication Server. The EnterpriseDB ReplicationServer provides a replication console to configure and monitor replication from Oracle to EnterpriseDB. The EnterpriseDB Replication Server provides a repository-based solution that allows you to maintain the configuration of allof your replication jobs in a single location. You can configure multiple destinations for a single source and you can createmultiple replication jobs from a single database.Replication via the EnterpriseDB Replication Server is accomplished in a publish/subscribe model. The EnterpriseDBReplication Server provides an additional level of abstraction by inserting a replication repository between the sources anddestinations.For example, you can configure the replication server on a host different from both the source and target databases. Thereplication server can run on one host, the source on another and the target on yet another. The replication server is a one-stop replication hub. In a production environment, you will likely want to run the DBA Management Server for all of yourinstances and the replication server on an instance together, separate from your production instances.NOTE: Most activity in the Replication Console is performed via a right-click, smart menu.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->