Memory leak caused by query table meta data?

2016-05-09 Thread Zhaobang Liu
Hi there, We know that normally Mysql is good at controlling memory usage but the problem we are seeing is a bit suspicious. I want to ask for help to see whether somebody can help on debugging the issue. Feel free to let me know if there are more details needed. The databases we have are all

Re: store search result as new table in memory

2015-04-12 Thread Jan Steinman
> From: Lucio Chiappetti > > On Tue, 7 Apr 2015, shawn l.green wrote: > >> The advantage to using temporary tables is that they can have indexes on >> them. You can create the indexes when you create the table or you can ALTER >> the table later to add them. > > if they are big, using proper

Re: store search result as new table in memory

2015-04-09 Thread Lucio Chiappetti
On Tue, 7 Apr 2015, shawn l.green wrote: Temporary tables are going to become your very good friends. yes I do use temporary tables a lot The advantage to using temporary tables is that they can have indexes on them. You can create the indexes when you create the table or you can ALTER the

Re: store search result as new table in memory

2015-04-07 Thread shawn l.green
On 4/7/2015 4:12 PM, Rajeev Prasad wrote: hello Masters, I am a novice, and I am wanting to know how to achieve this: 1million plus row in a table. user runs a search, gets some results. I want to store this result in memory in a way, so that user can fire more SQL searches on this result

Re: store search result as new table in memory

2015-04-07 Thread Emil Oppeln-Bronikowski
W dniu 07.04.2015 o 22:12, Rajeev Prasad pisze: 1million plus row in a table. user runs a search, gets some results. MySQL comes with query-cache, once you run your SELECT statement the results are kept in memory. Try it by running big query and then rerun it, the second time it will take

store search result as new table in memory

2015-04-07 Thread Rajeev Prasad
hello Masters, I am a novice, and I am wanting to know how to achieve this: 1million plus row in a table. user runs a search, gets some results. I want to store this result in memory in a way, so that user can fire more SQL searches on this result. How is this done? I want this to go atleast

RE: Troubleshoot excessive memory usage in InnoDB

2013-04-29 Thread Rick James
Memory leaks are unlikely, but possible. Upgrade to a newer version. Killing threads that say "Sleep" _may_ free up some memory, but unlikely to be more than even 1MB each. It _may_ cause grief for the developers, if they haven't bulletproofed their code enough to handle &

Re: Troubleshoot excessive memory usage in InnoDB

2013-04-20 Thread Denis Jedig
19.04.2013 23:39, Ilya Kazakevich: Try to use "tuning-primer.sh": this scripts reads your variables and prints memory size you need for that. I tried that. The results are inconspicious: MEMORY USAGE Max Memory Ever Allocated : 5.27 G Configured Max Per-thread Buffers : 1.92 G

RE: Troubleshoot excessive memory usage in InnoDB

2013-04-19 Thread Rick James
y be as easy as adding an index or turning a subquery into a JOIN. Granted, that would not help to nail down the suspected memory leak. > -Original Message- > From: Ilya Kazakevich [mailto:ilya.kazakev...@jetbrains.com] > Sent: Friday, April 19, 2013 2:40 PM > To: 'Den

RE: Troubleshoot excessive memory usage in InnoDB

2013-04-19 Thread Ilya Kazakevich
Hello, Try to use "tuning-primer.sh": this scripts reads your variables and prints memory size you need for that. Here is example of its output: MEMORY USAGE Max Memory Ever Allocated : 2.86 G Configured Max Per-thread Buffers : 1.80 G Configured Max Global Buffers : 2.10 G Conf

Troubleshoot excessive memory usage in InnoDB

2013-04-19 Thread Denis Jedig
Hi all. In a specific MySQL installation of 5.6.10 using InnoDB tables, I am observing unusual memory consumption patterns. The memory usage is growing constantly - even beyond the physical memory limits. The entire on-disk storage is 41 GB (uncompressed), yet memory usage is happily growing

RE: mysql is eating up lot of CPU and memory

2012-09-20 Thread Rick James
above are probably enough for me to make a concrete recommendation. High Memory --> High is good, Swapping is _terrible_. Tuning: http://mysql.rjweb.org/doc.php/memory > -Original Message- > From: Simon K [mailto:k_simo...@yahoo.com] > Sent: Thursday, September 20, 2012 10:15

