This is a migrated thread and some comments may be shown as answers.

[Solved] Performence Problems

3 Answers 111 Views
Data Storage for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nils
Top achievements
Rank 1
Nils asked on 12 Jun 2014, 11:22 AM
Hi,

we have some Performance Problems with huge Data-Sets. 
We use a simple (not complex) Class (Named: Location) with about 10 Properties.
If we load about 50 Location-Objects it takes 3 Seconds to load this.
If we load about 350 Location-Objects it takes 10 Seconds to load this.
If we load about 2000 Location-Objects it takes 50 Seconds to load this.

The Database has about 50000 Locations and other Tables

So i want to ask:
Can we improve something or is the context not intended for to load large amounts of data?

For loading we use this Code:
this.context.GetAll<Location>().Where( [some filter expression] )

Thanks,
Nils


3 Answers, 1 is accepted

Sort by
0
Bulent
Telerik team
answered on 12 Jun 2014, 11:57 AM
Hello Nils,

Thank you for using our persistence solution.

The performance issues that you describe look like a result of some non optimized queries. 
My suggestion for you is to read the following blog article . It will give you idea where to start optimizing your data requests. If you still encounter performace issues after applying them I would ask you for database file with example of the slowest queries that you use in your application.

Please, let me know if this information is helpful.

Regards,
Bulent
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Nils
Top achievements
Rank 1
answered on 12 Jun 2014, 12:25 PM
Thanks for your fast answer.

I read this blog before i have write this thread. I've add some indices and nothing changed.

I had tried to load the whole Table it takes more than 5 minutes so i canceled the debug-instance.

I don't think that indices can change something, because if i do "this.context.Get<Location>().Count();" it takes less than 1 second. 
Only if i want to get the Location-Objects with the Data-Storage.

Have you something other ideas?

Regards,
Nils
0
Bulent
Telerik team
answered on 12 Jun 2014, 03:32 PM
Hi Nils,

Thank you for your quick response. 
It looks like this issue should be profiled in depth. In order to reproduce and investigate it I need a solution with problematic queries and database file that is populated with data. Can you prepare and send to me such kind of simple project?

Regards,
Bulent
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Data Storage for XAML
Asked by
Nils
Top achievements
Rank 1
Answers by
Bulent
Telerik team
Nils
Top achievements
Rank 1
Share this question
or