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 rebo

Re: What OS is the best platform for MySQL ?

2009-07-08 Thread Ken Menzel
Dan Nelson wrote: In the last episode (Jul 06), Blog Tieng Viet said: I have been using MySQL on FreeBSD for 3 years and encounterd a lot of problems related to thread management. And 1 year ago, I found that my FreeBSD box does not go well with any MySQL revision after 5.1.17-beta, because the

Re: BSD/OS and 5.1

2009-03-11 Thread Ken Menzel
Hi Dave, There is not enough information here to know if your test is failing or your compile is bad. Did the compile complete without errors? What version of BSD/OS are you using there are many versions and varieties. Most of them have a package system with per-built binaries, I would re

Re: Query Optimization

2009-01-13 Thread Ken Menzel
Try a union instead of an or condition. http://dev.mysql.com/doc/refman/5.0/en/union.html Johnny Withers wrote: I have the following tables: Customer: id,ssn Customer_Id: id,customer_id,id_num The customer table holds customers along with their SSN and the customer_id table holds identificatio

Re: Ancient, unsolved high-CPU problem -- vmstat, top and ps

2008-09-30 Thread Ken Menzel
:33 PM, Ken Menzel wrote: Yes, you can still use a hostname in the connection string, that's not what mysql uses it for, that hostname gets you from the client to the server. If you use GRANT to permit access from certain hosts IE 'grant all on mydb.* to 'mydbuuser'@&

Re: Ancient, unsolved high-CPU problem -- vmstat, top and ps

2008-09-24 Thread Ken Menzel
nd on hostnames (localhost), but specify 127.0.0.1. But here's the strange thing: On a test machine, I've added "skip-name-resolve" to my.cnf. But I can still use a hostname in the connection string, and it works. On 23-Sep-08, at 5:44 PM, Ken Menzel wrote: Hi Rene, This

Re: Ancient, unsolved high-CPU problem -- vmstat, top and ps

2008-09-23 Thread Ken Menzel
Hi Rene, This smells like an old freebsd issue with a non thread safe get-host-by-name issue and possibly other thread issues. Since Mac OS/X/Darwin is a freebsd 4 branch it is a good bet they are the same. Is it possible for you to try adding "skip-name-resolve" to my.cnf. Alternatively you

Re: PHP, MySQL questions

2008-07-23 Thread Ken Menzel
VeeJay wrote: Hi there I am going to make 2 Webserver at my work going to handle 50 mil hits per month... They are using Linux already. But being a FreeBSD fan, I have proposed MySQL and FreeBSD to my Boss convincing him that MySQL and FreeBSD is more Fast and Secure solution for his needs... An

Re: enable and disable keys

2008-06-12 Thread Ken Menzel
Ananda Kumar wrote: We have 200GB of free space on the file system where our database is located. On 6/12/08, Ken Menzel <[EMAIL PROTECTED]> wrote: Ananda Kumar wrote: Hi All, We are doing load data into a table using LOAD DATA INFILE process. Below is the method we are following. 1.

Re: enable and disable keys

2008-06-12 Thread Ken Menzel
Ananda Kumar wrote: Hi All, We are doing load data into a table using LOAD DATA INFILE process. Below is the method we are following. 1. create empty table with all the indexes. 2. disable keys 3. Load data using LOAD DATA INFILE, close to 99 Million records which takes around 3 hrs 4 . Enable k

Re: R: rename database in 4.1

