Three tier (mod pl/sql) vs. two tier (PL/SQL Gateway)

I've been using 10g Database and 10g application server on separate servers for some time now.
Going the two tier (11g) route has some attractions, but what are the disadvantages?
The Oracle documentation I've seen says very little on making the decision, giving benefits as:
Ease of configuration
Included in the database
No separate server installation
- but no negatives.
Does anyone have any real live experience of comparing the two options?
I'm inclined to believe that three tier might have more tuning flexibility, better performance if each tier is on a different server. Maybe worse than two tier if on one server, assuming two tier eliminates communication overheads..
Does pl/sql gateway have the caching ability of Apache/mod pl/sql - I assume not? - that could make a big difference.
Any thoughts would be welcome...

There are several key performance advantages of OHS over EPG. I'm working a lot with the EPG right now and pushing the XDB team to add several of these features (maybe in 11.2, possible backport, but don't count on it). I used recommendations from the yslow Firefox add-in to do some performance tuning. Here's there list of Best Practices:
http://developer.yahoo.com/performance/rules.html
- EPG does not add an "Expires" header. So, lets say you have 25 images in your page template, and none of them change. Each page view will still request those 25 images. They use etags, so you don't have to download the images, but your browser still makes the requests which is quite slow. From my testing, pages could be up to 4 times slower with the EPG with a pretty standard template. The XDB team is aware of this and working hard to resolve it.
- EPG does not support gzip. This is another HUGE performance hit.
Keep in mind you can't test any of those issue with debug mode in APEX, you really need to use a browser plugin such as Firebug + ySlow. The render speed from APEX's point of view will be the same, no matter what HTTP server you use.
The other big on is mod_rewrite support. There is no way easily create friendly URLs for your apps. Another thing to consider is that a number of Identity Management systems, such as Oracle Access Manager (OAM) work by installing an Apache Module or in the case of IIS, some type of plugin (forget what they call it). There is no concept of this in EPG.
IMHO, it's convenient for laptops, but I would never use it for production unless you needed some feature that it exposes, such as WebDav or FTP access to the XDB repository...
Tyler