Re: mysql is eating up lot of CPU and memory

2012-09-20 Thread Andrew Moore
e are no silver bullets here except using the blackhole storage engine for all tables (joke) . Andrew On 20 Sep 2012 18:15, "Simon K" wrote: > Hi All, > > I am using HP-UX box. > > I am having problem with mysqld daemon , it is eating too much of > processor and memo

InnoDB: The InnoDB memory heap is disabled

2012-07-23 Thread Andrés Tello
Hello everyone. Today I restarted a server and got this at the log file: InnoDB: The InnoDB memory heap is disabled I read a little (maybe to little) about and it says something about the native use of malloc. The system is a linux Linux 2.6.34.7-0.7 #1 SMP PREEMPT 2010-12-13 11:13:53 +0100

Re: InnoDB and Memory Allocation

2012-05-04 Thread Johnny Withers
M, Charles Cazabon < charlesc-mysql@pyropus.ca> wrote: > Johnny Withers wrote: > > > I hope someone can help me out here. I'm having trouble with some new > > servers and memory allocation. > > > > Some basic specs on the servers: > > 32GB

Re: InnoDB and Memory Allocation

2012-05-04 Thread Charles Cazabon
Johnny Withers wrote: > I hope someone can help me out here. I'm having trouble with some new > servers and memory allocation. > > Some basic specs on the servers: > 32GB total mem > 2GB swap > 64-bit RHEL > 64-bit mysqld > overcommit_memory=2 &g

Shared memory protocol can be accessed in windows locally

2012-04-17 Thread SIVASUTHAN NADARAJAH
Dear all, I found the solution: 1. If you want to use the shared memory protocol locally on windows a. Stop the TCP/IP protocol by adding –skip-networking in my.ini file. b. Add the shared memory protocol by adding –shared-memory in my.ini file. c. Both should be

RE: Shared memory protocol can not be accessed in windows

2012-04-16 Thread SIVASUTHAN NADARAJAH
| 0 +-+--- 278 rows in set (0.00 sec)mysql> Actually, shared memory and nt pipes are protocols can be used locally with windows. But TCP can be used locally and remotely with windows. Thanks.SIVASUTHAN. Date: Sat, 14 Apr

Re: Shared memory protocol can not be accessed in windows

2012-04-14 Thread Claudio Nanni
Red carpet for you Using shared memory! last one was Monty while developing MySQL 3.x!!! Sorry Siva, A bit of fun about MySQL on windows shared-memory protocol :) I have no experience on Shared Memory protocol and as me I think 99.999% of MySQL users. I think it would be way more appropriate

Re: error 1041: Out of memory;

2012-02-28 Thread Mihamina Rakotomandimby
On 02/28/2012 03:34 PM, Shafi AHMED wrote: pls assist - please give more information (OS, ...) - you can search the web with -- "ulimit more memory" -- "mysql you-os increase memory" -- "mysql you-os increase memory ulimit" -- "mysql configuration memory&

error 1041: Out of memory;

2012-02-28 Thread Shafi AHMED
Dear All, I am getting below errors intermittently.. this is "all of a sudden " messages where the queries generated causing the prob...memory seems to be fine. pls assist [28-Feb-2012 15:54:05] MySQL error 1041: Out of memory; Check if mysqld or some other process uses all availa

RE: Memory Usage.

2011-04-25 Thread Jerry Schwartz
>-Original Message- >From: Andrés Tello [mailto:mr.crip...@gmail.com] >Sent: Monday, April 25, 2011 10:24 AM >To: Mailing-List mysql >Subject: Memory Usage. > >How can I know how memory is being used by Mysql? > >I have 32GB Ram, but I can't make mysql to u

Re: Memory Usage.

2011-04-25 Thread Reindl Harald
Am 25.04.2011 16:24, schrieb Andrés Tello: > How can I know how memory is being used by Mysql? > > I have 32GB Ram, but I can't make mysql to use more than 12GB Ram , and even > that I have tables over 40GB... > > Thanks! xD depends on storage-engine (myisam or innodb)

Memory Usage.

2011-04-25 Thread Andrés Tello
How can I know how memory is being used by Mysql? I have 32GB Ram, but I can't make mysql to use more than 12GB Ram , and even that I have tables over 40GB... Thanks! xD

