Advertisement

05.22.2008 at 04:21AM PDT, ID: 23423934
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Slow Oracle PDF driver with images.

Asked by matthewhamer in Oracle 10.x, Oracle 9.x

Tags: , , ,

Hello

A client of mine uses a bespoke piece of software, based on Oracle 10g, which generates output using Oracle Forms rwservlet.

The 10g PDFs are generated seemingly very slowly (perhaps 15 secs per B&W JPG), and here's what I've deduced.

The Java oracle forms is the front end for the application. In one particular form, a user can select to retrieve a number of drawings from the database, which is then compiled into a report by rwservlet and displayed on a users' client machine in Adobe Reader.

The only problem is, the processing is slower than the previous method which was with Oracle 9i Runtime sofware. The drawings retrieved from 9i were much faster, despite the actual drawing files remaining the same. They weren't generated via a PDF reader, but launched instead in a preview window. The old server hosting 9i is of a much lower spec than the 10g server, too, so it's a bit of a mystery.

I tried experimenting with the 10g PDFCOMP setting for rwservlet to affect how much compression was done. When I used the PDFCOMP=0 to generate the report, it seemed to generate faster PDFs, although the filesize remained almost identical (presumably it was trying to pointlessly apply lossless compression on JPEGs)

Does anyone know why this process is so slow on a dual processor 3GHz machine? When generating the reports, the CPU load according to task manager won't ever go about about 60% , and drops back to 50% or so after it's generated... is it possible the PDF generation process is being throttled/capped somewhere? Or is it just that the Oracle PDF driver is terrible??

Any thoughts welcome.

(I thought the way around it would be to generate the PDF once, save that in a BLOB and then retrieve the PDF BLOB every time the user hits print. Although I'm not sure what the developers would think about that....)Start Free Trial
 
 
[+][-]05.23.2008 at 12:37PM PDT, ID: 21635186

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 08:04AM PDT, ID: 21661052

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 12:05AM PDT, ID: 21666887

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 01:39AM PDT, ID: 21667301

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 10.x, Oracle 9.x
Tags: Oracle, Reports, 10g, PDF driver
Sign Up Now!
Solution Provided By: matthewhamer
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628