FetchEntityCollection() is Very Slow

Posts   
 
    
Posts: 24
Joined: 01-Dec-2006
# Posted on: 24-Apr-2007 08:25:30   

Db: Oracle C# .Net 2005

I have a serious problem about performance. There is a table with 34 columns. There is only 1 row inside it. 12 tables are related with this table.

When I use: adapter.FetchEntityCollection(myEntityCollection,relationPredicateBucket,0,null) method, It takes about 10-15 seconds to open. It is realy slow although there is just one row. Why do you think it is so slow and what can I do?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 24-Apr-2007 08:47:58   

I can't guess, with that much of information. Please check the following guidelines: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7722

Also you may try to examine the generated query and run it in SQL+ or any database client tool, to check the responce time. To get the generated query, please refer to the manual: "Using the generated code -> Troubleshooting and debugging"

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 24-Apr-2007 12:46:09   

Also, do you use inheritance? A prefetch path?

Frans Bouma | Lead developer LLBLGen Pro