InnoDB and Memory Allocation

2011-04-19 Thread Johnny Withers
I hope someone can help me out here. I'm having trouble with some new servers and memory allocation. Some basic specs on the servers: 32GB total mem 2GB swap 64-bit RHEL 64-bit mysqld overcommit_memory=2 mysql fails to start with 14GB innodb_buffer_pool_size mysql will start with 12GB b

Re: overhead in memory tables

2011-02-15 Thread Johan De Meersman
What particular overhead is growing ? :-) On Tue, Feb 15, 2011 at 10:11 AM, Geoff Galitz wrote: > > Hello. > > We have a table using the memory engine and we notice in PMA that the > overhead continues grow over time. Normally we'd optimize with such an > issue but th

overhead in memory tables

2011-02-15 Thread Geoff Galitz
Hello. We have a table using the memory engine and we notice in PMA that the overhead continues grow over time. Normally we'd optimize with such an issue but that is not applicable to memory based tables. So... does this pose a problem for long term use of the table? If so, is th

Re: How do increase memory allocated to MySQL?

2011-02-04 Thread Feris Thia
Hi Kevin, On Sat, Feb 5, 2011 at 6:00 AM, Kevin Spencer wrote: > When you use a leading wildcard symbol, MySQL will do a full table > scan regardless of any indexes you've created. > Is it also apply to regex lookup ? Regards, Feris

Re: How do increase memory allocated to MySQL?

2011-02-04 Thread Kevin Spencer
2011/2/3 Yannis Haralambous : > > what am I doing wrong? > > the query was just > > SELECT * FROM wasfoundin WHERE yakoright LIKE '%geography%' When you use a leading wildcard symbol, MySQL will do a full table scan regardless of any indexes you've created. If you've got a MyISAM table, I recomme

RE: How do increase memory allocated to MySQL?

2011-02-04 Thread Jerry Schwartz
>-Original Message- >From: Yannis Haralambous [mailto:yannis.haralamb...@telecom-bretagne.eu] >Sent: Thursday, February 03, 2011 10:18 PM >To: David Brian Chait >Cc: mysql@lists.mysql.com; y...@mpi-inf.mpg.de >Subject: Re: How do increase memory allocated to MySQL? [J

Re: How do increase memory allocated to MySQL?

2011-02-03 Thread Johan De Meersman
2011/2/4 Yannis Haralambous > SELECT * FROM wasfoundin WHERE yakoright LIKE '%geography%' > That won't use a regular index. Have a look at fulltext indexing. For the phpmyadmin, I personally feel it's an abomination, not to mention a disaster waiting to happen; but if you really want to keep us

RE: How do increase memory allocated to MySQL?

2011-02-03 Thread David Brian Chait
7:20 PM To: Yannis Haralambous Cc: David Brian Chait; mysql@lists.mysql.com; y...@mpi-inf.mpg.de Subject: Re: How do increase memory allocated to MySQL? You're query is doing a full table scan. 2011/2/3 Yannis Haralambous mailto:yannis.haralamb...@telecom-bretagne.eu>> just a single ta

Re: How do increase memory allocated to MySQL?

2011-02-03 Thread Yannis Haralambous
alambous [mailto:yannis.haralamb...@telecom-bretagne.eu] > Sent: Thursday, February 03, 2011 5:43 PM > To: mysql@lists.mysql.com > Cc: y...@mpi-inf.mpg.de > Subject: How do increase memory allocated to MySQL? > > Hi everybody, > > I have loaded a very big amount of data i

RE: How do increase memory allocated to MySQL?

2011-02-03 Thread David Brian Chait
. Thanks, David -Original Message- From: Yannis Haralambous [mailto:yannis.haralamb...@telecom-bretagne.eu] Sent: Thursday, February 03, 2011 5:43 PM To: mysql@lists.mysql.com Cc: y...@mpi-inf.mpg.de Subject: How do increase memory allocated to MySQL? Hi everybody, I have loaded a very big

How do increase memory allocated to MySQL?

2011-02-03 Thread Yannis Haralambous
Hi everybody, I have loaded a very big amount of data in my MySQL database (coming from the YAGO project): -rw-rw 1 yannis admin 65 3 fév 16:07 db.opt -rw-rw 1 yannis admin 6392030392 3 fév 21:35 wasfoundin.MYD -rw-rw 1 yannis admin 11085793280 4 fév 04:54 wasf

Re: Out of memory error

2010-11-04 Thread Johan De Meersman
Out of your 4 gigabyte of memory, you allocate 2G to the innodb pool. Assuming you're using mostly innoDB, that's good. Say there's also about 300M allocated to the OS - assuming a dedicated server; that leaves about 1.7G for non-InnoDB operations. You have configured your

Re: Out of memory error

2010-11-03 Thread Sharl.Jimh.Tsin
upgrade to the lastest MySQL 5.1.x branch GA and try again. Best regards, Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) 2010/11/4 김수영 : > Dear MySQL users, > > I got an "Out of memory" error message on server yesterday. > I restarted mysqld, and everything

