Professional developer
open-menucloseme
Home
About
githubtwitterlinkedinrss
  • Fastest Way To Insert the Data in MS SQL – Part 4 – Turning on the useBulkCopyForBatchInsert Parameter

    calendarMay 8, 2024 · 4 min read · java ms sql server  ·
    Share on: twitterfacebooklinkedincopy

    In previous discussions, we established that bulk insert and multi-value batched inserts represent the fastest methods for inserting data into an MS SQL Server database. However, before concluding this series, let's explore another option. MS SQL Server has introduced the parameter useBulkCopyForBatchInsert, which …


    Read More
  • Fastest Way To Insert the Data in MS SQL – Part 3 – Multi-value insert vs Bulk Api

    calendarFeb 11, 2024 · 4 min read · java ms sql server  ·
    Share on: twitterfacebooklinkedincopy

    In a previous post, we concluded that the Bulk API insert is the fastest way to insert data into an MS SQL Server database if the batch size is reasonably large. For Jdbc Template inserts, we created a regular insert statement in the form of insert into table (c1, c2, c3) values (v1, v2, v3), where c1, c2, and c3 are …


    Read More
  • Fastest Way To Insert the Data in MS SQL – Part 2 – Hibernate vs Prepared Statement vs Jdbc Template vs Bulk Api

    calendarOct 21, 2023 · 7 min read · java ms sql server  ·
    Share on: twitterfacebooklinkedincopy

    Introduction In the previous post Fastest way to insert the data in MS SQL - Part 1 Hibernate Batching we compared the performance of Hibernate inserts with batching turned off vs batching turned on. In this post, we will explore other ways to insert data into MS SQL server and compare performance with Hibernate. We …


    Read More
  • Fastest way to insert the data in MS SQL - Part 1 Hibernate Batching

    calendarOct 5, 2023 · 7 min read · java ms sql server  ·
    Share on: twitterfacebooklinkedincopy

    Introduction Currently, my team is focused on optimizing the performance of our web services. Our data manipulation tasks primarily rely on Hibernate for interacting with our MS SQL Server database. Hibernate provides a convenient and straightforward API for handling data, particularly for persisting individual or …


    Read More
  • How to Write Classes With Multiple Case Insensitive Strings

    calendarMay 12, 2023 · 4 min read · java hashMap strings  ·
    Share on: twitterfacebooklinkedincopy

    Introduction In a previous article, I discussed how to efficiently store strings in a hash map and search for them without worrying about case sensitivity. I explained how creating a custom wrapper class for String and overriding its hashCode and equals methods can achieve this goal, while ensuring good performance by …


    Read More
  • How to Use Case Insensitive String in Hash Map

    calendarApr 24, 2023 · 7 min read · java hashMap strings  ·
    Share on: twitterfacebooklinkedincopy

    Introduction By default, Microsoft SQL Server processes strings without considering their case sensitivity. Java, unlike Microsoft SQL Server, is case-sensitive which can result in problems. Specifically, on the project I'm working on, there have been numerous bugs caused by the mismatch in case sensitivity. Generally, …


    Read More
  • What Is Memory Churn and How to Avoid It in Java

    calendarApr 4, 2023 · 10 min read · java peformance  ·
    Share on: twitterfacebooklinkedincopy

    Introduction Modern hardware is very good at predicting the next instructions to be executed. This kind of prediction allows CPUs to do more work in less time. One of the strategies that hardware relies on is data locality. This means that when CPU requests data from main memory, it not only retrieves the requested …


    Read More
  • Best Practices That You Should Follow When Extracting Zip Archive in Java

    calendarDec 6, 2022 · 5 min read · zip java  ·
    Share on: twitterfacebooklinkedincopy

    Extracting archive files without controlling resource consumption is security-sensitive and can lead to denial of service. Our code executes on servers, but you should know that servers have limits. Based on this, check how many hardware resources your code can consume. Resources are CPU, RAM, disk, network... …


    Read More
  • Setting up Junit 5 Parallel Test Execution With Maven

    calendarOct 15, 2022 · 5 min read · java maven junit 5 testing parallel tests concurrent tests junit testing java testing junit 5 testing multithreaded tests in java  ·
    Share on: twitterfacebooklinkedincopy

    Introduction We need fast-build pipelines. This is because we need fast feedback from our pipeline in order to be more productive. If something is wrong with our code, then we want our pipeline to fail fast. To accomplish that, you may decide to allow parallel test execution for tests in your project. This post …


    Read More
  • I Asked a Java Champion: What Is the Biggest Problem That Professional Java Developers Are Facing Today?

    calendarOct 26, 2021 · 2 min read · java developers developers biggest problem  ·
    Share on: twitterfacebooklinkedincopy

    I have attended the workshop that is organized by the ITKonekt. The workshop was about efficient coding practices for best performance in Java. Java Champion Victor Rentea did a great job explaining all java internals, tools, hibernate, threads, collections, garbage collections, and much more. It was very enjoyable to …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Recent Posts

  • Fastest Way To Insert the Data in MS SQL – Part 4 – Turning on the useBulkCopyForBatchInsert Parameter
  • Fastest Way To Insert the Data in MS SQL – Part 3 – Multi-value insert vs Bulk Api
  • Fastest Way To Insert the Data in MS SQL – Part 2 – Hibernate vs Prepared Statement vs Jdbc Template vs Bulk Api
  • Fastest way to insert the data in MS SQL - Part 1 Hibernate Batching
  • How to Write Classes With Multiple Case Insensitive Strings
  • How to Use Case Insensitive String in Hash Map
  • What Is Memory Churn and How to Avoid It in Java
  • Best Practices That You Should Follow When Extracting Zip Archive in Java

Categories

JAVA 12 SQL 4 CARRIER 1 FUNCTIONAL-PROGRAMMING 1 PEFORMANCE 1 TESTING 1

Tags

JAVA 12 MS-SQL-SERVER 4 HASHMAP 2 STRINGS 2 CARRIER 1 CONCURRENT-TESTS 1 DEVELOPERS 1 DEVELOPERS-BIGGEST-PROBLEM 1 DEVELOPERS-MISTAKES 1 FUNCTIONAL-PROGRAMMING 1 GETTING-STARTED-WITH-FUNCTIONAL-PROGRAMMING-IN-JAVA 1 JAVA-DEVELOPERS 1 JAVA-MISTAKES 1 JAVA-TESTING 1
All Tags
CARRIER1 CONCURRENT-TESTS1 DEVELOPERS1 DEVELOPERS-BIGGEST-PROBLEM1 DEVELOPERS-MISTAKES1 FUNCTIONAL-PROGRAMMING1 GETTING-STARTED-WITH-FUNCTIONAL-PROGRAMMING-IN-JAVA1 HASHMAP2 JAVA12 JAVA-DEVELOPERS1 JAVA-MISTAKES1 JAVA-TESTING1 JUNIT-51 JUNIT-5-TESTING1 JUNIT-TESTING1 LEARN-FUNCTIONAL-PROGRAMMING1 MAVEN1 MISTAKES1 MS-SQL-SERVER4 MULTITHREADED-TESTS-IN-JAVA1 PARALLEL-TESTS1 PEFORMANCE1 STRINGS2 SUCCESSFUL-DEVELOPERS1 TESTING1 ZIP1
[A~Z][0~9]
Professional developer

Copyright  PROFESSIONAL DEVELOPER. All Rights Reserved

to-top