File: benchTest.html

package info (click to toggle)
libjtds-java 1.2.5%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 12,180 kB
  • ctags: 12,775
  • sloc: java: 39,611; xml: 702; sh: 34; makefile: 12
file content (388 lines) | stat: -rw-r--r-- 14,420 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<html>
<head>
<title>jTDS JDBC Driver</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Keywords" content="jTDS, open source, free JDBC driver, free driver, free, JDBC, JDBC 2.0, JDBC 3.0, driver, type 4, pure Java, SQL Server, Sybase, SQL Server 6.5, SQL Server 7.0, SQL Server 2000, SQL Server 2005, SourceForge">
<link rel="stylesheet" href="style.css" type="text/css">
<style>
table.inner td.number { text-align: right; }
table.inner td.failed { text-align: right; color: red; }
table.inner td.fastest { color: #00ff00; }
</style>
</head>

<body>
<table class="mainTable" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3" class="logoWrapper">
      <table cellpadding="0" cellspacing="0" class="logo">
        <tr>
          <td class="logo"><img src="images/logo.gif" alt="The jTDS Project" class="logo"></td>
          <td class="logo"><img src="images/logoBg.gif" class="logoBg"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td width="9" height="9"><img src="images/maintl.gif" width="9" height="9"></td>
    <td height="9" background="images/maint.gif"><img src="images/spacer.gif"></td>
    <td width="9" height="9"><img src="images/maintr.gif" width="9" height="9"></td>
  </tr>
  <tr>
    <td width="9" background="images/mainl.gif"><img src="images/spacer.gif"></td>
    <td class="content">
      <p class="links">
        <a href="index.html">Home</a>
        | <a href="faq.html">FAQ</a>
        | <a href="doc.html">Documentation</a>
        | <a href="links.html">Links</a>
        | <a href="license.html">License</a>
        | <a href="http://sourceforge.net/projects/jtds">Project Info</a>
        | <a href="http://sourceforge.net/project/showfiles.php?group_id=33291">Download</a>
        | <a href="http://sourceforge.net/news/?group_id=33291">News</a>
        | <a href="http://sourceforge.net/tracker/?group_id=33291&atid=407762">Bugs</a>
        | <a href="http://sourceforge.net/forum/?group_id=33291">Forums</a>
      </p>


<!--
==================================
  Content starts here
==================================
-->


<p class="title">i-net Software BenchTest 2.1 for MS SQL Server Results</p>
<p>These are the results of running i-net Software's <a href="http://www.inetsoftware.de/English/Produkte/JDBC2/BenchTest2_1.zip">BenchTest
  2.1 for MS SQL Server</a>. The tests were run against an SQL Server 2000 over
  a 100Mbit network connection. The client machine was an AMD Duron 900MHz with
  512MB RAM (no idea about the server).</p>
<p>5 drivers were tested: <a href="http://www.inetsoftware.de/English/Produkte/MERLIA/default.htm">i-net
  Merlia 6.0</a>, Microsoft SQL Server Driver for JDBC SP2, JNetDirect JSQLConnect
  3.3023, jTDS 0.7 and the JDBC-ODBC bridge bundled with J2RE 1.4.2-b28. All tests
  were run twice and the final result is the average of the two test runs.</p>
<p>Unfortunately, the license of NetDirect JSQLConnect does not allow any benchmarking
  results to be made public, but it has failed the CursorUpdate test and the results
  would not have affected the final standings too much. If you want some more
  exact results for JSQLConnect, download it and the i-net Software BenchTest
  and do the testing yourself. It's very easy.</p>
<table class="inner" cellspacing="0">
  <tr>
    <td colspan="6">
      <p class="title">Tests run with rowcount = 1000</p>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>i-net Merlia</td>
    <td>MS</td>
    <td>MS Cursor<a href="#_note_Cursor" alt="Microsoft driver with SelectMethod=Cursor"><sup>1</sup></a></td>
    <td>jTDS</td>
    <td>ODBC<a href="#_note_ODBC"><sup>2</sup></a></td>
  </tr>
  <tr>
    <td>UnpreparedInsert</td>
    <td class="number">10927</td>
    <td class="number">10510</td>
    <td class="number">10395</td>
    <td class="number fastest">10154</td>
    <td class="number">11114</td>
  </tr>
  <tr>
    <td>DeleteAll</td>
    <td class="number fastest">215</td>
    <td class="number">986</td>
    <td class="number">651</td>
    <td class="number">591</td>
    <td class="number">1082</td>
  </tr>
  <tr>
    <td>CursorInsertEmpty</td>
    <td class="number fastest">11215</td>
    <td class="number">11687</td>
    <td class="number">11777</td>
    <td class="number">11475</td>
    <td class="number">11225</td>
  </tr>
  <tr>
    <td>CursorDelete</td>
    <td class="number">10845</td>
    <td class="number">10745</td>
    <td class="number">10745</td>
    <td class="number fastest">10395</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>CursorInsert</td>
    <td class="number">17951</td>
    <td class="number">13419</td>
    <td class="number">13539</td>
    <td class="number fastest">12273</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>CursorFetchPaged</td>
    <td class="number fastest">1242</td>
    <td class="number">8492</td>
    <td class="number">8412</td>
    <td class="number">2354</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>CursorUpdate</td>
    <td class="number">16523</td>
    <td class="number">21680</td>
    <td class="number">13892</td>
    <td class="number fastest">13518</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedUpdate</td>
    <td class="number">13925</td>
    <td class="number">12659</td>
    <td class="number">13268</td>
    <td class="number fastest">12097</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedUpdateWProc</td>
    <td class="number">14099</td>
    <td class="number">13148</td>
    <td class="number">13149</td>
    <td class="number fastest">10024</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>BatchPreparedUpdate</td>
    <td class="number">4015</td>
    <td class="number">4107</td>
    <td class="number">4426</td>
    <td class="number fastest">3425</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>ResultSetReadAllRows</td>
    <td class="number">901</td>
    <td class="number">951</td>
    <td class="number">1002</td>
    <td class="number fastest">401</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedBlobUpdate</td>
    <td class="number fastest">140</td>
    <td class="number">281</td>
    <td class="number">280</td>
    <td class="number">211</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedBlobUpdateWProc</td>
    <td class="number fastest">110</td>
    <td class="failed">Failed</td>
    <td class="number fastest">110</td>
    <td class="number">180</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td colspan="6">
      <p class="title">Tests run with rowcount = 100</p>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>i-net Merlia</td>
    <td>MS</td>
    <td>MS Cursor<a href="#_note_Cursor" alt="Microsoft driver with SelectMethod=Cursor"><sup>1</sup></a></td>
    <td>jTDS</td>
    <td>ODBC<a href="#_note_ODBC"><sup>2</sup></a></td>
  </tr>
  <tr>
    <td>UnpreparedInsert</td>
    <td class="number">916</td>
    <td class="number">931</td>
    <td class="number">981</td>
    <td class="number">952</td>
    <td class="number fastest">901</td>
  </tr>
  <tr>
    <td>DeleteAll</td>
    <td class="number">30</td>
    <td class="number fastest">20</td>
    <td class="number fastest">20</td>
    <td class="number">30</td>
    <td class="number fastest">20</td>
  </tr>
  <tr>
    <td>CursorInsertEmpty</td>
    <td class="number">972</td>
    <td class="number">1041</td>
    <td class="number">981</td>
    <td class="number fastest">901</td>
    <td class="number">957</td>
  </tr>
  <tr>
    <td>CursorDelete</td>
    <td class="number">931</td>
    <td class="number">1152</td>
    <td class="number">1102</td>
    <td class="number fastest">901</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>CursorInsert</td>
    <td class="number">1953</td>
    <td class="number">1237</td>
    <td class="number">1351</td>
    <td class="number fastest">1157</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>CursorFetchPaged</td>
    <td class="number fastest">370</td>
    <td class="number">1402</td>
    <td class="number">1272</td>
    <td class="number">510</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>CursorUpdate</td>
    <td class="number">1778</td>
    <td class="number">2533</td>
    <td class="number">1732</td>
    <td class="number fastest">1362</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedUpdate</td>
    <td class="number">1382</td>
    <td class="number">1177</td>
    <td class="number">1051</td>
    <td class="number fastest">962</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedUpdateWProc</td>
    <td class="number">1132</td>
    <td class="number">1131</td>
    <td class="number">1132</td>
    <td class="number fastest">871</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>BatchPreparedUpdate</td>
    <td class="number fastest">295</td>
    <td class="number">441</td>
    <td class="number">410</td>
    <td class="number">320</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>ResultSetReadAllRows</td>
    <td class="number fastest">70</td>
    <td class="number">151</td>
    <td class="number">131</td>
    <td class="number">75</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedBlobUpdate</td>
    <td class="number">40</td>
    <td class="number fastest">20</td>
    <td class="number fastest">20</td>
    <td class="number">35</td>
    <td class="failed">Failed</td>
  </tr>
  <tr>
    <td>PreparedBlobUpdateWProc</td>
    <td class="number fastest">15</td>
    <td class="failed">Failed</td>
    <td class="number">20</td>
    <td class="number fastest">15</td>
    <td class="failed">Failed</td>
  </tr>
</table>
<p class="title">The tests explained</p>
      <p>All tests use a table with an INT primary key and nullable columns of
        each SQL Server base type (about 20 in all). The rowcount is a parameter
        that determines the size of each test (number of rows inserted/updated/retrieved
        or Blob size).</p>
<ul>
  <li>UnpreparedInsert - Insert rowcount rows with default values with a classic
    INSERT using a plain statement.</li>
  <li>DeleteAll - Delete all rows with a single statement ('DELETE FROM Table').
    Not very relevant, it only tests the server, that's why the results vary so
    wildly from the 1000 rows test to the 100 rows test.</li>
  <li>CursorInsertEmpty - Insert rowcount rows using insertRow() and without setting
    the value of any column.</li>
  <li>CursorDelete - Delete rowcount rows using deleteRow().</li>
  <li>CursorInsert - Insert rowcount rows with setting all columns (one column
    for each type supported by SQL Server, except TEXT/IMAGE).</li>
  <li>CursorFetchPaged - Create a scrollable ResultSet, set the fetch size to
    rowcount/100 and scroll through it. (jTDS doesn't &quot;know&quot; how to
    fetch more than one row of a cursor-based ResultSet at once yet, so it's somewhat
    slower than the i-net driver, but still a lot faster than the others.)</li>
  <li>CursorUpdate - Update rowcount rows using updateRow().</li>
  <li>PreparedUpdate - Update rowcount rows using a classic UPDATE with a PreparedStatement.</li>
  <li>PreparedUpdateWProc - Update rowcount rows using a stored procedure with
    a PreparedStatement.</li>
  <li>BatchPreparedUpdate - Update rowcount rows using a classic UPDATE with a
    PreparedStatement and executeBatch() in batches of 10 updates.</li>
  <li>ResultSetReadAllRows - Scroll through a scrollable ResultSet and call the
    getXXX() methods for each column.</li>
  <li>PreparedBlobUpdate - Update a Blob of rowcount KB using a classic UPDATE
    with a PreparedStatement.</li>
  <li>PreparedBlobUpdateWProc - Update a Blob of rowcount KB using a stored procedure
    with a PreparedStatement.</li>
</ul>
<p><a name="_note_Cursor"></a><sup>1</sup>
  MS Cursor stands for the Microsoft driver with SelectMethod set to 'Cursor'
  (the other uses the default 'Direct' method).<br>
  <a name="_note_ODBC"></a><sup>2</sup> The JDBC-ODBC bridge failed on the CursorDelete
  test and closed the connection causing the rest of the tests to also fail.</p>


<!--
==================================
  Content ends here
==================================
-->

    </td>
    <td width="9" background="images/mainr.gif"><img src="images/spacer.gif"></td>
  </tr>
  <tr>
    <td width="9" height="9"><img src="images/mainbl.gif" width="9" height="9"></td>
    <td height="9" background="images/mainb.gif"><img src="images/spacer.gif"></td>
    <td width="9" height="9"><img src="images/mainbr.gif" width="9" height="9"></td>
  </tr>
  <tr>
    <td colspan="3">
      <table border="0" cellspacing="0" width="100%" class="outer">
        <tr>
          <td class="copyright" width="150">
            Project hosted by<br><br>
            <A href="http://sourceforge.net/projects/jtds" target="_top"><IMG src="http://sourceforge.net/sflogo.php?group_id=33291&amp;type=2" border="0" alt="SourceForge Logo" class="otherLogo"></A><br>
          </td>
          <td class="copyright" width="500">WebRing member<br><br>
            <script language=javascript src="http://ss.webring.com/navbar?f=j;y=alin_sinpalean;u=10063174"></script>
            <noscript><center><table bgcolor=gray cellspacing=0 border=2 bordercolor=red>
            <tr><td><table cellpadding=2 cellspacing=0 border=0><tr><td align=center>
            <font face=arial size=-1>This site is a member of WebRing.
            To browse visit <a href="http://ss.webring.com/navbar?f=l;y=alin_sinpalean;u=10063174">
            here</a>.</font></td></tr></table></td></tr></table></center></noscript>
          </td>
          <td class="copyright" width="150">
            Web Design<br><br>
            <a href="http://anca13.go.ro" class="outer">Anca Sinpalean</a>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>