Welcome Guest  |  Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1224 times and has 2 replies Next Thread
Male pbelanger
Newbie




Joined: Feb 13, 2009
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Query Extents versus SQL

Q1: From my reading to date, it seems that all non-SQL Query options either need Extents turned on (bad for performance) or a collection from which to search, is this correct?
Q2: I am assuming that Extents cause the table contents to be transferred from the DBMS to DataNucleus, is this correct?
Q3: As if the query expression tree were evaluated by DataNucleus instead of the DBMS (which would be bad for performance), is this correct?
Q4: I MUST be misunderstanding something because I get the impression that to get good query performance implies coding the queries in native SQL, is this correct?
[Feb 18, 2009 11:28:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male ganzuoni
Expert
Member's Avatar


Joined: Nov 16, 2005
Post Count: 1009
Status: Online
Reply to this Post  Reply with Quote 
Re: Query Extents versus SQL

Q1: From my reading to date, it seems that all non-SQL Query options either need Extents turned on (bad for performance) or a collection from which to search, is this correct?
Q2: I am assuming that Extents cause the table contents to be transferred from the DBMS to DataNucleus, is this correct?
Q3: As if the query expression tree were evaluated by DataNucleus instead of the DBMS (which would be bad for performance), is this correct?
Q4: I MUST be misunderstanding something because I get the impression that to get good query performance implies coding the queries in native SQL, is this correct?

Q1: why do you assume that you get bad performances. Do you have any evidence of this.
Q2: No
Q3: See Q1 answer
Q4: it depends.

Guido
----------------------------------------
Guido Anzuoni
http://www.objectmagic.org
[Feb 19, 2009 9:43:21 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male erik
Expert
Member's Avatar

Belgium
Joined: Mar 12, 2004
Post Count: 2991
Status: Offline
Reply to this Post  Reply with Quote 
Re: Query Extents versus SQL

Q4. datanucleus tries to push down queries to the database as much as possible
----------------------------------------
Erik Bengtson


[Feb 20, 2009 11:40:29 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread