1 Reply Latest reply on Mar 16, 2011 8:51 AM by Randall Hauch

    Performance while saving bulk nodes using JPA

    Tabish Shaikh Newbie

      Hi,

       

      I am seeing a lot of performance degradation when I am trying to save large numbers of nodes using the JPA source.

       

      What I have seen  is that for 1000 nodes it happens quite fast...but then starts degrading...

       

      I was doing test for creation of 10,000 nodes under the root node

       

      Is this a known issue or is there some setting that needs to be done for bulk node creation?

       

      Kind Regards,

      Tabish Anwar Shaikh

        • 1. Performance while saving bulk nodes using JPA
          Randall Hauch Master

          The latency of your database connection certainly contributes to the latency of the JPA connector operations (e.g., a remote DB will be slower than a local DB, and a DB on a slower remote machine will be slower than a DB on a remote faster machine). But that's no different than any other database client application.

           

          We are currently working on performance and have introduce several optimizations around startup and initialization, but haven't yet made andy changes that would improve the JPA connector performance. Thus 2.5.0.Beta1 will have some improvements, but probably not yet related to what you're seeing. So please stay tuned.

           

          Finally, generally speaking all JCR repositories do better with a repository structure that is not flat. After all, JCR is inherently hierarchical, and your repository design should take that into account and, better yet, leverage that characteristic.

           

          Best regards