Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performace Problem



On 18.12.2006, at 16:48, Srinivas Adusumalli wrote:

I have a performance problem while fetching records from the database.

What database?

I just have 30000 records in a table and when i fetch those records using fetch specification its taking nearly 25 seconds, i am fetching the records based on a qualifier using 3 of the columns, i tried creating indexes on those columns and when i run the SQL query saying select * from tablename where clause the Execution plan shows a very little Elapsed time but when i fetch those records from the Application its nearly taking 25 seconds , i also tried fetching using the rawRows concept but it also didn't help , this also takes almost the same time if i include most of the columns present in the table, there are nearly 70 columns in the table. Is there a way to improve the performance

Sure - but you haven't provided enough information.

1. What database? (Vendor and version)
2. How many rows in the result set?
3. Relationships that have to be resolved?

Have you tried logging the SQL and using exactly this SQL directly?

cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Performace Problem (From: Srinivas Adusumalli <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.