bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

Deploying Liquid Data

 Previous Next Contents Index View as PDF  

Tuning Performance

This topic describes how to tune performance in a BEA Liquid Data for WebLogicTM deployment. It includes the following sections:

In a production environment, Liquid Data performance is generally measured by the speed with which queries are processed and results are returned. This topic describes general guidelines for performance and, where possible, provides specific guidelines for tuning a Liquid Data deployment.

In addition to the material described in this topic, you can refer to the following documentation to tune WebLogic Server and WebLogic Integration performance:

 


Where to Begin

This topic describes where to begin tuning a Liquid Data deployment. It contains the following sections:

Checking the System Configuration

Before you begin to investigate how to tune Liquid Data performance, make sure that the system on which Liquid Data runs is reasonably configured.

Tuning Queries

In addition to the system configuration, Liquid Data performance is greatly affected by the query design, as described in Query Performance Factors. Therefore, make sure that the queries running on the Liquid Data server are reasonably designed:

 


Liquid Data Performance Factors

Many factors influence overall Liquid Data performance. Certain factors, such as query design, are within the scope of Liquid Data's control, while other factors, such as data source processing speed, are outside the scope of Liquid Data control. This topic identifies the main factors that can affect Liquid Data performance. It  includes the following sections:

Query Performance Factors

Liquid Data performance depends on the way queries are designed and configured for execution. The following query factors affect Liquid Data performance:

Table 3-1 Query Performance Factors  

Factor

Description

Query complexity

Some query operations are more resource intensive than others.

Recommendations: Because analytical queries generally consume more memory and CPU resources than simple queries, see the sections later in this table on caching and large result sets.

Query type

The type of query (stored or ad hoc) affects performance:

For certain queries, the time to compile the query might take much longer then the time to execute.

Recommendation: Use stored queries in a production system.

Design pattern used (query hints)

When building queries, the appropriate design patterns must be used to ensure the fastest possible execution speed. For example, for joins, you should use a query hint to supply more information to the execution engine about the amount of data to search when processing a query.

Recommendation:

Use hints, if applicable. A query with an appropriate hint may perform substantially better than one without a hint. Hints are particularly significant with large data sources. If you are using the Data View Builder tool, design patterns for target schema are also very important. For more information, see "Understanding Query Design Patterns" in Designing Queries and Optimizing Queries in Building Queries and Data Views.

Caching

Caching improves performance for stored queries. Liquid Data supports two types of caching:

Recommendations:

Size of intermediate or final results returned and memory usage

The larger the result size (final or intermediate results), the longer it takes to retrieve and process the results.

Recommendations:

Note: Liquid Data queries do not retrieve binary large object (BLOB) data from relational databases. For a list of supported data types, see Supported Data Types in Building Queries and Data Views.

Number of concurrent queries

The higher the number of concurrent queries, the slower the performance, particularly during peak loads. Performance improves through the use of additional CPUs and WebLogic Server clusters, as described in Clustered Deployments, and with tuning the thread pool, as described in Using the Administration Console to Monitor Performance.


 

Data Source Performance Factors

In general, Liquid Data performance depends on the speed at which the data source host system is able to process query requests and return results.

Performance Factors for All Data Sources

The following data source factors affect Liquid Data performance:

Table 3-2 Data Source Performance Factors  

Factor

Description

Data source type

Some types of data sources offer higher performance (such as relational databases) than other types (such as application integrations or Web services). For more information, see Table  3-3.

Data source size

The size of the data source always affects performance. In general, the larger the data source, the longer it takes to retrieve the query results. For example, a large XML document takes longer to process than a small XML document. For relational databases, indexing substantially improves performance, particularly for large databases.

Number of data sources

For queries that access multiple data sources, data is retrieved from each data source in sequence, one data source at a time, for all data source types except application views, web services, and custom functions (which are processed asynchronously). For application views, web services, and custom functions, you can configure the maximum number of connections or the maximum number of concurrent threads to be used. If queries use web services, application views, or custom functions extensively, then consider tuning this setting.

Data source performance and availability

Transaction isolation level (relational databases only)

