3.4. Increase the Maximum Number of Cached Instances


JBoss Data Virtualization maintains a pool of extra socket connections that are reused. For load balancing, this reduces the potential cost of switching a connection to another server instance. The default setting is to maintain 16 connections. If the client application is connecting to a large number of JBoss Data Virtualization instances and post connection time load balancing is used, then consider increasing the number of cached instances.

Procedure 3.1. Increase the Maximum Number of Cached Instances

  • Increase the org.teiid.sockets.maxCachedInstances property in the teiid-client-settings.properties file located in EAP_HOME/dataVirtualization/jdbc/teiid-VERSION-redhat-N-jdbc.jar.

    Note

    An example file (teiid-client-settings.orig.properties) is packaged in the client JAR file.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top