Out of memory error

2010-11-03 Thread 김수영
Dear MySQL users, I got an "Out of memory" error message on server yesterday. I restarted mysqld, and everything was go back to normal and now is fine. It happened already twice in this weekend even. But I don't know what's wrong. Server has QuadCore Xeon CPU, 4G ECC RAM

Re: calculating memory size (again)

2010-08-25 Thread Baron Schwartz
Hi Geoff, > This server has 6GB of RAM and no swap.  According to some reasearch I was > doing I found this formula for calculating memory size: > > key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = > (in your case) 384M + (64M + 2M)*1000 = 66384M > &g

Re: calculating memory size

2010-08-25 Thread Jangita
found this formula for calculating memory size: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = (in your case) 384M + (64M + 2M)*1000 = 66384M That come directly from this old post: http://bugs.mysql.com/bug.php?id=5656In our case, the result is just below 6GB and then acco

calculating memory size (again)

2010-08-24 Thread Geoff Galitz
annot create thread" errors. This server has 6GB of RAM and no swap. According to some reasearch I was doing I found this formula for calculating memory size: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = (in your case) 384M + (64M + 2M)*1000 = 66384M

calculating memory size

2010-08-24 Thread Geoff Galitz
Hello, We are having issues with one of our servers sometimes hanging up and when attempting to shutdown the DB, we get "cannot create thread" errors. This server has 6GB of RAM and no swap. According to some reasearch I was doing I found this formula for calculating m