2008-02-12 Thread Ken Menzel
Nanni Claudio wrote: You can try to dump-to-sql the whole DB, Create a new DB and import the sql-dump in the new DB. Aloha! Claudio -Messaggio originale- Da: Thomas Raso [mailto:[EMAIL PROTECTED] Inviato: martedì 12 febbraio 2008 17.20 A: mysql@lists.mysql.com Oggetto: rename databa

Re: mysqld startup failure

2007-12-12 Thread Ken Menzel
- Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "jekillen" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, December 11, 2007 9:12 PM Subject: Re: mysqld startup failure jekillen wrote: Hello: The saga of this machine continues: FreeBSD v6.2 latest mysql version installed from ports

Re: FreeBSD 6.1 + Libthr + MySQL 5.0.24a max connection issue or bug?

2006-10-04 Thread Ken Menzel
Have a look at kern.threads.max_threads_per_proc: 1500 and kern.threads.max_groups_per_proc: 1500 You are probably hitting one of these sysctl's. Here is a link to some other info http://unix.derkeiler.com/Mailing-Lists/FreeBSD/performance/2006-01/msg2.html There is also a wiki on Freebs

Re: MySQL 4.0.27-client and MySQL-4.1.21 server

2006-08-22 Thread Ken Menzel
http://dev.mysql.com/doc/refman/4.1/en/password-hashing.html enable old-passwords in my.cnf Hope that helps, Ken - Original Message - From: "Odhiambo Washington" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 22, 2006 1:38 PM Subject: MySQL 4.0.27-client and MySQL-4.1.21 server hi

Re: mysqldump large file (>2GBs) : some tests

2006-08-04 Thread Ken Menzel
Hi, I just saw your e-mail. We use mysqldump on solaris 9 with large files all the time. Is the partition you are writng the file to mounted with the largefiles option in /etc/mnttab? Our mysql dump files are 25 gig. Ken - Original Message - From: "Duhaime Johanne" <[EMAIL PROT

Re: Fixing "the worst InnoDB corruption bug in 3 years" - when

2005-01-06 Thread Ken Menzel
Hi Bruce - Original Message - From: "Bruce Dembecki" <[EMAIL PROTECTED]> To: Sent: Thursday, December 30, 2004 2:51 AM Subject: Re: Fixing "the worst InnoDB corruption bug in 3 years" - when As a side note with demonstrated performance increases when using innodb_file_per_table why aren

Re: FreeBSD and MySQL - mysqld eats CPU alive

2004-08-02 Thread Ken Menzel
Hi, It sounds like you are using the default thread library. I would install MySQL from /usr/ports/databases (WITH_LINUX_THREADS, see options in Makefile) or barring that try Jeremey's excellent build recipe at http://jeremy.zawodny.com/blog/archives/000458.html . We used to have the same pro

Re: table_cache size for large value in opened_tables

2004-07-26 Thread Ken Menzel
Hi Terence, > Hi all, > > My system reports: > > Open_tables 512 > Opened_tables 24,429 > > The docs say that if the latter is high I should increase the table > cache size. (currently at 512) Looks like you should do that. > > How does one decide what size to increase it to? And is there a prob

Re: MySQL limits.

2004-05-21 Thread Ken Menzel
Hi, Signal 11 can also indicate hardawre problems on BSD. Also FreeBSD might get you more answers quickly as there are more of us running FreeBSD with MYSQL for some reason. We runn FreBSD w MySQL/Linux threads on 4.9 and 5.2 and both work just fine. Ken - Original Message - From: "RV

Re: can't load library

2004-05-06 Thread Ken Menzel
Hi Bob, I don't use openBSD, but from the FreeBSD ldconfig man page I have: -m Instead of replacing the contents of the hints file with those found in the directories specified, ``merge'' in new entries. Directories recorded in the hints file by previous runs

Re: Range query on datetime with index - any optimization?

2004-05-06 Thread Ken Menzel
Should work fine. Quick test from a large sales test table (1.9 million rows): mysql> select count(*) from sali; +--+ | count(*) | +--+ | 1983026 | +--+ 1 row in set (0.00 sec) mysql> select salidate,sum(saliQtySold) from sali where salidate > DATE_SUB(CURRENT_DATE, INTER

Re: InnoDB - Foreign Key - Error 150.

2004-05-04 Thread Ken Menzel
Hi Guy's, first: Your are correct it is contraints: bash-2.05a$ perror 150 Error code 150: Unknown error: 150 150 = Foreign key constraint is incorrectly formed Second you could also try: set foreign_key_check=0; at the beginning of the restore file. set foreign_key_check=1; at the end! Best

Re: [client] var not working

2004-04-29 Thread Ken Menzel
hi Lou, I believe this is a recent feature so make sure you on on 4.0.18 if possible, I know is was added before 4.0.14. I am not sure this works on 3.23. Ken - Original Message - From: "Lou Olsten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 29, 2004 10:38 AM Sub

Re: table locking using perl DBI

2004-04-28 Thread Ken Menzel
Hi Andy, The best way to accomplish this is at an application level, setup a lock table and put your locks in there. There are many methods for handling application locks. Choose one that work for you. With a database level lock, when the connection terminates the lock is released. Persistant c

Re: 10 minutes seems excessive...

2004-04-22 Thread Ken Menzel
Seems like MySQL is selecting the primary key, or thinks that reading all rows is faster than using the month_day key. What happens if you do one day at a time with an = as in: WHERE month_day = 14 or WHERE month_day = 14 AND month_day=7 (etc) Does it run faster? Does the explain show key used=m

Re: mysql using big two tables in BSD

2004-04-22 Thread Ken Menzel
Hi Kamlesh, You should send an explain of the query, but if there is no index on tableB.user_id your join will not work well, since the actual join would be on tableB.user_id=tableA.user_id Either change your index on table b to be user_id,user_data2 or add this index. Hope this helps, Ken Ke

Re: How to protect MySQL server from intruders ?

2004-04-12 Thread Ken Menzel
Hi Sam, There are many methods and you should alsways employ more than one. The first is to use the grant system inside of mysql http://dev.mysql.com/doc/mysql/en/GRANT.html If you want no network access at all use --skip-networking Don't listen for TCP/IP connections at all. All interaction wi

Re: FBSD 5.2.CURRENT-p4 and mysqld problems

2004-04-12 Thread Ken Menzel
Are you able to run show process list? What is the status of your query? What date was your freeBSD 5-current built on? Please send output of uname -a, so that we know exactly which version on which date because -current changes every day. Also are you using libmap.conf? If yes, what are it's co

Re: Problems building readline on Solaris 7

2004-04-12 Thread Ken Menzel
Hi Erek, This seems familiar to me, are use still using Solaris make? If yes, try using GNU (gmake) it looks like a make problem. Hope this helps, Ken - Original Message - From: "Erek Dyskant" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 12, 2004 8:44 AM Subject:

Re: Perl Modelues

2004-04-08 Thread Ken Menzel
Hi Kirti, mysql_config tell the perl build module how to link with the driver. The easiest way to fix this is make sure the bin driectory of MySQL is in your path. If you can type 'mysql_config' at the command line and get an answer like: Usage: /usr/local/bin/mysql_config [OPTIONS] Options:

Re: Perl Modelues

2004-04-07 Thread Ken Menzel
Just type in the empty search box at the top of the screen: DBI returns: http://search.cpan.org/~timb/DBI-1.42/DBI.pm mysql returns: http://search.cpan.org/~rudy/DBD-mysql-2.9003/ Hope that helps Ken - Original Message - From: "Kirti S. Bajwa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: Could some one help !

2004-04-07 Thread Ken Menzel
Did you run it from the directory from which you install mysql? EG: Installed mysql at /usr/local/mysql-max-4.0.18-sun-solaris-etc cd /usr/local/mysql-max-4.0.18-sun-whatever-the-rest-is ./bin/mysql_install_db --user=mysql a.. If you installed MySQL using a binary distribution, use this comman

Re: aide urgente site d'une association que nous n'arrivons plus a reinstaller

2004-03-26 Thread Ken Menzel
l de site de web avec le usager et mot de passe correspondants. GRANT ALL ON nom-de-BD.* TO 'usager'@'localhost' identified by 'mot-de-passe' vois: http://www.mysql.com/doc/fr/GRANT.html espère que ça t'aide, Amicalement, Ken Menzel - Original Message

Re: problem with sql as a service

2004-03-13 Thread Ken Menzel
Hi Charles! Great, a little extra info is needed. Is it windows XP or 2000? My guess would be not the server version? What do you mean running as a server? Did you tpe something like cd c:\mysql mysqld --install or mysqld --install-manual ?? Also what version of mysql?! The executio

Re: Enabling Logging

2004-03-13 Thread Ken Menzel
Hi JJ, Not really a MySQL question but more a UNIX/Linux question. If mysqldump encounters an error it will like all well behaved programs write an error message to stderr. You can also from your script check the error return from the command and perform additional actions. I would guess th

Re: link error gcc compiling mysql on solaris 9 (lib not found)

2004-03-12 Thread Ken Menzel
OK, sorry to answer my own post, libgcc was is /usr/local/lib which did not get properl added with crle! crle -u -l /usr/local/lib Problem gone! Sorry to waste bandwidth (we are just learning solaris!). Ken - Original Message - From: "Ken Menzel" <[EMAIL PROTECTED

Re: two masters, one slave

2004-03-12 Thread Ken Menzel
Not at this time, however you could have two different slaves on the same physical server using mysql_mutli type of configuration. http://www.mysql.com/doc/en/mysqld_multi.html Hope it helps Ken - Original Message - From: "Ari Davidow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Fr

Re: mysql-4.0.18 build problem in FreeBSD-5.2-CURRENT

2004-03-12 Thread Ken Menzel
Hi Ganbold, I think you are asking in the wrong place. I would suggest [EMAIL PROTECTED] or [EMAIL PROTECTED] or [EMAIL PROTECTED] see . But my personal thoughts on this is if you are not ready for these types of issues don't track freebsd-current. This is bleeding edge stuff. FreeBSD-stable

Re: link error gcc compiling mysql on solaris 9 (lib not found)

2004-03-12 Thread Ken Menzel
> > That's a mess of a problem. If the libraries were included in the link, > configure must have detected them on your system somehow, but now they are not > working. Did you by any chance use --with-mysqld-ldflags=-all-static ? > Yes I did, now I realize this doesn't work on Solaris. I tried li

link error gcc compiling mysql on solaris 9 (lib not found)

2004-03-11 Thread Ken Menzel
-nls Thread model: posix gcc version 3.3.2 ------------ Ken Menzel ICQ# 9325188 www.icarz.com [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: InnoDB tables using 90% cpu

2004-03-10 Thread Ken Menzel
Hi Cliff, Either way for a production system I recommend using Linuxthreads with FreeBSD4 (also works on 5 but threads are much improved on 5). Please use the ports and make WITH_LINUXTHREADS=yes and others that use (see make pre-fetch in /usr/ports/databases/mysql-favorite-version) or http://je

Re: lire des fichiers windev5

2004-03-05 Thread Ken Menzel
Bonjour Pierre, Non mysql ne support pas un format hyperfile. C'est un format propriétaire. S'il il est possible d'exporter les donnees en format ASCII ça pouvait marcher avec un ou load data commande. Voici le doc en français: http://www.mysql.com/doc/fr/mysqlimport.html En plus s'il est pos

Re: MySQL Backup advice

2004-03-04 Thread Ken Menzel
Hi Andre, I think you are looking for this: http://www.mysql.com/doc/en/Binary_log.html Hope it helps, Ken - Original Message - From: "Andre MATOS" <[EMAIL PROTECTED]> To: "Ware Adams" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 12:09 PM Subject: Re: MySQ

Re: Can't create a new thread (errno 11)

2004-02-23 Thread Ken Menzel
Hi Christof, You don't mention the OS version you are using (So I will assume Linux) is there a sysctl for the max number of threads on your OS? Ken - Original Message - From: "Christof Egner" <[EMAIL PROTECTED]> To: "James Kelty" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturd

Re: my.cnf in MySQL-Server-4.0.17

2004-02-20 Thread Ken Menzel
Hi Ronan, Did you perhaps set MAXDSIZ is your kernel configuration above "(2047UL*1024*1024)" ? Ken - Original Message - From: "Ronan Lucio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 3:06 PM Subject: my.cnf in MySQL-Server-4.0.17 > Hi All, > > I´m

Re: Repeated 100% CPU problem in FreeBSD

2004-01-20 Thread Ken Menzel
Hi Arnaud, I did not see an answer to this so; I think the info you need is here http://jeremy.zawodny.com/blog/archives/000203.html and here http://jeremy.zawodny.com/blog/archives/000697.html But I think you want "skip-name-resolve" to be specified in my.cnf. Ken I have included the relevan

Re: One Slave Many Master

2003-12-29 Thread Ken Menzel
Hi Leo, a quick search for "multiple daemons" at www.mysql.com/doc reveals: http://www.mysql.com/doc/en/Multiple_servers.html This should give you all your answers and make it possible to do what you want. Hope this helps, Ken - Original Message - From: "Leo" <[EMAIL PROTECTED]> To: <[EM

Re: How to keep multiple instances of the same information from being displayed

2003-12-12 Thread Ken Menzel
Perhas you want SELECT DISTINCT ? http://www.mysql.com/doc/en/SELECT.html Hope that helps, Ken - Original Message - From: "Hunter, Jess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 10:47 AM Subject: How to keep multiple instances of the same information fr

Re: MySQL License

2003-12-10 Thread Ken Menzel
Len, You shouldn't post private information to a public mailing list (never do that!). Please send these type of questions to [EMAIL PROTECTED] But my guess is you should download and install it if you have not already done so. Ken - Original Message - From: "Len Buchanan" <[EMAIL PR

Re: Inquery from Varian Medical Systems

2003-11-24 Thread Ken Menzel
Hi Robert, I did not see any suggestions to you. So here is one. If you want a guarantee simple brute force dump the entire DB with mysqldump and recreate of the slave. For Exmaple mysqldump --opt mydb | mysql -umyuser -pmypwd -hremotehost myremotedb You can run this through an ssh tunnel for

Re: Errors with MySQL

2003-11-20 Thread Ken Menzel
Hi Rob, My guess would be you did not see this in the Fine Manual http://www.mysql.com/doc/en/Post-installation.html or this http://www.mysql.com/doc/en/Starting_server.html Hope this helps, Ken - Original Message - From: "Rob Snow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thur

Re: InnoDB or OS restriction?

2003-10-21 Thread Ken Menzel
Hi Alex, What user is the mysql daemon running as? Are there any limits on that user or user class (/etc/login.conf). Just because you have raised the kernel limits does not mean they are raised for the user. Can you login as that user and type "limit" and get something like - %limit cputime

Re: repair with keycache during ADD INDEX

2003-10-20 Thread Ken Menzel
Hi Franz, Check out MAX_ROWS = # and AVG_ROW_LENGTH = # options in http://www.mysql.com/doc/en/CREATE_TABLE.html Set MAX_ROWS to a very very large number You can set these with ALTER TABLE. See section 6.5.4 ALTER TABLE Syntax using table options at the end. Use the MAX_ROWS parameter and set i

Re: deleting rows which table1.row=table2.row

2003-10-13 Thread Ken Menzel
http://www.mysql.com/doc/en/DELETE.html and from that page: DELETE t1,t2 FROM t1,t2,t3 WHERE t1.id=t2.id AND t2.id=t3.id or DELETE FROM t1,t2 USING t1,t2,t3 WHERE t1.id=t2.id AND t2.id=t3.id In the above case we delete matching rows just from tables t1 and t2. >From MySQL 4.0, you can specify m

Re: connexion avec un pocket pc

2003-10-13 Thread Ken Menzel
Bonjour Frédéric, Ce liste est en anglais. Je crois que tu veux http://www.vbmysql.com . Mais le site est en anglais. Il y a beaucoup de exemples de VB 6 et VB .net sur ce site. En plus il existe un liste français à (mais il y a récemment beaucoup de silence) : Liens utiles : Poster un m

Re: Views in MYSQL

2003-10-13 Thread Ken Menzel
Hi, - Original Message - From: <[EMAIL PROTECTED]> To: "Nitin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 13, 2003 5:52 AM Subject: Re: Views in MYSQL > What about when the script uses persistent connections, these Temp Tables > would never go aw

Re: "No more room in index file"

2003-10-06 Thread Ken Menzel
acco van Schaik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 12:00 PM Subject: Re: "No more room in index file" > So then Ken Menzel says... > > Check out > > MAX_ROWS = # > > and > > AVG_ROW_LENGTH = # >

Re: "No more room in index file"

2003-10-06 Thread Ken Menzel
Check out MAX_ROWS = # and AVG_ROW_LENGTH = # options in http://www.mysql.com/doc/en/CREATE_TABLE.html Set MAX_ROWS to a very very large number You can set these with ALTER TABLE. See section 6.5.4 ALTER TABLE Syntax using table options at the end. You can verify your changes by running SHOW TABL

Re: FreeBSD 4.8 runaway MySQL 4.0.14

2003-08-28 Thread Ken Menzel
Hi Nick, This is due (so I am told) to a problem in FreeBSD threads. I have this happen once in a while also. There have been some threads changes for 4.9 but I am not sure there is any change in this. The common suggestion is to compile with LINUXTHREADS option using the ports tree. This wil

Re: Aborted clients

2003-07-25 Thread Ken Menzel
Hi Jeff, Just a quick guess did you change the max_connections variable up from the default of 100? You did not provide a show variables so I can only guess. >From the [mysqld] section of /etc/my.cnf set-variable= max_connections=500 Ken - Original Message - From: "Jeff McKeon" <

Re: MySQL 3.23.51 Reference Manual needed

2003-07-25 Thread Ken Menzel
Hi Venelin, If you have the source code go into the ./Docs directory of the source tree and read the Makefile on how to build the format you want (PDF, HTML etc) if that is the machine you built on there may already be the HTML format document there. Hope this helps, Ken - Original Messag

Re: Aborted clients

2003-07-25 Thread Ken Menzel
- Original Message - From: "Jeff McKeon" <[EMAIL PROTECTED]> To: "Ken Menzel" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 9:54 AM Subject: RE: Aborted clients > No, no changes to the max_connections. What we did discover is that > although

Searchable docs in french, german, russian etc

2003-06-24 Thread Ken Menzel
yet). Thanks for the very helpful documentation, you guys do a fantastic job! Ken ----- Ken Menzel ICQ# 9325188 www.icarz.com [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: selecting PRIMARY KEY when there is no unique value

2003-06-19 Thread Ken Menzel
Hi Paul, (good to hear from you!) We use (invoice number+date) number as the primary key for the header and (invoice number+body item number+date) in the body of the invoice. We do not allow the same invoice number to be reused on the same day. However they can eventually rollover (ours is a

Re: Help me!!!

2003-06-19 Thread Ken Menzel
mailto:[EMAIL PROTECTED] - Original Message - From: "Luis Enrique Bauzá Peña" <[EMAIL PROTECTED]> To: "Lista Mysql Inglés" <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 11:59 AM Subject: Help me!!! Hi, I need some link to a spanish mysql list, would you ...? -- MySQL General Mai

Re: Simultaneus TCP/IP connections

2003-06-17 Thread Ken Menzel
Hi Maciej, 1) MySQL works very fine for me I have 3 servers with about 150 connections per server. For other success stories see http://www.mysql.com/press/user_stories/index.html 2) for configuration info see the example configuation files included with mysql my-huge.cnf and my-large.cnf and t

Re: mysql multi-thread

2003-05-30 Thread Ken Menzel
Le reponse de Harald est entirement correct. En plus il existe un liste en français: Liens utils : Poster un message: [EMAIL PROTECTED] S'abonner: [EMAIL PROTECTED] Se désabonner : [EMAIL PROTECTED] Ecrire au proprio : [EMAIL PROTECTED] URL sur Yahoo : http://fr.groups.yahoo.com/gro

Re: problème d'install de mysql sur hp-ux

2003-03-17 Thread Ken Menzel
Bonjour Jérôme, En premier cette liste est en anglais pourtant j'ai plusieurs questions de te demander. As tu essayé de compiler MySQL sur HPUX ou utiliser l'édition precompilé sure le page de télécharger? Je te conseil de employer la version compiler par le groupe de mysql. En plus y-a-t'il

Re: very slow mysql server, help please

2003-03-06 Thread Ken Menzel
Hi William, Sleeping processes are the result of persisitant connections and should not slow down your server. As to why you server is "so slow" you will have to provide specific examples of what is slow. We reach speeds of 600 queries per second on slower hardware. Also please indicated lang

Re: MySQL 4.0.11 is released

2003-02-26 Thread Ken Menzel
Hi, How come there is not a source download for 4.0.11??? The source download is still 4.0.10! Did some one miss the source tar ball? Thanks, Ken - Original Message - From: "Lenz Grimmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wed

Re: 4G file limit

2003-02-03 Thread Ken Menzel
Hi, Even if you have large file support you must tell mysql to use long pointers when creating the table. The way to accomplih this is to add the MAX_ROWS table option when creating the table, just make it a really large number like 50. You can verify this effect by BEFORE makeing the c

Re: Character problems

2003-01-31 Thread Ken Menzel
Hi Maximo, Try this: add this to your HTML document Hope it helps Ken - Original Message - From: "Maximo Migliari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 11:19 AM Subject: Character problems > Platform: windows > MySQL version: 4.0.9-gamma > PHP v

Re: MYSQL dies after FreeBSD 4.6.2-cvsup-4.7

2003-01-30 Thread Ken Menzel
Well, just a suggestion, but if you did not install world (where the threads are) then you have a mismatch between kernel and world. OT (but what the heck!) proper procedure for freebsd cvsup to desired version cd /usr/src mergemaster -p make buildworld make buildkernel KERNCONF=yourkernel make

Re: FreeBSD 5.0 Thread Work...

2003-01-23 Thread Ken Menzel
Hi Jeremy, My only concern with LinuxThreads is building MySQL 4.0 or 4.1 with them as there is still not a FreeBSD port for MySQL 4 !!! I had alot of trouble making Linux Threads work initialy. If people want to use MySQL 4 and want to build from ports (the recommended method) I think they ar

Re: FreeBSD 5.0 Thread Work...

2003-01-21 Thread Ken Menzel
Hi Dan, Thanks for that information, does that mean (for us simple SQL guys) that even though I am running 5.0RC3 and can compile and install MySQL just fine (from ports or with my own script) it is using the threads library from 4-STABLE branch not the new threads? Also does this have soemthi

Re: FreeBSD: MySQL crash when importing 148 MB dumpfile

2003-01-18 Thread Ken Menzel
Hi Maximo, The problem is that you have a config that requires more memory than you have available. Please reduce key buffer, record buffer and sort buffer. The clues are: 030117 17:02:55 Out of memory; Check if mysqld or some other process uses key_buffer_size + (record_buffer + sort_buff

Re: MySQL freezes running under BSDI 4.2

2003-01-16 Thread Ken Menzel
Hi Dave, Couple of things: Did you see these notes? They apply to BSDi also http://www.mysql.com/doc/en/FreeBSD.html Do you have more that 1.2G of free memory? What version of Mysql? Ken P.S. my compile script rm config.cache CC=gcc CFLAGS="-O3 -DHAVE_BROKEN_REALPATH" CXX=gcc \ CXXFLAGS=

Re: Query mysql on another server

2003-01-07 Thread Ken Menzel
Well, not the way you seem to be implying. You must use your web application to create a connection to the other database. You can't join or union tables, just create the connection and run the query. Then your app can do what ever it wants with the data. Ken - Original Message - From:

Re: strange behaviour

2003-01-03 Thread Ken Menzel
Hi Wash, Please see ntoes on this page for explanations. http://jeremy.zawodny.com/blog/archives/000203.html#000203 Next please upgrade to 3.23.54 as this does contain some fixes that should help including a compile option for broken real path. Here are my compile flags, I don't recommend -O3 b

Re: MySQL eats 99& CPU time problem help

2002-12-14 Thread Ken Menzel
Hi Shawn, Also under BSDi make sure you are not running out of file descriptors. MySQL behaves very badly on BSDi when file descriptors run out! Ken - Original Message - From: "shawn xu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 11:12 AM Subject: MyS

Re: table_cache too high?

2002-11-20 Thread Ken Menzel
Thomas > > On Wed, 20 Nov 2002 09:18:15 -0500 "Ken Menzel" <[EMAIL PROTECTED]> wrote: > > > Yes, you are correct and it can be worse because you have not > > considered that there are some descriptors required by other processes > > running.

Re: table_cache too high?

2002-11-20 Thread Ken Menzel
Yes, you are correct and it can be worse because you have not considered that there are some descriptors required by other processes running. I suggest you increase your file limit to at least 2048. Good luck Ken - Original Message - From: "Lance Lovette" <[EMAIL PROTECTED]> To: "MySQL"

Re: mysql source for 4.0.5

2002-11-20 Thread Ken Menzel
before yelling for help. Thanks again, Ken - Original Message - From: "Dan Nelson" <[EMAIL PROTECTED]> To: "Ken Menzel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 5:17 PM Subject: Re: mysql source for 4.0.5 > In t

mysql source for 4.0.5

2002-11-19 Thread Ken Menzel
I have tried 4 mirrors in USA to download mysql source for 4.0.5 seems like the file is missing. Is anyone else having the same problem? Ken - Ken Menzel ICQ# 9325188 www.icarz.com [EMAIL PROTECTED

Re: How to index a large table?

2002-10-23 Thread Ken Menzel
lt;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Ken Menzel" <[EMAIL PROTECTED]> Cc: "Jocelyn Fournier" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 8:00 PM Subject: Re: How to index a large table? > At 18:45 -0500 10/22/0

Re: How to index a large table?

2002-10-22 Thread Ken Menzel
Just curious Chris, did you set MAX_ROWS option during table create to a really large value? If not alter the the table with this and try again, it affects the size of pointers used to create the index. (See CREATE TABLE in the manual) Hope it helps, Ken - Original Message - From: "Chri

Re: AUTO_INCREMENT max value...

2002-10-09 Thread Ken Menzel
But did you check if the file size is at 4Gig? This will cause strange things to happen, mysql does not gice a nice error for this condition. If the table was not created with MAX_ROWS option = to some real large number like 5000, then you could be running into a problem with the size of

Re: MySQL overload problem ?

2002-09-27 Thread Ken Menzel
Hi Cristiana, I am another FreeBSD user and I can tell you that FreeBSD 4.1.1 does have problems with threads. I would very much recommend that you update as there are also many security problems with that version if you are running a server that is remotely available. There were many thread

Re: Encrypted MySQL passwords

2002-09-26 Thread Ken Menzel
Hi Andrew and Richard, The password and connection info is scrambled up. You can look, If you want to check it out for your self look in the source code of ./mysql-3.23.XX/libmysql search for the following functions. especially in 'mysql_real_connect' function. It is not the best method, but

Re: client library no longer LGPL licensing

2002-09-25 Thread Ken Menzel
> Does this also apply to non-open-source but free applications? For > example, we give away Escapade for free - always have, always will, > at least for the minimal version of the product. If we develop a > non-free version of Escapade that uses mysqlclient, what happens > then? We also dist

client library no longer LGPL licensing

2002-09-24 Thread Ken Menzel
anyway, but I found it interesting that the licensing quietly changed and I wondered if anyone else cared or if this change cleared up some previous confusion and is a good thing? Ken --------- Ken Menzel ICQ# 9325188 www.icarz.com [

Re: Moving Mysql

2002-09-12 Thread Ken Menzel
Hello, First shutdown mysql. The move or copy databses to new directory. Restart server using --datadir=/my/path/for/data or place info in my.cnf file. (See examples provided with MySQL code). Ken - Original Message - From: "Soheil Shaghaghi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: MySQL Monitoring Tool

2002-09-10 Thread Ken Menzel
Hi Tom, If you are not happy with netsaint you might want to try http://jfontain.free.fr/moodss/index.html . I do not use this, however I understand alot of work has gone into it. I am curious as to why you say: > We are presently using a program known as NetSaint to monitor our services > b

Re: 2**32(4GB) problem on FreeBSD

2002-09-05 Thread Ken Menzel
Hi JC, From http://www.mysql.com/doc/en/Table_size.html (I searched on size) If you need bigger tables than 4G (and your operating system supports this), you should set the AVG_ROW_LENGTH and MAX_ROWS parameter when you create your table. See section 6.5.3 CREATE TABLE Syntax. You can also set

Re: Innodb too slow

2002-09-03 Thread Ken Menzel
Hi Alexander, I believe that the the 'count()' function works differently under INNODB type tables. With MyISAM count(*) is stored in a 'table status' area, but INNODB must scan the tables and count the rows (very slow). All other types of queries should perform much better for you, but 'coun

Re: MySQL 3.23 problems on BSDI 4.1

2002-08-16 Thread Ken Menzel
Hi John, Yes, BSDi 4.1 does indeed have serious threading problems. There was a patch issued that would stop the crashing, but I don't remeber the number. I am now installing 4.3. If you are running a server that will be available on the internet I highly advise upgrading to 4.2 or 4.3 with l

Re: Multi-terabyte mysql databases?

2002-07-30 Thread Ken Menzel
Hi Andrew, We have a catalog database with 147 Million records, but size is only about 8.5G. It is a read only application and is extremely fast under mysql. Only have about 200 users hitting it, as it is a special database for a point of sale application. I think the biggest problem you will

Re: MySQL FreeBSD LinuxThreads

2002-07-16 Thread Ken Menzel
Hi Oleg, I have similar problems on FreeBSD with one or two slow queries hogging the CPU. I am running native threads. I am looking at a parameter in the kernel (/usr/src/sys/i386/conf/LINT). It is the HZ parameter and has to do with polling frequency. The default is 100, I am experimenting

Re: Help! MySQL overloading my system

2002-07-01 Thread Ken Menzel
Hi, As a first step I would find out what mysql is doing, Use either 'show processlist' or using mysqladmin 'mysqladmin proc'. Or even better install mytop (cd /usr/ports/databases/mytop; make install; ). This program sorts the output for you. There does seem to be a sometimes bug with mysql

Re: innodb_buffer_pool_size too large

2002-05-30 Thread Ken Menzel
Hi Iago, This is really a freebsd related question and not MySQL. I believe that the archives contain some info. Anyway you need to build a custom kernel for freebsd see /usr/src/sys/i386/conf/LINT. look for this section: # Certain applications can grow to be larger than the 128M limit # that

  1   2   3   >