trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: [TRAFODION-1956] Timeout for ark...
Date Wed, 18 May 2016 16:29:48 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/488#discussion_r63736792
  
    --- Diff: core/sql/cli/SessionDefaults.cpp ---
    @@ -193,6 +194,8 @@ SessionDefaults::SessionDefaults(CollHeap * heap)
       setEspStopIdleTimeout(60);
       // Default is 1800 (idle ESPs time out in 30 minutes)
       setEspIdleTimeout(30*60);
    +  // Default is 1800 (Compiler Idle time out in 30 minutes)
    +  setCompilerIdleTimeout(30*60);
    --- End diff --
    
    What do we use the compiler for now? SQL compiles are all done in the embedded compiler.
I'm guessing DDL and some utilities are the only reasons we use a separate compiler. Since
these operations are relatively infrequent, I wonder if we should make the timeout shorter
(say, 5 minutes) since the compiler will be idle most the time. It would reduce the process
and memory footprint on the system.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message