Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8532 invoked from network); 12 Jul 2006 20:57:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 20:57:39 -0000 Received: (qmail 93948 invoked by uid 500); 12 Jul 2006 20:57:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 93756 invoked by uid 500); 12 Jul 2006 20:57:32 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 93745 invoked by uid 99); 12 Jul 2006 20:57:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 13:57:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.197.27.91] (HELO barriere241.nike.com) (146.197.27.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 13:57:31 -0700 X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Ant Sql task slow Date: Wed, 12 Jul 2006 13:57:02 -0700 Message-ID: <200607122101.k6CL14BO027885@barriere241.nike.com> In-Reply-To: <5295331.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ant Sql task slow Thread-Index: Acal5ibjQY4TgSUBTKqdKSDuaRjXigADZdqQ From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 12 Jul 2006 20:57:02.0945 (UTC) FILETIME=[B9CD5510:01C6A5F5] X-WSS-ID: 68ABBD951UG1119881-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I just looked at the source for the sql task. Ant will read the file line by line and execute the statements sequentially as they appear in the file, without loading the entire file into memory. The sql task will certainly not be as fast as a native application like sqlplus. What are the specs of the machine that you are running this on? CPU speed, memory? -Rob A > -----Original Message----- > From: eastwoj [mailto:jeastwood@fastmail.fm]=20 > Sent: Wednesday, July 12, 2006 12:02 PM > To: user@ant.apache.org > Subject: RE: Ant Sql task slow >=20 >=20 > yes. same machine .. i'm wondering if the problem might be=20 > something to do with the fact that Ant is using JDBC to=20 > execute the statements while sqlplus uses sqlnet. Maybe ant=20 > is reading all 23000 statements into memory and that's a problem?=20 > -- > View this message in context:=20 > http://www.nabble.com/Ant-Sql-task-slow-tf1932043.html#a5295331 > Sent from the Ant - Users forum at Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org