Re: MySQL 5.0.44 with Innodb Max memory problem :-(

2010-07-22 Thread Ken Menzel
On 7/21/2010 12:16 PM, Nunzio Daveri wrote: database is around 150GB with over 5,000 tables. To make things worse, if I shutdown MySQL, top-c still says all the memory is still used? Is this a bug, why would it say all the memory is used when I turn off MySQL. The weird thing is that when I

MySQL 5.0.44 with Innodb Max memory problem :-(

2010-07-21 Thread Nunzio Daveri
Hello Gurus, I just inhereted a Sun 2 U Server with 2 Intel Quad Core CPU's and 16 GB of ram. Here is the problem. The machine is constantly at 99% Memory utilization and we get random row locking, we are only using InnoDB. The database is around 150GB with over 5,000 tables. To make t

query for memory usage

2010-04-06 Thread Young H.
Hello, How to query the memory usage for mysql server? for example, how much memory mysqld has used? and how much memory available for mysqld? The OS is Linux. Thanks. Young. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

Re: mysqlpp::Connection memory leak?

2010-01-18 Thread Attila
id, I am using the thread aware libraries of mysql and > mysqlpp. > > Here are a couple of stack traces I get on application shutdown from a > memory leak detector (using VLD 1.0 on VS 9.0): > > Connect related: > > Call Stack: > f:\dd\vctools\crt_bld\self_x86\crt\src\dbg

mysqlpp::Connection memory leak?

2010-01-18 Thread Attila
orker (when a connection becomes available) That all being said, I am using the thread aware libraries of mysql and mysqlpp. Here are a couple of stack traces I get on application shutdown from a memory leak detector (using VLD 1.0 on VS 9.0): Connect related: Call Stack: f:\dd\vctools\crt

MySQL InnoDB memory performance tuning

2010-01-10 Thread Yang Zhang
Hi, I have a fairly small (data dir is 1.2GB) InnoDB database managed by MySQL 5.4.3-beta on an 8-core x86_64 Linux box with 16GB RAM. I'd like to use as much of the memory as possible, but despite specifying (e.g.) --innodb-buffer-pool-size=30, mysql only ever takes up 374M of res

Re: Table size vs Memory requirements?

2009-11-23 Thread Brent Baisley
On Nov 22, 2009, at 8:54 AM, Ryan Chan wrote: Hello, Is it common heard from people that if you have large table (assume MyISAM in my case), you need large memory in order to have the key/index in memory for performance, otherwise, table scan on disk is slow. But how to estimate how much

Re: Table size vs Memory requirements?

2009-11-22 Thread Dan Nelson
In the last episode (Nov 22), Ryan Chan said: > Is it common heard from people that if you have large table (assume MyISAM > in my case), you need large memory in order to have the key/index in > memory for performance, otherwise, table scan on disk is slow. > > But how to estimate

Table size vs Memory requirements?

2009-11-22 Thread Ryan Chan
Hello, Is it common heard from people that if you have large table (assume MyISAM in my case), you need large memory in order to have the key/index in memory for performance, otherwise, table scan on disk is slow. But how to estimate how much memory I need? Consider a simple case, a MyISAM

how to allocate memory for mysql database

2009-11-18 Thread F.A.I.Z.A.L
hi All how we can allocate memory for mysql database. since we have different storage. each having its own buffer for running the query. in oracle we have some calculation for allocating sga size,like this any method is exist for mysql. i am seeing mysql is using default 8m for all (myisam and

Re: Memory corrupting, while retrive the query generated

2009-05-08 Thread walter harms
Ravi raj schrieb: > Dear walter Harms, > > Thanks for your valuable solution, but in the code which > you provided is printing only one row , if i try to print whole table, > or 2, or 3, columns fully means its giving segmentation fault, kindly > check the below code for furthur in

Re: Memory corrupting, while retrive the query generated

2009-05-08 Thread Ravi raj
| | } | //free(sel_smt); mysql_free_result(res); mysql_close(MySQL); exit(0); } ------code ends here Thanks and regards, Ravi - Original Message - From: "walter

Re: Memory corrupting, while retrive the query generated

2009-05-07 Thread walter harms
exit(0); } Ravi raj schrieb: > Dear All, > > I want to connect MYSQL with following C application , while i'm > trying to retrive the query generated , its corrupting the memory. > > Is there any so

Memory corrupting, while retrive the query generated

2009-05-07 Thread Ravi raj
Dear All, I want to connect MYSQL with following C application , while i'm trying to retrive the query generated , its corrupting the memory. Is there any solution , to retrive the query generated with out any memory crashes? Please help me to solve this problem.

RE: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-29 Thread Mark
into this. - Mark -Original Message- From: joerg.bru...@sun.com [mailto:joerg.bru...@sun.com] Sent: woensdag 29 april 2009 8:14 To: Mark; mysql@lists.mysql.com Subject: Re: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the ma

Re: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread Joerg Bruehe
files, I just said that using the errno value reported will help in the analysis (and tried to explain how to do that). But if somebody finds that the message "*1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a poss

RE: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread Mark
rno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug Jörg mgai...@martini ~ FGIN.sh 35 | fgrep errno find: File system loop detected; `/usr/include/gnome-xml/libxml' is part of the same file system loop as `/usr/include/gnome-xml&

RE: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread Martin Gainty
ebernehmen. > Date: Tue, 28 Apr 2009 12:26:47 +0200 > From: joerg.bru...@sun.com > Subject: Re: 1135: Can't create a new thread (errno 35); if you are not out > ofavailable memory, you can consult the manual for a possible > OS-dependent bug > To: maan...@gmail

Re: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread Joerg Bruehe
; Sent: dinsdag 28 april 2009 10:22 >> To: mysql@lists.mysql.com; VeeJay >> Subject: 1135: Can't create a new thread (errno 35); if you are not out of >> available memory, you can consult the manual for a possible OS-dependent >> bug >> >> Hello guys and gurus &g

RE: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread Mark
away. - Mark -Original Message- From: VeeJay [mailto:maan...@gmail.com] Sent: dinsdag 28 april 2009 11:27 To: Mark Cc: mysql@lists.mysql.com Subject: Re: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-d

Re: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread VeeJay
Hi folks then if I check with the process: I get following output: # ps ax | grep mysqld 797 con- I 0:00.00 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/localhost.server1.pid 835 con- S 8:

Re: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread VeeJay
lks what MySQL version you are > running. > :) > > - Mark > > > -Original Message- > From: VeeJay [mailto:maan...@gmail.com] > Sent: dinsdag 28 april 2009 10:22 > To: mysql@lists.mysql.com; VeeJay > Subject: 1135: Can't create a new thread (errno 35); if y

