Just How Slow is Data Retrieval via JDBC
Slow database JDBC A JAVA program retrieves data from the database through JDBC. The retrieval speed is slow even sometimes the database load is not heavy at all and the SQL statement is simple. Now let’s do a speed testing (take Oracle as the example) to better understand this. Source data Data is generated using the TPC-H data generator. We use the customer table to perform the test. The table has 1500,0000 rows and 8 fields. The original text file name is customer.tbl and has a size of 2.3G. We are trying to load data from the text file to
...