Similar Messages

  • Converting from two tier to three tier environment

    We are looking at converting our current two tier portal environment to a three tier environment. The database will stay on the machine where it is currently loaded I would like to move the 9ias home to a seperate machine and place it outside the firewall and utilize the dmz port for communications. Is there any documentation that deals with this process?
    Thanks in Advance
    Kevin

    any body please suggest any links to implemet the said three tier systemBack 5 - 7 years ago the company I worked for did just that.
    Previously had been running Forms 6 in client server mode.
    The forms were massaged/tweaked/rewritten such that the EXACT same source code was valid for C/S & webforms.
    I wrote a script that would nightly extract the Forms source & then compile using Forms 9 (at that time).
    At the end of this process end users could run the application using either C/S or webforms.
    One user at a time was converted from C/S forms to webforms.
    It was a long but painless transition.
    HTH

  • Freehand SQL support in 3-Tier mode

    Hi All,
    I'm aware that Free hand SQL is not supported in 3-tier mode in XIR2
    Relevant SAP notes Iu2019ve found:
    1)     1202464 - Does Desktop Intelligence in 3-Tier mode support free hand SQL as a data provider?
    2)     1200737 - Free-hand SQL is not available in Desktop Intelligence
    Could anyone confirm that free hand SQL is not supported in 3-Tier mode for BOXI R3  (3.0 and 3.1)?
    Thanks in advance!
    Ankur.

    Hello Ankur, I have tested this issue on XI 3.1 with a pre release SP2 patch and Free Hand SQL is still NOT supported on this new version. This functionality will probably be never be supported due to more efforts being directed towads Webi tools.

  • I am getting a Two Tier Service from BT - Mods?

    It just got me thinking, all us without iPlayer at the moment are effectively suffering.
    We are paying the same charges for a service that is effectively a lower tier (bugs aside) compare to everyone that has iPlayer now. To me this is a two tier service.
    Personally I think anyone that does not have iPlayer should be entitled to a rebate on their bill until they recieve it. Yes I know iPlayer is free and I agree the content is free, but somebody has to pay for the software that runs it? and lets face it iPlayer has a lot more content than Replay has?
    And when these so called Linear channels come along (Linear TV via Broadband - Multicast) I bet the same thing will happen then, We will all pay the same monthly fee, some will have it, some will not, the have nots will effectively be getting ripped off as they are getting charged the same for a inferior service.
    It happened before with ADSL/ADSL Max, and is happening now from what I can see with ADSL Max/Infinity.. People can get Infinity for the same price as ADSL Max.. i would love to have infinity for the same price where I am now but I doubt I will see it this side of 2020, same for Linear TV..
    How much longer are people going to put up with this two tier service? Last time I checked with Virgin Media, the cost was different based on what you selected And what you could get....

    Now you have changed the terms of the argument you are making from a two tier service to how BT rolls out products and try to compare it to browser upgrade.
    You are not only shifting your point now but making an absurd comparison.
    Think of it more akin to digital switchover. There are some places in the country that still can't get Freeview or even analogue Channel 5. There are places where even after DSO they only get a small number of channels.
    If you take this back to your original argument then all of it two, three and four tier services and all who don't get everything should be compensated in some way. It really doesn't stand up to scrutiny.
    Life | 1967 Plus Radio | 1000 Classical Hits | Kafka's World
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Helpful Post?
    If a post has been helpful, say thanks by clicking the ratings star.

  • Deski: 2-tier & 3-tier mode

    Hi,
    We are setting up Business Objects XI R2 primarily for Desktop Intelligence.  We will not be using WEBI or InfoView.  All users will run their reports via DESKI.  However, the one thing I am puzzled about is the 2-tier and 3-tier mode.  From my understanding 2-tier mode consists of DESKI and business objects server and 3-tier consists when InfoView comes into play.  Is this correct?  I tried running a report in 2-tier mode, by logging into the business objects server, it failed with a u201Cconnection or sql sentence error: (da00005) u2013 unable to create connectionu201D.  However, after setting up 3-tier key, by logging into InfoView and selecting new > desktop intelligence document, it created a 3-tier file: @xir2dev_dotnet.extranet in the locdata folder and I was able to run the same report against the universe.
    Am I missing something?  I thought you only need the 3-tier key only if you plan on using InfoView, is this correct?  If we need to create the key, we will need the users to log into InfoView for the first time.
    Any information will be greatly appreciated.
    Thanks.
    Raja

    Ok this may be easier if I list the requirements of each mode
    full deski client install is required by both 3-tier and 2-tier
    Connectivity to the CMS (6400 by default) and direct connectivity to the reporting DB(middleware installed on the client machines) is required by 2-tier
    2 tier workflow
    launch busobj.exe on client
    system has CMS name in it and optional port#
    login request is sent to CMS
    to refresh reports (middleware must be set up locally on the client) such as SQL ODBC, Oracle, DB2, etc
    Connectivity through a webserver (java:8080 or .net:80), connection server(service in the CCM/CMC that deski clients connect to) and DB connectivity(middleware installed on the server) set up on the enterprise server for 3-tier
    3 tier workflow
    launch busobj.exe on the client
    system has globe icon and .net or j2ee (IIS or tomcat typically)
    globe icon exists if .intranet file exists in C:\Documents and Settings\taz\My Documents\My Business Objects Documents\LocData on the client
    file is created when preferences in infoview are set to launch desktop intelligence and a deski doc is accessed from infoview
    file contains the URL of the .net or j2ee web server
    Busobj.exe connects via web server (wsdkbridge or something like that) to the connection server running in the CCM/CMC
    connection server works like the deski report server in querying DB for reports using middleware installed on teh enterprise server
    data is returned to client busobj.exe
    In your scenario it would seem that the reporting DB middleware is installed on the server only not the client (thus the Da00005 message).
    Regards,
    Tim

  • Two-Tier Firewall Config

    We want to setup a Data Center Network for core banking with all the application and Database servers.For the same we are planning to design a Two-Tier firewall network architecture. First Tier firewall (Cisco PIX in failover mode) will have Web servers in DMZ as front end application server. Second Tier firewall (PIX firewall Failover mode) will have the Application and database servers in DMZ as back end servers.
    Flow of data will be such that any user logging from internet will access web servers at the first level, get authenticated and web servers will in turn talk to the internal application servers for any data request.
    Is the above design OK….
    Pls find attached topology diagram….
    Also provide me with the sample PIX config for the above Two-Tier firewall architecture implementaion of application and database servers.
    Hi,
    IP Scheme is as listed below.
    Lan IP = 192.168.1.0/24 - 192.168.24.0/24
    Internet Firewall DMZ Network (Tier-1) = 192.168.252.0/28
    Internet Firewall Internal Network (Tier-1) = 192.168.252.16/28
    Intranet Firewall External Network (Tier-2) = 192.168.252.16/28
    Intranet Firewall DMZ Network (Tier-2) = 192.168.252.32.0/28
    PiX Firewall Internal Network (Tier-2) = 192.168.252.48.0/28
    Regards

    Hi Collin,
    This server is lync edge server. My idea is one network card for to NAT with public IP adddress ( 172.16.2.x NAT with Public IP ). One is for the Internal Firewall To NAT with internal network. (20.20.0.x NAT with internal IP 10.10.0.x).
    Your suggestion is want to use one NIC with one IP address for DMZ server going to both firewall, is it ?
    Please advise me, thanks.
      Thanks,
       Ko Htwe

  • Problem with application modules and switching from 2 tier to 3 tier mode

    Hello,
    I've got an application in 2 tier mode. Now I wanted to switch to 3 tier mode but get a class cast exception. It has turned out, that panelBinding.getApplication().getApplicationModule().findApplicationModule returns in 2 tier mode <ModuleName>Impl and in 3 tier mode oracle.jbo.client.remote.ApplicationModuleImpl. But searching for modul name with panelBinding.getApplication().getApplicationModule().getApplicationModuleNames() returns the right in names in 2 tier and in 3 tier mode. Does anybody know a way to access <ModulName>Impl in 3 tier mode?

    This is the reason that the BC4J project will create an <appmodulename>AM interface and a <appmodulename>AMClient Implementation that you include on the client side if you expose any methods in your app module. You should access them by casting it to the interface, NOT the appModuleImpl class. If you stick to using the interface, then you should be fine.
    So to keep your implementation flexible, you should do this on the client to access your custom methods on your app module:
    The BC4J project should generate the following classes:
    AppModule Name = MyCustomAM.xml
    AppModule Implementation = MyCustomAMImpl.java
    Custom AppModule Interface = /common/MyCustomAM.java
    Custom clientside AppModule Implementation = /client/MyCustomAMClient.java
    On the client, do the following:
    import my.bc4j.model.package.common.MyCustomAM;
    // Call custom method on App module
      MyCustomAM am = (MyCustomAM) panelBinding.getDataControl().getApplicationModule();
      am.myCustomMethod(someParams);Hope this helps.
    Erik

  • 3 tier mode in BO 4.0

    Hi all !
    How I can connect to server from client pc at  Interactive Analysis in 3 tier mode?
    Like server:6400(J2EE Portal).
    In R3 i create deski document in infoview to generate this type of connection.
    thanks!

    deski is gone in 4.0 you have to do it with webi rich client, by creating a webi doc, setting preferences for webi and then opening like you did with deski.
    Regards,
    Tim

  • Upgrade from a two tier EBS 11i 11.5.10.2 on Windows 2003 Apps and Windows 2008 R2 DB  tier to two Tier R12.2.3 both on Windows 2008 R2

    Hi,
    Any ideas about the best practices for the migration/upgrade reflected with the below question?
    I have a source EBS11i 11.5.10.2 running as a two tier configuration ( apps tier on server  ora10 on Windows 2003, DB tier 11.2.0.2 on server ora1 on Windows 8 R2. Can I use the Note 1377213.1 for a migration to a two tier configuration ( apps tier on server T10 running Windows 2008 R2 and EBS 12.2.3 and DB tier running 11.2.0.4 on Windows 2008 R2 )? What alternative approach could you suggest? As far as I know EBS11i is not certified on Windows 2008 R2 and R12.2.0 is not certified on Windows 2003.

    Yes you can by following "Application Tier Upgrades and Migrations" section -- Install 12.2 apps tier on 64-bit Windows and proceed with the upgrade.
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Microsoft Windows x64 (64-bit) (Doc ID 1330706.1)
    Thanks,
    Hussein

  • Can't create a new SQL Azure Standard Tier db

    I'm having an issue creating a new sql azure standard tier db. Here's the basic steps I've done to migrate a web tier db.
    Register for the sql preview programme
    https://account.windowsazure.com/PreviewFeatures
    Perform a db export to blob storage
    use the + (new) button to create a new SQL db
    select the import option
    browser to your saved export
    hopefully see the new tiers as options in dialog. 
    The new tiers require a separate server to web. Can create this from the import dialog
    I have 2 independent azure accounts, the above process worked for my test account but for the live account where I was also experimenting after success on the test account I hit an issue. I request to create a new server whilst importing. This step seems
    to work but then the actual import fails with this msg
    "Error encountered during the service operation. 
     Could not import package.
     Error SQL72014: .Net SqlClient Data Provider: Msg 40823, Level 16, State 1, Line 1 Invalid value provided for parameter EDITION. Please provide a value that is valid on server version 1.0.
     Error SQL72045: Script execution error. The executed script:
     CREATE DATABASE [$(DatabaseName)] COLLATE SQL_Latin1_General_CP1_CI_AS
     (EDITION = 'Standard', MAXSIZE = 1 GB)"
    Tried a couple of times but no joy. Using the portal I can browse to the new sql server and it looks okay other than the list of ENABLED
    RESERVATION SIZES ONLY HAS P1, P2, P3 I'm requesting a standard (s1) db not premium (P1, P2, P3). On my test server I see in this list also S1,
    S2. As you can see in the error message I'm requesting Edition = Standard. I get the feeling the newly created server is not accepting standard tier dbs?
    Now the server is created if I try an import I see the server in the list of available servers but when I select a tier of Basic or Standard the new server is grayed out, not so if I select Premium or the older Web or Business? Interestingly my current live
    sql server shows up as supporting the new premium?
    Thanks
    Wayne 

    Hello,
    Glad to hear that the issue resolved and thanks for your sharing.
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Desktop Intelligence XI 3.1 in 3-tier mode and a lot of Oracle sessions

    Hi All,
    I wanted to set BusinessObjects Enterprise XI 3.1 for our customers (they use BOE XI R2 now).
    But I met with some problem for Desktop Intelligence in 3-tier mode (ZABO formerly).
    Configuration:
    BO Server: BusinessObjects Enterprise XI 3.1
    BO Client: Desktop Intelligence version 12.1.0.882
    BOE Connection Server: version 12.1.0.882 (2.0.0.29)
    Product database (Data Warehouse): Oracle Server 10g
    Database client: Oracle Client 10.2.0.1
    Connection type: http (J2EE Portal) u2013 Tomcat
    Customer DI Documents contain 10 queries on average.
    Problem:
    ConnectionServer create a session in Oracle FOR EACH QUERY from Desktop Intelligence document and BY EACH REFRESH.
    e.g.:
    30 users loaded any reports simultaneously and refresh theirs:
    30 users * 10 queries (per 1 doc on average) = 301 Oracle sessions !!! (300 for queries and 1 for connection)
    second refresh: 301 + 300 = 601 Oracle sessions
    third refresh: 601 + 300 = 901 Oracle sessions
    etc. while Oracle server is not down.
    For DI doc in 2-tier mode (client-server) u2013 only 1 sessionu2026
    Thanks.

    Look at the XI3.0 migration guide on that site.
    From page 333 onward some good info on the subject of calc. engine changes.

  • Dynamic SQL in 3 tier client server

    Hi
    We are supporting a 3 tier application which uses static SQL in the mid tier to talk to an Oracle database. This uses Twister from the now defunct Brokat company. As the user base continues to increase we are looking to move to use dynamic SQL, but are unsure of the syntax. Our current code would look something like
    StringBuffer sb = new StringBuffer();
    sb.append("SELECT * FROM MESSAGE WHERE ACCOUNT_NUMBER ='");
    sb.append(getAccount());
    sb.append("'");
    inPool.set("statement",sb.toString());
    myOracle.process("execute", inPool, outPool);
    where the last 2 statements are Twister specific. Twister must be treated as something of a black box.
    Has anyone got any ideas on what we would need to change?

    Hi
    We are supporting a 3 tier application which uses
    static SQL in the mid tier to talk to an Oracle
    database. This uses Twister from the now defunct
    Brokat company. As the user base continues to
    increase we are looking to move to use dynamic SQL,
    but are unsure of the syntax. Our current code would
    look something like
    StringBuffer sb = new StringBuffer();
    sb.append("SELECT * FROM MESSAGE WHERE ACCOUNT_NUMBER
    ='");
    sb.append(getAccount());
    sb.append("'");
    inPool.set("statement",sb.toString());
    myOracle.process("execute", inPool, outPool);
    where the last 2 statements are Twister specific.
    Twister must be treated as something of a black box.
    Has anyone got any ideas on what we would need to
    change?You want to do something like this:
    // SQL statement for prepared statement
    String sql= "SELECT * FROM MESSAGE WHERE ACCOUNT_NUMBER = ?";
    // Get a connection (we use a pool)
    Connection conn = DBUtil.getConnection ();
    // Prepare the SQL
    PreparedStatement acctPS = conn.prepareCall(sql);
    // Bind the value
    acctPS.setString(1,getAccount());
    ResultSet rset = acctPS.executeQuery();
    while (rset.next())
    // Process the result set
    rset.close();
    acctPS.close();

  • 3 tier mode

    hi all
    SAP BO XI3.1
    i want to use 3 tier mode with Deski so
    if i automatically create servername.extranet file in LocData folder via  InfoView , can i put this file into other client machine without  ?

    If this is a cluster, you may need to be cautious - but in a standalone deployment - it should work.

  • Audit deski in 3 tier mode

    Hi all!
    I try to audit deski in 3 tier mode(J2EE portal) so
    in cmc/application/deski i check all audit events
    then i enable audit on Adaptive Processing Server.
    It seems all good(i can see some audit events), but I Cannot see users ip and hosts
    Whats wrong?
    Thanks!

    Hi all!
    I try to audit deski in 3 tier mode(J2EE portal) so
    in cmc/application/deski i check all audit events
    then i enable audit on Adaptive Processing Server.
    It seems all good(i can see some audit events), but I Cannot see users ip and hosts
    Whats wrong?
    Thanks!

  • MuVo: Two-Tier Director

    Hi, i'm sure this is something that's been asked a million times before, but I'm a little confused about the Firmware upgrade i just did.
    It mentioned that the Firmware update;
    "Improves track organization and playback with two-tier directory structure."
    How does this work... I'd be grateful if someone would enlighten a novice , many thanks

    I was trying to help, and you misread my answer. Using folders to store albums in *is* simply a really great way to organise them, I was trying to be helpful!
    As I already said most MuVos do work with folders, and it is documented in the manual for *these* players. I assumed this was the case with the original MuVo (we also have the MuVo NX, MuVo TX, MuVo TX FM, MuVo USB 2.0, MuVo Slim, MuVo Micro N200, MuVo Sport C00, MuVo V200, MuVo? and MuVo? FM, so perhaps you can see it isn't quite that clear cut). I'm sorry that I couldn't fully answer your other questions, but that's no cause to be nasty to someone as any sensible person I'm sure would agree with.
    I don't own many of the products that Creative sell, but I have helped and solved a lot of questions. Take a minute or two to actually look back over some of the posts I've made, and what others have said about my answers before you jump to your conclusions.
    What is it with some people on the Internet and overreacting...Message Edited by SSR on 04-20-2005 :49 PM

Maybe you are looking for

  • VB6 and Excel loading then unloading immediately

    First off I posted this here http://social.msdn.microsoft.com/Forums/office/en-US/4c07879b-e033-4e8f-8266-95f9f606923a/vb6-and-excel-loading-then-unloading-immediately?forum=exceldev However I think this is the right forum for this. We have an old VB

  • Vendor document split

    Hello All. I have a problem when post a payroll documents and a vendor document split is generated. The problem is that the technical account isn't cleared between both documents. In the first document (document with balance accounts)  the technical

  • Upgrade 6.1.3.3000-1 Failure

    03/28/2009 18:45:33 | root: Upgrade 6.1.3.3000-1 Start 03/28/2009 19:15:14 | root: Upgrade 6.1.3.3000-1 Failure 03/28/2009 19:15:14 CCMInstall|(CAPTURE) installFull rc[1]|<LVL::Debug> 03/28/2009 19:15:14 CCMInstall|(CAPTURE) installdb Failure [-i] 1|

  • P4's /Oracle 9i/Designer 6i Repository Creation Problems

    Hi, I am currently running Windows 2000 Professional on a new P4. I was unable to install Oracle 8.1.6 so have installed Oracle 9i and Designer 6i. I have not been able to get a Repository built with this combination of hardware/software. Can anyone

  • HT5654 i have windows 8.1 is it compatiable with latest version?

    I have windows 8.1. Is the latest version compatiable?