RE: 1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread Mark
t out of available memory, you can consult the manual for a possible OS-dependent bug Hello guys and gurus I am keep getting this error after a while "*1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible O

1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

2009-04-28 Thread VeeJay
Hello guys and gurus I am keep getting this error after a while "*1135: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug*" Even though, I have 16GB memory and 32GB swap. But mysqlserver stops a

Re: Joining memory tables is very very slow!

2009-04-01 Thread Virgilio Quilario
> I'm using MySQL 5.1.30 and have several memory tables with indexes on the > appropriate columns. When I try and join 2 particular memory tables together > to get 5k rows, it takes 90 seconds. > This is incredibly slow considering table1 has 11k rows and table2 has 5k > row

Re: Joining memory tables is very very slow!

2009-03-31 Thread Walter Heck - OlinData.com
Memory tables use hash indexes by default instead of b-tree. Try changing the index, that should help significantly. regards, Walter On Tue, Mar 31, 2009 at 6:47 PM, mos wrote: > I'm using MySQL 5.1.30 and have several memory tables with indexes on the > appropriate columns. Whe

Joining memory tables is very very slow!

2009-03-31 Thread mos
I'm using MySQL 5.1.30 and have several memory tables with indexes on the appropriate columns. When I try and join 2 particular memory tables together to get 5k rows, it takes 90 seconds. This is incredibly slow considering table1 has 11k rows and table2 has 5k rows. A table join like

Re: Mysql eat a huge amount of memory

2009-03-23 Thread Claudio Nanni
post the my.cnf and the output from 'SHOW STATUS' Claudio Tadeu Alves wrote: Hi there guys, latelly our server is suffering from a very big memory eat problem, when i start mysql it goes with about 2GB of memory, but about 20h-30h later the server is eating about 8GB, this is a hug

Mysql eat a huge amount of memory

2009-03-23 Thread Tadeu Alves
Hi there guys, latelly our server is suffering from a very big memory eat problem, when i start mysql it goes with about 2GB of memory, but about 20h-30h later the server is eating about 8GB, this is a huge problem i know that some memory variables have an sort of calculation and i think that the

Problems with mine mysql variables and memory leak problem

2009-03-18 Thread Tadeu Alves
Hello there guys, Latelly our database server is going into a very big problem, our current configuration (is in an attachment file), is having huge load of leak memory and a variable *innodb_log_file_size *is off cause when i up it the mysqld doesn't start, our server is having this s

quick question on mysql memory usage

2009-03-12 Thread Jenny Chen
Hi, My understanding is that the memory utilization of mysql can be calculated roughly using the formula like: (All global memory related server variables + max_connections * session memory related server variables) As I noticed that most global variables like key_buffer_size, innodb_buffer_szie

Re: Does binlog stay in memory when replication happens?

2009-02-28 Thread Cui Shijun
hi, Thank you for your reply :-) > What does replication have to do with it? I wonder whether mysql will copy its binlog from memory( if it exists ) then send to slave. I haven't refer to the source codes yet... > Slave's binlog?  The slave's binlog is not tied to the mas

Re: Does binlog stay in memory when replication happens?

2009-02-27 Thread Baron Schwartz
On Fri, Feb 27, 2009 at 7:04 AM, Cui Shijun wrote: > hi, >  I wonder if it is safe to assume that binlog can stay in master's > memory when replication happens It's not safe to assume. It varies from system to system depending on operating system, filesystem, scheduler a

Does binlog stay in memory when replication happens?

2009-02-27 Thread Cui Shijun
hi, I wonder if it is safe to assume that binlog can stay in master's memory when replication happens. If not, when the binlog getts corruptted, will the slave's binlog also get corrupted? Is there way to make the slave's binlog survive even in master's disk failure?

