提升Oracle APEX应用程序的性能

本文介绍了通过将EmbeddedPL/SQLGateway替换为OracleHTTPServer来提升Oracle APEX应用性能的方法,并在ApacheServer上配置mod_deflate进行响应压缩。详细分析了EPG的缺点及解决措施,旨在减少不必要的HTTP请求,显著提高页面加载速度。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

提升Oracle APEX的性能

影响APEX APP的性能的因素有很多。当然也就有很多种调优的方法。例如,可以做SQL查询优化,修改实现方式,例如用AJAX或者Javascript提前处理数据等等。下面主要讲两个基本的调优方法:

1. 将Embedded PL/SQL Gateway替换为Oracle HTTP Server(Apache),与Oracle数据库分开,在单独一个机器上运行
参考http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BHAGICFJ
EPG的缺点:
(1)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.

(2)EPG does not support gzip. This is another HUGE performance hit. 
参考:https://forums.oracle.com/thread/860543

2. 在Apache Server上配置mod_deflate,目的是压缩传递给客户端浏览器的response
参考:http://apextoday.blogspot.sg/2008/05/apache-2-compression-with-moddeflate.html

参考:

[1]https://forums.oracle.com/thread/631477

[2]APPLICATION EXPRESS - DELIVERING PAGES IN 3 SECONDS OR LESS(BECAUSE USES DON'T LIKE WAITING!)

http://www.shellprompt.net/~jes/docs/3%20seconds%20or%20less.pdf




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值