11/15/2001: More Time Studies Today Using Jdbc To
More time studies today using JDBC to move records from MS Access to Oracle.
With an Oracle Insert taking 25 msecs and the XML creation taking 1 msec, each object starts out taking 26 msecs. When the whole program (reading records, starting threads, database connections, etc.) was run, each object took 149 msecs to process. After I adding a database connection pool, each object took 109 msecs. Which is still too long. My goal is 36 msecs to process 100,000 objects per hour.
11/14/2001: Java Oracle Stored Procedure Processing XML
After I reinstalled the plsql xdk on Oracle 8i, my jdbc stored procedure started working again.
Now I can perform some additional time studies. My technique is flexible since I’m passing an xml packet to the procedure. The procedure loops over all of the attributes in the packet and inserts each one into the data repository. My xml looks like this:
<r session="sess01" updator="medined" object="1005769145473"> <f n="PMA_APPROVAL_MEANS" v="Identicality Per FAR 21.303(c)"/> <f n="PMA_MANUFACTURER" v="Boeing"/> </r>
Each f tag defines one fact, or attribute about an object. The object attribute of the r tag links all of the attributes together. The session attribute lets me know which objects were loaded together.