Re: How much memory can mysql 5.1 take advantage of?

2009-02-05 Thread Luis Motta Campos
Jake Maul wrote: > Didn't want this to go unanswered, although I don't have any great > info for you. > > As long as you're running a 64-bit OS and a 64-bit version of MySQL, > there's no technical reason it would be limited to less than the > addressable space (that I know of). The main gain wo

Re: mysqld memory usage

2009-02-02 Thread Sebastian Tennant
Quoth Baron Schwartz : > So I assume you have a terabyte of RAM in the server, since you didn't > say... OMG, it's using 143GB of RAM when it's idle? Wow.. > > :-) You need to provide some more details here. I can't judge > whether there is any issue at all. Sorry. My VPS has 144 MB of RAM so

Re: mysqld memory usage

2009-02-02 Thread Baron Schwartz
stian Tennant wrote: > Hi all, > > I recently installed MySQL (version 5.0) on my Debian Lenny VPS and > mysqld uses 14.3% of memory when idle. > > Is this a known issue? > > I'm aware that version 5.0 is not the latest version but it's the one > currently shi

Re: mysqld memory usage

2009-02-02 Thread Sebastian Tennant
Quoth wult...@gmail.com: > Through your conf file(s) you have told MySQL how much memory it may > consume. As long as the server does not go beyond what it is told it > may consume it is not doing anything wrong. Thanks. I'll have a look in the conf file. At the moment it's

Re: mysqld memory usage

2009-02-02 Thread Sebastian Tennant
Quoth Walter Heck : > You could bring it down, but the real question is if you really want > to do that? Making the buffers and caches smaller will reduce the > memory used, but it also reduces performance. Noted. > Could you tell us what you are hoping to use MySQL for and why you &

Re: mysqld memory usage

2009-02-01 Thread Walter Heck
You could bring it down, but the real question is if you really want to do that? Making the buffers and caches smaller will reduce the memory used, but it also reduces performance. Could you tell us what you are hoping to use MySQL for and why you wanna bring the memory usage down? Walter

mysqld memory usage

2009-02-01 Thread Sebastian Tennant
Hi all, I recently installed MySQL (version 5.0) on my Debian Lenny VPS and mysqld uses 14.3% of memory when idle. Is this a known issue? I'm aware that version 5.0 is not the latest version but it's the one currently shipped by Debian Lenny (testing) so I'm loathe to 'manua

Re: How much memory can mysql 5.1 take advantage of?

2009-01-22 Thread mos
at 7:40 AM, mos <<mailto:mo...@fastmail.fm>mo...@fastmail.fm> wrote: At 01:08 PM 1/20/2009, you wrote: While specing out a new server, I was wondering if there is any limit to how much memory can be allocated to mysql 5.1. If a server has 16GB of ram, can mysql take advantage of that

Re: How much memory can mysql 5.1 take advantage of?

