-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: QueryPlanCache grows without bounds eventually getting OOM
PostPosted: Fri Feb 16, 2007 12:08 pm 
Newbie

Joined: Fri Feb 16, 2007 12:01 pm
Posts: 2
3.1

MySQL 5


If I read QueryPlanCache correctly, it keeps adding to the plan Cache
and eventually my process runs out of Memory (running with -Xmx256m)

I am suspecting that this is a case of not parameterizing queries well,
but I hope someone might have some hints here.

Thank you,
Eric Goff


Top
 Profile  
 
 Post subject: QueryPlanCache does grow without bound and represents bug.
PostPosted: Sun Feb 18, 2007 1:42 pm 
Newbie

Joined: Fri Feb 16, 2007 12:01 pm
Posts: 2
Every time you execute a new query,
it gets stuck into a query plan cache.
If you issue many different queries you can count
on an OutOfMemoryException.

i.e.

select * from foo where x=2
and
select * from foo where x=3

will both get entries in the cache.

The cache seems to need an upper bound.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.