Grails
  1. Grails
  2. GRAILS-9024

grails use H2 startup so too slow on tomcat or glassfish, whit other database too slow

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      test on Apache Tomcat/7.0.22, window 7 , 32bit , jdk 7.0 update3
    • Testcase included:
      yes

      Description

      TestStartupUseH2 :
      ------------------------------------------
      信息: Starting Servlet Engine: Apache Tomcat/7.0.22
      四月 12, 2012 8:15:21 下午 org.apache.catalina.startup.HostConfig deployDirector
      y
      信息: Deploying web application directory ROOT
      四月 12, 2012 8:15:21 下午 org.apache.catalina.startup.HostConfig deployDirector
      y
      信息: Deploying web application directory TestStartupUseH2
      四月 12, 2012 8:15:29 下午 org.apache.coyote.AbstractProtocol start
      信息: Starting ProtocolHandler ["http-bio-8080"]
      四月 12, 2012 8:15:29 下午 org.apache.coyote.AbstractProtocol start
      信息: Starting ProtocolHandler ["ajp-bio-8009"]
      四月 12, 2012 8:15:29 下午 org.apache.catalina.startup.Catalina start
      信息: Server startup in 7689 ms

      ==================================================
      TestStartupWhitoutDatabase:
      ------------------------------------------
      信息: Starting Servlet Engine: Apache Tomcat/7.0.22
      四月 12, 2012 8:19:57 下午 org.apache.catalina.startup.HostConfig deployDirector
      y
      信息: Deploying web application directory ROOT
      四月 12, 2012 8:19:57 下午 org.apache.catalina.startup.HostConfig deployDirector
      y
      信息: Deploying web application directory TestStartupWhitoutDatabase
      四月 12, 2012 8:20:02 下午 org.apache.coyote.AbstractProtocol start
      信息: Starting ProtocolHandler ["http-bio-8080"]
      四月 12, 2012 8:20:02 下午 org.apache.coyote.AbstractProtocol start
      信息: Starting ProtocolHandler ["ajp-bio-8009"]
      四月 12, 2012 8:20:02 下午 org.apache.catalina.startup.Catalina start
      信息: Server startup in 4413 ms
      ==================================================
      TestStartupUsePostgresPatch:
      ------------------------------------------
      信息: Starting Servlet Engine: Apache Tomcat/7.0.22
      四月 12, 2012 8:44:00 下午 org.apache.catalina.startup.HostConfig deployDirector
      y
      信息: Deploying web application directory ROOT
      四月 12, 2012 8:44:01 下午 org.apache.catalina.startup.HostConfig deployDirector
      y
      信息: Deploying web application directory TestStartupUsePostgresPatch
      四月 12, 2012 8:44:06 下午 org.apache.coyote.AbstractProtocol start
      信息: Starting ProtocolHandler ["http-bio-8080"]
      四月 12, 2012 8:44:06 下午 org.apache.coyote.AbstractProtocol start
      信息: Starting ProtocolHandler ["ajp-bio-8009"]
      四月 12, 2012 8:44:06 下午 org.apache.catalina.startup.Catalina start
      信息: Server startup in 5787 ms

      1. apache-tomcat-7.0.22_2.7z
        5.96 MB
        yang gang
      2. startup war.7z.001
        9.00 MB
        yang gang
      3. startup war.7z.002
        9.00 MB
        yang gang
      4. startup war.7z.003
        6.66 MB
        yang gang
      5. TestStartupUseH2.7z
        262 kB
        yang gang
      6. TestStartupUsePostgres.7z
        772 kB
        yang gang
      7. TestStartupUsePostgresPatch Source.7z
        772 kB
        yang gang
      8. TestStartupUsePostgresPatch war.7z.001
        9.00 MB
        yang gang
      9. TestStartupUsePostgresPatch war.7z.002
        9.00 MB
        yang gang
      10. TestStartupUsePostgresPatch war.7z.003
        7.71 MB
        yang gang
      11. TestStartupWhitoutDatabase.7z
        261 kB
        yang gang
      12. TestStartupWhitoutDatabase.7z
        261 kB
        yang gang

        Activity

        Hide
        Graeme Rocher added a comment -

        since your issue is with H2 and the slowness of that database I just you raise an issue in the H2 issue tracker

        Show
        Graeme Rocher added a comment - since your issue is with H2 and the slowness of that database I just you raise an issue in the H2 issue tracker

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            yang gang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development