Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 30906 invoked from network); 13 Apr 2007 08:22:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Apr 2007 08:22:48 -0000 Received: (qmail 14892 invoked by uid 500); 13 Apr 2007 08:22:53 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 14875 invoked by uid 500); 13 Apr 2007 08:22:53 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 14864 invoked by uid 99); 13 Apr 2007 08:22:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 01:22:53 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 01:22:46 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HcH33-0000EE-Le for torque-user@db.apache.org; Fri, 13 Apr 2007 01:22:25 -0700 Message-ID: <9974840.post@talk.nabble.com> Date: Fri, 13 Apr 2007 01:22:25 -0700 (PDT) From: philipina To: torque-user@db.apache.org Subject: Re: AW: Torque is very slow to do a .copy of an object :( Why? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sono_uhr@hotmail.com References: <9958046.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I tried to use the function .copy(false) but apparently this one does not exists (I'm using torque 3.2-rc2) :( Alain Thoralf Rickert wrote: > > Hi! > > Could you try a myObject1.copy(false) to avoid making a deepcopy. > > bye > Thoralf > >> I'm using torque to connect to my Mysql database. >> I'm trying to improve performence of my application and I saw >> that torque is taking more than 600 ms to execute a command like: >> --------------------------------------------- >> Object1 myCopiedObject1 = myObject1.copy(); >> --------------------------------------------- >> >> Torque is only slow if I have a lots of data in my DB. I >> cannot understand this! a copy should only do the work in >> memory and not access the DB. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > > > -- View this message in context: http://www.nabble.com/Torque-is-very-slow-to-do-a-.copy-of-an-object-%3A%28-Why--tf3565099.html#a9974840 Sent from the Apache DB - Torque Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org