ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivér Szabó (JIRA) <j...@apache.org>
Subject [jira] [Updated] (AMBARI-13036) Enable JPA statement caching (internal/external)
Date Fri, 18 Sep 2015 12:57:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-13036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivér Szabó updated AMBARI-13036:
----------------------------------

new in ambari.properties:
1. internal caching: (datasource)
"server.jdbc.cache-statement" (default: true)
"server.jdbc.cache-size" (default: 150)

details: in case of server.jdbc.cache-statement property is not true (false or something else)
internal caching will be disabled

2. external caching: (c3p0)
"server.jdbc.connection-pool.max-statements" (default: 150)
"server.jdbc.connection-pool.max-statements-per-connection" (default: 50)

details: in case of "server.jdbc.connection-pool.max-statements" property is 0, external caching
will be disabled

> Enable JPA statement caching (internal/external)
> ------------------------------------------------
>
>                 Key: AMBARI-13036
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13036
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 2.1.1
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-13036.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message