-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Understanding Hibernate Partial Flush behavior
PostPosted: Thu Dec 04, 2014 2:07 am 
Newbie

Joined: Thu Dec 04, 2014 2:01 am
Posts: 1
In my java application (making use of Hibernate), I see following details from Hibernate Metrics
Code:
org.hibernate.engine.internal.StatisticalLoggingSessionEventListener Session Metrics {
46195 nanoseconds spent acquiring 1 JDBC connections;
0 nanoseconds spent releasing 0 JDBC connections;
148413278 nanoseconds spent preparing 1300 JDBC statements;
203780356679 nanoseconds spent executing 1300 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
414686772 nanoseconds spent executing 2 flushes (flushing a total of 1376 entities and 0 collections);
325171056 nanoseconds spent executing 650 partial-flushes (flushing a total of 107052 entities and 107052 collections)


The code flow is to prepare data for some target tables using data from source tables:
    1- select records from multiple source tables (4 to 5 table),
    2- do some processing, prepare data for final target tables (1-3 tables) .No change in source table entities at any point in the processing. Also there is no native query used.
    3- Persist records in final tables.

I would like to get some pointers as to what to look for to identify what might be causing partial-flush.

thanks


Top
 Profile  
 
 Post subject: Re: Understanding Hibernate Partial Flush behavior
PostPosted: Wed Feb 08, 2017 8:31 am 
Newbie

Joined: Wed Feb 08, 2017 8:27 am
Posts: 2
Dear, Try this https://groups.google.com/forum/#!topic/openolat/xAJz1Ioozoo


Top
 Profile  
 
 Post subject: Re: Understanding Hibernate Partial Flush behavior
PostPosted: Wed Feb 08, 2017 8:32 am 
Newbie

Joined: Wed Feb 08, 2017 8:27 am
Posts: 2
Try this https://groups.google.com/forum/#!topic/openolat/xAJz1Ioozoo


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.