Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 9862 invoked from network); 9 Apr 2004 16:16:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Apr 2004 16:16:02 -0000 Received: (qmail 63743 invoked by uid 500); 9 Apr 2004 16:15:52 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 63698 invoked by uid 500); 9 Apr 2004 16:15:52 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 63614 invoked from network); 9 Apr 2004 16:15:51 -0000 Received: from unknown (HELO mail.globaltech-bg.com) (195.24.36.102) by daedalus.apache.org with SMTP; 9 Apr 2004 16:15:51 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.globaltech-bg.com (Postfix) with ESMTP id 5551713C8E for ; Fri, 9 Apr 2004 13:18:21 -0200 (GMT+2) Received: from mail.globaltech-bg.com ([127.0.0.1]) by localhost (ns.globaltech-bg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02965-01 for ; Fri, 9 Apr 2004 18:18:20 +0300 (EEST) Received: from bogdan (unknown [192.168.11.105]) by mail.globaltech-bg.com (Postfix) with SMTP id A74D713C80 for ; Fri, 9 Apr 2004 13:18:20 -0200 (GMT+2) Message-ID: <002601c41e4d$ee94f0f0$690ba8c0@int.globaltechbg.com> From: "Bogdan Vatkov" To: "Apache Torque Users List" References: Subject: Re: using torgue to manage production schema change Date: Fri, 9 Apr 2004 19:15:53 +0300 Organization: Global Communications Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-Virus-Scanned: by F-Prot Antivirus at mail.globaltech-bg.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yes Daniel, That is right. regards, bogdan ----- Original Message ----- From: "Daniel Huang" To: "Apache Torque Users List" Sent: Friday, April 09, 2004 7:05 PM Subject: RE: using torgue to manage production schema change > Hi Bogdan, > > Thanks for the advice. > > As a matter of fact, I do have 1G of RAM, and datadump target runs just > fine. But datasql target runs forever. Therefore I am using the native > dump/restore tool now (imp/exp for Oracle, to be specific). > > However, the point of my original post was, for a production database, I > believe generating alter table statement is the best solution. And I really > would like to recommend this as an enhancement to future torque releases. > > Thanks > Daniel > > -----Original Message----- > From: Bogdan Vatkov [mailto:bvatkov@globaltech-bg.com] > Sent: Friday, April 09, 2004 8:57 AM > To: Apache Torque Users List > Subject: Re: using torgue to manage production schema change > > Hi, > I recommend you to use native (console ) tools for > dump/restore the data (not the structure of the database) > > XML oriented one is not a good idea. (or at least unless you have 1-2 GB > RAM) > regards, > bogdan > ----- Original Message ----- > From: "Daniel Huang" > To: "Apache Torque Users List" > Sent: Friday, April 09, 2004 6:53 PM > Subject: RE: using torgue to manage production schema change > > > > Hi Thomas, > > > > May I ask how big your project-data.xml is? Mine is 1.6M and datasql > target > > runs forever. Not really a feasible solution for me. > > > > Besides, production data will keep growing, until some day it will become > to > > big for datadump target. > > > > Thanks > > Daniel > > > > -----Original Message----- > > From: Thomas Edwin Santosa [mailto:katalis@telkom.net] > > Sent: Thursday, April 08, 2004 11:57 PM > > To: Apache Torque Users List > > Subject: Re: using torgue to manage production schema change > > > > On Friday 09 April 2004 05:47, Daniel Huang wrote: > > > Hi, > > > > > > Currently under torgen-gen 3.1, if you run > > > ant -f build-torque.xml sql > > > > > > It will generate sql statements that drop tables and create new ones. > This > > > works great for development work. However, in a production environment, > > > this is not feasible because it will just drop all data as well. > > > > > > It will be great if the ant sql target will be able to generate alter > > table > > > statements so that it is safe to apply the generated DDL to a production > > > environment. > > > > > > Does this sound like a good enhancement idea for future releases? > > I myself managed to do that using datadump sql datasql and insert-sql > > target. > > > > Thomas > > > > > > Thanks > > > Daniel > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > > > For additional commands, e-mail: torque-user-help@db.apache.org > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > > For additional commands, e-mail: torque-user-help@db.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > > For additional commands, e-mail: torque-user-help@db.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org