Tools for building a db init script, perhaps besides Commons Jelly SQL



I've written a dbinit script using Commons Jelly SQL. It works, but
it's dog slow. I can't get any response from the normal channels to
questions about how to optimize it. My script creates 10-15 tables and
inserts several hundred rows. I monitor it's progress while it's
running from a SQL browser (SQuirreL), and it seems like it inserts one
row a second. I tried to set it up so that all the inserts are in a
single transaction, but either I didn't do that correctly, or it makes
no difference.

I could use some advice on whether I could get my Jelly script working
better, but I'd also be willing to look at other tools or strategies
for building a db init script. Jelly is pretty convenient, as I can
set variables for commonly used values, and write reusable methods that
I can call multiple times.

.



Relevant Pages

  • Re: Finding the external IP on a DSL router?
    ... > # set variables for email ... above script find the router's external IP address? ... If I run ifconfig -a, it shows a local address of my gateway as the inet ...
    (RedHat)
  • Problem with count-up script
    ... I have managed to get the below script *almost* working. ... // These set variables used by other parts of the script ... // This figures out how many months it has been since thatmonth ...
    (comp.lang.javascript)
  • Re: Get(ScriptResult)
    ... clicked somewhere in the script, was about to close the script and ... In layered sub-scripts it's easier to set a global to an error code ... could be used in conjunction to dynamically set variables eg. ...
    (comp.databases.filemaker)
  • Re: what is . command and : command?
    ... It may be used in a loop ... or it can be used to set variables ... is the "source" command. ... It reads and executes a script without ...
    (comp.os.linux.development.apps)