For relational databases, the transaction isolation level setting can affect query performance:

For more information about configuring the transaction isolation level for a relational database, see "Creating a Relational Database Data Source Description" in Configuring Access to Relational Databases in the Liquid Data Administration Guide.


 

Performance Factors for Data Source Types

The following table describes the most important performance factors for each supported data source type:

Table 3-3 Performance Factors for Data Source Types  

Type

Important Performance Factor(s)

Relational databases

XML files

Web services

Application views

Data views


 

Platform Performance Factors

This section describes performance factors associated with the Liquid Data server, including the host server hardware, clustering Liquid Data servers, tuning threads, tuning WebLogic Server, and tuning WebLogic Integration. The most important factor is running Liquid Data on a very fast server machine with the maximum amount of available memory. For general information about platform performance, see Tuning Hardware, Operating System, and Network Performance in BEA WebLogic Server Performance and Tuning.

This section describes the following platform performance factors:

General Platform Performance Factors

The following general performance factors are associated with a Liquid Data deployment:

Table 3-4 Server Hardware Performance Factors  

Factor

Description

Network connection speed

For remote resources such as data sources, the speed and capacity of the network connection is an important factor. In addition to network capacity and throughput speeds, the number of hops between nodes can greatly affect performance. Secure connections, such as SSL (Secure Sockets Layer) increase security but slow performance.

Distribution of resources across servers

Performance is greatly affected by the way in which Liquid Data, WebLogic Server, and other WebLogic Platform resources are distributed across servers. For example:

For more information, see Designing a Deployment.


 

WebLogic Server Performance Factors

Liquid Data performance is affected by WebLogic Server performance. The WebLogic Server documentation provides a detailed suggestions for monitoring and tuning run-time performance. For detailed information, see BEA WebLogic Server Performance and Tuning in the WebLogic Server documentation.

The following table provides a summary of tuning factors, which are described at length in the WebLogic Server documentation:

Table 3-5 Summary of WebLogic Server Performance Factors  

Component

Tunable Performance Factor(s)

Hardware Resources

Operating System

Network Resources

Java Virtual Machine (JVM)

WebLogic Server

WebLogic Server Applications


 

Liquid Data Host Server Machine

Faster hardware (storage, memory, and CPU throughput), large capacity storage (for caching and disk swapping), and for the Liquid Data server host machine generally provides higher performance. The following performance factors are associated with the host server machine:

Table 3-6 Liquid Data Host Server Machine Performance Factors  

Factor

Description

CPU utilization

Optimal utilization is up to 80%.

Storage utilization

Machine should have sufficient available workspace for disk swapping and other storage operations. For recommendations, see "Installation Prerequisites" in Preparing to Install WebLogic Server in the WebLogic Server Installation Guide.

Memory utilization

Thread pools


 

WebLogic Integration Performance Factors

If Liquid Data is deployed with WebLogic Integration, then WebLogic Integration performance might affect Liquid Data performance, depending on how the two components interact. The WebLogic Integration documentation provides a detailed suggestions for monitoring and tuning run-time performance. For detailed information, see Tuning Performance in Deploying Solutions in the WebLogic Integration documentation.

The following table provides a summary of tuning factors, which are described at length in the WebLogic Integration documentation.

Table 3-7 Summary of WebLogic Integration Performance Factors  

Component

Tunable Performance Factor(s)

Business Process Management

Application Integration

B2B integration

There are no primary resources that can be tuned

WebLogic Server

Java Virtual Machine (JVM)

Hardware Resources

Operating System

JDBC Databases


 

 


Monitoring Liquid Data Performance

This section describes how to monitor Liquid Data performance. It includes the following sections:

For detailed information about monitoring resources for the Liquid Data Server, see Monitoring the Server in the WebLogic Server Administration Guide.

Monitoring Guidelines

When monitoring Liquid Data performance, consider the following guidelines:

Using the Administration Console to Monitor Performance

You can use the Administration Console to monitor performance on a Liquid Data server, including the following areas:

For detailed information about using the Administration Console to monitor server performance, see the following topics in the WebLogic Server documentation:

 

Back to Top Previous Next