db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thoralf Rickert" <thoralf.rick...@cadooz.de>
Subject AW: Torque is very slow to do a .copy of an object :( Why?
Date Thu, 12 Apr 2007 14:52:17 GMT
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


Mime
View raw message