<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Performance Issues"]]></title>
		<link>http://forums.visual-paradigm.com/posts/32.html</link>
		<description><![CDATA[Latest messages posted in the topic "Performance Issues"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Performance Issues</title>
				<description><![CDATA[ Has anyone experienced any performance issues on Build sp1_20060811 of DB-VA? After I downloaded this build everything seems to be running slowly. Doing a list by query call against a table with only 850 records takes 15 to 20 seconds. (Running the same query in a pro-filer (toad) only takes a few milliseconds.) Assigning associations seems to be even worse taking as much as 2 minutes to complete. <br>  <br> (I'm using the .net version with Visual Studio)]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5748.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5748.html</link>
				<pubDate><![CDATA[Tue, 22 Aug 2006 04:06:59]]></pubDate>
				<author><![CDATA[ otte-o]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Hello otte-o,<br> <br> Thank you for your post, and sorry for causing you any inconveniences.<br> <br> Could you provide me with more information about your problem? Were the slowness occuring when reversing your DB (with 850 records) to DB-VA? Could you provide the steps? You also mentioned assigning associations, do you mean establishing an assiciation relationship between two shapes?<br> <br> Finally, please also let me know which DB (MSSQL, MySQL, etc...) you are working on, and which driver did you choose. Thank you.<br> <br> Best Regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5755.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5755.html</link>
				<pubDate><![CDATA[Tue, 22 Aug 2006 10:27:35]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ The slowdowns are actually occurring when you use the generated code in an application. (Using Visual Basic) The modeling and reverse database works great.  I'll provide some code examples...<br> <br> <table class="code-table-simple" align="center">
		<tr> 
		<td><span class="genmed"><b>Code:</b></span></td>
		</tr>
		</table>
		<table class="code-table" align="center">
		<tr>
		<td class="code">
		<pre>
 Dim cq&#40;&#41; As ASTA_CALL_QUEUE = ASTA_CALL_QUEUE.ListASTA_CALL_QUEUEByQuery&#40; _
 "QUEUE_TYPE_CODE = '" +  queueTypeCode + "'",  "QUEUE_DATE, QUEUE_PRIORITY"&#41;
 </pre></td>
		</tr>
		</table><br> <br> This statement can take up to a minute to execute. It will return about 850 records from a table of 8800 records or so. Running the raw SQL in our data tools (toad) will only take a fraction of a second. <br> <br> The other issues is with associations.<br> <br> <table class="code-table-simple" align="center">
		<tr> 
		<td><span class="genmed"><b>Code:</b></span></td>
		</tr>
		</table>
		<table class="code-table" align="center">
		<tr>
		<td class="code">
		<pre>
 Dim e As ABC_ENTITY = Nothing
 e = ABC_ENTITY.CreateABC_ENTITY
 
 Dim entityType As ABC_ENTITY_TYPE = ABC_ENTITY_TYPE.LoadABC_ENTITY_TYPEByORMID&#40;"FAC"&#41;
 
 e.ENTITY_TYPE = entityType
 </pre></td>
		</tr>
		</table><br> <br> The last line in this code will take almost a minute to execute.<br> <br> I am using an oracle 9i database with the 10g client. <br> <br> Thanks.<br> <br> [Edited to prevent this post from messing up the format on the page.]]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5766.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5766.html</link>
				<pubDate><![CDATA[Wed, 23 Aug 2006 04:57:45]]></pubDate>
				<author><![CDATA[ Greg]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Thanks Greg. I'll ask our engineers to look into this issue.]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5767.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5767.html</link>
				<pubDate><![CDATA[Wed, 23 Aug 2006 08:11:05]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Hi Greg,<br> <br> We tried following the information given and it only took 2 seconds to finish running your code. Are there many relationships between tables? Is it possible to send us your project file for finding out the problem? You can send to my email address at:<br> <a href="mailto:jick@visual-paradigm.com">jick@visual-paradigm.com</a><br> <br> Best Regards,<br> Jick<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5775.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5775.html</link>
				<pubDate><![CDATA[Wed, 23 Aug 2006 11:57:15]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Yes there are a lot of tables and relationships. (32 tables and 1 view) I think it is only going to get worse, because I'm just getting started on development and will add several more tables.  I will send the project file to the address provided.<br> <br> Thanks,<br> Greg ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5777.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5777.html</link>
				<pubDate><![CDATA[Wed, 23 Aug 2006 21:41:05]]></pubDate>
				<author><![CDATA[ Greg]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Hi Greg,<br> <br> Thank you for your project file, I received that already. Before working with Build sp1_20060811, did you use other builds? Do you find this problem occur any in other releases?<br> <br> Best Regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5781.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5781.html</link>
				<pubDate><![CDATA[Thu, 24 Aug 2006 09:54:49]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ I have used all the releases from the initial release of 3.2 and don't recall having this problem, but the model is always changing so it is hard to say if it is the build or the current model that is causing the problems. ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5784.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5784.html</link>
				<pubDate><![CDATA[Thu, 24 Aug 2006 20:38:35]]></pubDate>
				<author><![CDATA[ Greg]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[    Am I right in assuming that the persistence manager is loading all the records into memory when you do a list by query call? I can see why this would cause big slowdowns on a large object model. This method is very inefficient when working with large amounts of data. <br>    It would be nice if there was some sort of virtual collection that would only load one record at a time. (Kind of like the data reader object in Visual Studio) This would allow you to quickly iterate through the data. The trade off would be the amount of database activity would increase.<br> <br> Just a thought.<br> <br> Thanks,<br> Greg]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5785.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5785.html</link>
				<pubDate><![CDATA[Thu, 24 Aug 2006 21:32:46]]></pubDate>
				<author><![CDATA[ Greg]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Hi Greg,<br> <br> Sorry for the late reply. We have fixed this issue. I will send you a deploy as soon as possible. Thank you for your patient.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#5955.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#5955.html</link>
				<pubDate><![CDATA[Mon, 18 Sep 2006 19:43:53]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ I experienced the same issue described by Greg when using DB Visual ARCHITECT 3.2 Service PackBuild sp1_20060825. This is with MySql 5.0. I've attached the class diagram. Fast response on queries on Guest entity were observed until I added the Enforcement Point entity to the model - then response time is 20 secs.<br> <br> I this fix in sp 2? I thought I bought the product in Sept., so I'm not sure why I'm using sp 1.<br> <br> Thanks,<br> Brien]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#6010.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#6010.html</link>
				<pubDate><![CDATA[Fri, 22 Sep 2006 23:24:05]]></pubDate>
				<author><![CDATA[ Brien Williams]]></author>
			</item>
			<item>
				<title>Re:Performance Issues / Update to SP1</title>
				<description><![CDATA[ Hello Brien,<br> I'm not sure if this is one of the issues addressed by SP 2.<br> <br> But when you wonder why you are running on an August build which is still SP1: Use  the update function. On Windows it is under Start->Programs->Visual Paradigm->VP Suite Update 2.3.<br> <br> Best regards<br> Juergen]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#6013.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#6013.html</link>
				<pubDate><![CDATA[Sat, 23 Sep 2006 21:50:00]]></pubDate>
				<author><![CDATA[ Juergen]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Hi all,<br> <br> The fix will be available in the coming version. Sorry for not mentioning this point earlier.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#6019.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#6019.html</link>
				<pubDate><![CDATA[Mon, 25 Sep 2006 09:21:24]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:Performance Issues</title>
				<description><![CDATA[ Hi Greg and Brien,<br> <br> I am glad to inform you that DB-VA 3.2 Service Pack 3 is released. In the latest release, we added a new way for you to retrieve the objects. With the new approach, you can call iterateXXXByQuery to retrieve the objects, which is much faster.<br> <br> Please perform an upgrade to advance to the newest version. To upgrade, please run the updater inside &#36;vp-suite-install-dir/bin/.<br> <br> Hope this enhancement is useful to you. Please feel free to let me know if you have any comments about this new feature.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1569#6288.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1569#6288.html</link>
				<pubDate><![CDATA[Wed, 25 Oct 2006 11:13:08]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
	</channel>
</rss>