Академический Документы
Профессиональный Документы
Культура Документы
Release 8.1
May 2011
Copyright
Oracle Primavera P6 Compression Server White Paper
Copyright 2005, 2011, Oracle and/or its affiliates. All rights reserved.
The Programs (which include both the software and documentation) contain proprietary
information; they are provided under a license agreement containing restrictions on use
and disclosure and are also protected by copyright, patent, and other intellectual and
industrial property laws. Reverse engineering, disassembly, or decompilation of the
Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you
find any problems in the documentation, please report them to us in writing. This
document is not warranted to be error-free. Except as may be expressly permitted in your
license agreement for these Programs, no part of these Programs may be reproduced or
transmitted in any form or by any means, electronic or mechanical, for any purpose.
The platform-specific hardware and software requirements included in this document
were current when this document was published. However, because new platforms and
operating system software versions might be certified after this document is published,
review the certification matrix on the My Oracle Support (formerly OracleMetaLink) Web
site for the most up-to-date list of certified hardware platforms and operating system
versions. The My Oracle Support (formerly OracleMetaLink) Web site is available at the
following URL:
http://metalink.oracle.com/
or
http://support.oracle.com/
If the Programs are delivered to the United States Government or anyone licensing or
using the Programs on behalf of the United States Government, the following notice is
applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related
documentation and technical data delivered to U.S. Government customers are
"commercial computer software" or "commercial technical data" pursuant to the
applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, use, duplication, disclosure, modification, and adaptation of the
Programs, including documentation and technical data, shall be subject to the licensing
restrictions set forth in the applicable Oracle license agreement, and, to the extent
applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer
Software -- Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway,
Redwood City, CA 94065.
Copyright
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or
other inherently dangerous applications. It shall be the licensee's responsibility to take all
appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of
such applications if the Programs are used for such purposes, and we disclaim liability for
any damages caused by such use of the Programs.
Oracle and Primavera are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners. The Programs may
provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on,
third-party Web sites. You bear all risks associated with the use of such content. If you
choose to purchase any products or services from a third party, the relationship is directly
between you and the third party. Oracle is not responsible for: (a) the quality of
third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to
purchased products or services. Oracle is not responsible for any loss or damage of any
sort that you may incur from dealing with any third party.
To view the list of third party component disclosures related to this product, see the
Commercial Notices and Disclosures document for this product.
Contents
Copyright ........................................................................................................................................... 2
Business Problem ............................................................................................................................. 7
P6 Compression Server vs. Citrix ..................................................................................................... 7
Overview ........................................................................................................................................... 9
Batch SQL ....................................................................................................................................... 11
Basic Architecture ........................................................................................................................... 11
Brief Configuration Details.............................................................................................................. 12
Testing ............................................................................................................................................ 13
Test Setup ........................................................................................................................................ 13
Test Results ..................................................................................................................................... 16
Conclusion ...................................................................................................................................... 25
APPENDIX: P6 Compression Server FAQ ........................................................................................ 27
Business Problem
The current Oracle Primavera P6 Project Management application is a fat client, with
most of its required data loaded up-front. The price of loading data is paid mostly during
login and when opening projects. This approach has a number of advantages:
between database drivers like DBExpress or BDE and the database server.
It is scalable since multiple compression servers can be run on different machines for
the same database.
In This Chapter
P6 Compression Server vs. Citrix ................................................................................ 7
Citrix
Compression
Comments
Advantage Citrix
Yes
No
Multi-Platform
clients
Yes
No
Latency impact
for Login/Open
projects
No
Yes
Proven
Technology
Yes
No
Central
Administration
Yes
Server side
Free to user
Advantage
Compression
Cost
Snappiness:
Degrades with
switching screens latency
etc. in application
Memory
requirements on
server
150MB/client
10MB/ active
client. 64Kb/
passive client
P6 Compression Server
has predictable load; in
Citrix it depends on the
data loaded into the
client.
Server CPU
Unpredictable:
Depends on
actions of
multiple users
Predictable
Training
required
Simple
For customers
unaccustomed to Citrix
there is a learning curve
Overview
Overview
10
Batch SQL
Batch SQL
To reduce the network traffic, the communication protocol between P6 Professional and
P6 Compression Server supports packing of multiple SQL requests and dataset responses.
Using this Batch SQL feature, P6 Professional can minimize the effects of the latency and
achieve a better compression ratio. When in batch mode, Oracle Primaveras DBExpress
driver (PrCSDrv) for P6 Compression Server compiles multiple SQL statements and
parameters together into a single compressed request and decompiles the compressed
responses into messages, cursors and output parameters.
Basic Architecture
Figure 5 illustrates more details behind the P6 Professional/P6 Compression Server
architecture. The main Primavera Project Management application will read and write
data through Borlands DBExpress technology. A DBExpress driver provided by Primavera,
which communicates with P6 Compression Server, will do the actual work of fetching
and sending requests and response data. This indicates why there is no significant
change in the P6 Professional (the batch SQL option was one change in the P6
Professional code to accommodate P6 Compression Server). Instead of a DBExpress or
BDE driver connecting to Oracle or SQL Server, the driver connects to P6 Compression
Server.
For each P6 Professional request, a worker thread will perform the necessary work of
creating a database connection running the query, fetching the dataset, and
compressing it before returning the data back to the client.
11
12
Testing
A number of tests were conducted with the P6 Professional against P6 Compression
Server. At present, P6 Compression Server can run on Windows 2000 Server or Windows
2003 Server operating systems.
In This Section
Test Setup ................................................................................................................... 13
Test Results.................................................................................................................. 16
Test Setup
PM clients are connected through a high-speed LAN (100 Mbit/s) to P6 Compression
Server. Shunra CloudTM was used on each client in order to simulate different network
conditions. P6 Compression Server is connected directly with the database server
without any network layer in between.1 To do so, we use a Windows PC with two network
interface cards (NICs): one connects the client machines to P6 Compression Server and
the other connects P6 Compression Server directly to the database server. This two-NIC
configuration is detailed in the P6 Compression Server Administrator's Guide.
Oracle tests the performance of logging in and opening projects via the PM client using
one client and five concurrent clients. For larger concurrent access, we use a tool called
SQLPlayer that emulates the SQL load generated by the Project Management
application during login. Up to three iterations are performed for each configuration
(Number of clients, Network conditions) except for the Slow WAN case where one
iteration was performed.
The machines used had the following configurations:
Client machine: Intel P4 2.8 GHz, 2GB RAM
P6 Compression Server: 2 CPUs Intel Xeon 3.2 GHz, 4 GB RAM
Database server: 2 CPUs 3.2 GHz, 8GB RAM
A Large Database consisting of 16000 projects and 37000 resources. The project used
13
14
Testing
15
Test Results
Charts 3 and 4 show the same results as charts 1 and 2 in the Test Setup (on page 13)
topic but use the concept of gain. Gain is the ratio between the time to perform an
action using a direct Oracle connection and performing the same action using P6
Compression Server (every other parameter viz. number of users etc. is held constant). As
is obvious with charts 1 and 2, charts 3 and 4 show that the benefits of P6 Compression
Server are magnified with larger databases. For example, on a Medium WAN P6
Compression Server gets data 4.8 times faster than a two-tier setup, but 2.3 times faster
on a small Database. This is a result of P6 Compression Server being able to compress
more data with larger loads. The greater the latency, the greater the benefit of P6
Compression Server.
16
Testing
17
18
Testing
19
Chart 7: Performance Difference between One and Two NICs on P6 Compression Server
for Large Data
20
Testing
Chart 8: Performance Difference between One and Two NICs on P6 Compression Server
for Small Data
21
22
Testing
Chart 10: Login and Open Project Gains for a Small Database
23
Chart 11: P6 Compression Server performance on high end and low end box
24
Conclusion
P6 Compression Server provides faster data load for P6 Professional compared to the
standard two-tier connection. Its benefits in comparison to the two-tier setup are
magnified on high-latency networks and with larger databases. That said, even with
smaller databases there are significant gains under certain situations as our tests with
open project showed.
Our tests show that using a faster CPU and two NICs on P6 Compression Server improves
its performance considerably.
25
27
28