• 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
Marshal
Posts: 37181
515
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!