Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Batch statement execution - regarding  RSS feed

 
PNS Subramanian
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We use Sybase Adaptive enterprise server.

Is there any limit on the number of sql queries that can be executed using a batch statement ? Would there be a performance hit if the number of queries exceeds a certain value ?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by PNS Subramanian:
Is there any limit on the number of sql queries that can be executed using a batch statement ?

If there is, it is so high that you wouldn't hit it in practice.

Would there be a performance hit if the number of queries exceeds a certain value ?

Yes. We've experienced this on several servers. I think it has to do with memory. We had to experiment to see where the optimal number of queries was.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!