2009-01-22 Thread Aaron Blew
> At 01:08 PM 1/20/2009, you wrote: > >> While specing out a new server, I was wondering if there is any limit to >> how much memory can be allocated to mysql 5.1. If a server has 16GB of ram, >> can mysql take advantage of that much ram (minus a reserved amount for the >

Re: How much memory can mysql 5.1 take advantage of?

2009-01-22 Thread mos
At 01:08 PM 1/20/2009, you wrote: While specing out a new server, I was wondering if there is any limit to how much memory can be allocated to mysql 5.1. If a server has 16GB of ram, can mysql take advantage of that much ram (minus a reserved amount for the OS obviously)? Is there any limit

Re: How much memory can mysql 5.1 take advantage of?

2009-01-21 Thread bmurphy
ote: >> While specing out a new server, I was wondering if there is any limit to >> how much memory can be allocated to mysql 5.1. If a server has 16GB of >> ram, can mysql take advantage of that much ram (minus a reserved amount >> for the OS obviously)? Is there any lim

Re: How much memory can mysql 5.1 take advantage of?

2009-01-21 Thread Jake Maul
ch RAM as you can stuff in the box. Whether it can use it *effectively* is something I don't have any experience with beyond ~8GB. I suspect it would work just fine, though. Jake On Tue, Jan 20, 2009 at 12:08 PM, wrote: > While specing out a new server, I was wondering if there is

How much memory can mysql 5.1 take advantage of?

2009-01-20 Thread webtek2001-mysql
While specing out a new server, I was wondering if there is any limit to how much memory can be allocated to mysql 5.1. If a server has 16GB of ram, can mysql take advantage of that much ram (minus a reserved amount for the OS obviously)? Is there any limit such as those imposed by 32-bit

Make Innodb give memory back?

2008-11-25 Thread Todd Lyons
ases, then call mysqldump for each database. The problem is that while I am running the script, the amount of memory that mysql on db1 uses gradually grows until it uses all RAM and swap and the kernel kills mysqld (it's not mysqldump, it's mysql itself). I have my settings very conservat

Re: when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread walter harms
s identical hardware and only a slightly upgraded distro (but also > running 5.1.23-rc), I get a glibc malloc(): memory corruption: *** error, > which traces back to the mysql_real_connect() call. I ran ldd -v on the > binary on both machines and there are some differences, but they do

Re: when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread Micah Stevens
ng 5.1.23-rc), I get a glibc malloc(): memory corruption: *** error, which traces back to the mysql_real_connect() call. I ran ldd -v on the binary on both machines and there are some differences, but they don't look important. I have run this binary on other machines before with no issues.

when calling mysql_real_connect from the c api, I get a malloc() memory corruption error.

2008-10-29 Thread Kevin Stevens
istro (but also running 5.1.23-rc), I get a glibc malloc(): memory corruption: *** error, which traces back to the mysql_real_connect() call. I ran ldd -v on the binary on both machines and there are some differences, but they don't look important. I have run this binary on other machines b

Re: mysqldump: Error 5: Out of memory

2008-10-24 Thread Moon's Father
t; > > I get this error while taking mysqldump of an InnoDB table (say > "mytable") > > mysqldump: Error 5: *Out of memory (Needed 632894352 bytes) when dumping > > table `mytable` at row: 484911* > > > > > > *current my.cnf settings:* >

Re: mysqldump: Error 5: Out of memory

2008-10-02 Thread Krishna Chandra Prajapati
nd read various suggestions. But > havnt found an appropriate solution yet. > > I get this error while taking mysqldump of an InnoDB table (say "mytable") > mysqldump: Error 5: *Out of memory (Needed 632894352 bytes) when dumping > table `mytable` at row: 484911* > > > *cur

mysqldump: Error 5: Out of memory

2008-10-01 Thread Uma Bhat
Hey Guys! I have been googling a lot on this error and read various suggestions. But havnt found an appropriate solution yet. I get this error while taking mysqldump of an InnoDB table (say "mytable") mysqldump: Error 5: *Out of memory (Needed 632894352 bytes) when dumping table `mytab

Re: Adding index to Memory table LOSES ROWS!

2008-07-28 Thread mos
gt; application code, your hardware, or generally something in your setup. > > Well, I thought it might be my code too. That's why when the memory > table was built (without the index), I went to a SqlMgr and counted the > rows. None of the rows were missing. Then I did an Alter Table and

Re: Adding index to Memory table LOSES ROWS!

2008-07-27 Thread Kevin Hunter
ly something in your setup. > > Well, I thought it might be my code too. That's why when the memory > table was built (without the index), I went to a SqlMgr and counted the > rows. None of the rows were missing. Then I did an Alter Table and added > one index to the memory table,

Re: Adding index to Memory table LOSES ROWS!

2008-07-26 Thread mos
At 09:14 AM 7/26/2008, you wrote: At 5:52p -0400 on Fri, 25 Jul 2008, mos wrote: [Adding index to memory table silently loses data] First thing, what version are you using? MySQL 5.0.24a on Windows XP Pro with 3gb RAM. The server is on the same machine as the client since I'm the onl

Re: Adding index to Memory table LOSES ROWS!

2008-07-26 Thread Kevin Hunter
At 5:52p -0400 on Fri, 25 Jul 2008, mos wrote: [Adding index to memory table silently loses data] First thing, what version are you using? Second thing, although it would still be broken, did you read the MySQL docs to make sure that the Memory table type supports the index *type* you attempted

  1   2   3   4   5   6   7   8   9   >