Leonard AnghelJan 7, 20202 min readHow To Optimize Batch Inserts of Parent-Child Relationships And Batch Per TransactionMotivation: Committing the database transaction after each batch execution allows us to avoid long-running transactions and, in case of a...
Leonard AnghelJan 7, 20201 min readHow To Optimize Batch Inserts of Parent-Child Relationships Motivation: Parent-child batch inserts can be optimized by ordering inserts. The figure below represents a time trend performance graphic...
Leonard AnghelJan 6, 20201 min readHow To Efficiently Finding Top N Rows Of Every GroupMotivation: You search for an efficient approach that finds top N rows of every group. Note: If you are not familiar with the...