Re: MySql Limitations??

2006-05-31 Thread Mathieu Bruneau
llions tables and it's all fine. The only thing is that MySQL built table with a default of 4Gb maximum. It's possible to go but you need to consider it if you think your table may grow bigger than that (for MyISAM that is)! -- Mathieu Bruneau aka ROunofF === GPG keys available @

Re: Pushing mysql to the limits

2006-11-01 Thread Mathieu Bruneau
note that you probably want to use MyISAM table format and not the old ISAM one :) But with that database size and that amount of ram, you'll have intensive IO unless it's almost always the same data that is accessed... (Which doesn't make much sense if you keep that much!) Jus

Usage of quick keyword

2005-11-16 Thread Mathieu Bruneau
Hello everybody, I use a table for caching, the table is quite simple there is "id" field which is a md5 on some attributes of an object, a timestamp field and a text field for storing the data. | id char(32) | timestamp | data (text) | We clean the table every 2 mins for data older that 10

Re: I can't find the missing rows in a table--

2005-12-31 Thread Mathieu Bruneau
ure which exactly is suppose to be faster but it's worth a try! Is it possible that you are hitting some kind of limit on maximum join number in your server ? I'm not even sure if a limit of that kind exists (Just putting my tought on the table) -- Mathieu Bruneau aka ROunofF === GPG keys av

Re: Number Searches

2006-02-23 Thread Mathieu Bruneau
x27;t use with a "like" but with a "match" You could however use an typical index here, or even better an unique index to ensure the validation! Hope it helps you in you development! See for all information about fulltext index in the manual http://dev.mysql.com/doc/refman/4.1/en/fulltext-search.html -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: data backup

2006-03-07 Thread Mathieu Bruneau
kalin mintchev a écrit : > hi all... > > what's the best way to periodically back up mysql data? > so that databases and tables can be still usable even after a mysql upgrade? > > thanks... > > The only absolutely portable way is the dump in text file... Good

Re: “Out of memory; check if mysq ld or some other process uses all availab le memory;” error

2007-09-27 Thread Mathieu Bruneau
error 11 before). I kept this settings till I could upgrade to a 64 bits host. -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: running a second mysql server

2007-10-25 Thread Mathieu Bruneau
or which I have no experience. The documentation should provide the information needed however: http://dev.mysql.com/doc/refman/5.0/en/instance-manager-command-options.html Regards, -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org -- MySQL General Mailing Lis

Re: I'm actually planning the application first instead of coding first!!! :)

2007-10-25 Thread Mathieu Bruneau
de possiblity, you may want to consider other solutions. This one for example has the advantage to allow you to store more than 2 types of address along a user and keep all the address in the same table instead of having 2 tables that store more or less the same kind of information :) R

Re: MySQL configured limits

2008-01-21 Thread Mathieu Bruneau
would be efficient, depends of your application I guess :) Second you could create the table with generous MAX_ROWS and AVG_ROW_LENGTH to tell mysql to use bigger pointer. I don't know the real impact on performance that will have but at least you won't be limited to 4G of data anymore! Regar

Re: Backing up large dbs with tar

2006-11-19 Thread Mathieu Bruneau
You have many options like the people below just suggest... 1 - Use mysqldump 2 - Use mysqlhotcopy or 3 - do the mysqlhotcopy/mysqldump yourself Since I found that neither 1 nor 2 gives exactly a perfect result in many backup scheme alone. I started working on something that complement 1 and 2 t

Re: Master Switch (Or Write by SQL_THREAD only)

2006-11-25 Thread Mathieu Bruneau
Dominik Klein a écrit : >> Is there a way to allow the >> SQL_THREAD to write while holding everything else ? > > iptables -A INPUT -p tcp --dport 3306 -s MASTER_IP -j ACCEPT > iptables -A INPUT -p tcp --dport 3306 -j REJECT > Well technically that will refuse connection. Since the switch wo

Re: Help understanding the whole password issue

2006-11-28 Thread Mathieu Bruneau
ent format, newer one are much longer and start with an * so you know which user uses the new and the old scheme) 3) No '%' means everything except localhost... That's a special case in mysql :) Regards, -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.dar

Re: Differnt logs for each databse

2006-12-09 Thread Mathieu Bruneau
lock! (Prevent join between the db but allow for tuning of param for each, and allow more memory to be used than the 3-4G limit per process on 32bits architecture) mysqld_multi allows easy management of those kind of setup! -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://

Re: mysqldump slows to crawl

2006-12-11 Thread Mathieu Bruneau
akes much less cpu (but will give a bigger dump size) Also about using the mysqldump 5.0 on a mysql 4.1 server... hmmm not sure about which side effect that may have! I usually use the version that comes with the server... -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darkt

Re: mysql backup methods

2007-01-08 Thread Mathieu Bruneau
y for dumped db an tables. > Somebody meet such type of mysqlbackup script? > It doesn't put the structure in a separate file (yet), but you may want to have a look at ZRM (Zmanda Recovery Manager) for mysql here http://www.zmanda.com/backup-mysql.html This is the most complete free solution t

Re: Index not used sometimes -- why?

2007-03-24 Thread Mathieu Bruneau
him to use the index but beware of that solution as it may have an impact if you dataset change with time (growth) Regards, -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: problems with replication when db is changed

2007-03-24 Thread Mathieu Bruneau
Also which version of mysql are you using ?) -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: User name stops working until flush privileges is run

2007-04-04 Thread Mathieu Bruneau
ver came around to submit a bug or investigate a reproducable case however. But now that i'm thinking about it, I think it's when I use the revoke command. Maybe other people had a similar experience ? As a workaround, I always play it safe and use the flush privileges after changing pr

Re: HPUX out of memory errors - kernel tuning?

2007-04-04 Thread Mathieu Bruneau
uffer, and limit the max_connection settings... I'm sure you could find a lot more info around on the net! This http://www.mysqlperformanceblog.com/2006/05/17/mysql-server-memory-usage/ also gives a few pertinent information. If all the memory are needed and you wish to increase those est

Re: problem restoring from binary log

2007-04-27 Thread Mathieu Bruneau
ent of the position in the binlog you were in as a comment inside your dump. So 2 solutions, you looks at that line, which will tell you which binlog was in use and which position and then you use: For the first binlog: mysqlbinlog binlog_to_start --start-position=pos_id | mysql And simply for all oth

Re: problem restoring from binary log

2007-04-27 Thread Mathieu Bruneau
Ofer Inbar a écrit : > Mathieu Bruneau <[EMAIL PROTECTED]> wrote: >> Ofer Inbar a écrit : >>> I can repeat the problem with this procedure on the test db: >>> - Import a full mysqldump file from the prodution db >>> - flush logs >>> - run

Re: Should the db be shutdown before backing up?

2007-04-29 Thread Mathieu Bruneau
es are consistent (and will still allow for select to go through the db) Best luck -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: slave status: vague documentation of Seconds_Behind_Master

2007-05-02 Thread Mathieu Bruneau
you want to know if your slave is really up-to-date. You have to make sure, the IO_THREAD isn't constantly transferring and that the SQL_THREAD has done playing everything in the relay log! Maybe having a separate SQL_THREAD_LAG and IO_THREAD_LAG could be something possible (Feature request?) Bu

Re: Mysterious 'Lost connection' errors

2007-05-09 Thread Mathieu Bruneau
e of the connection and that the webserver were trying to communicate through it, he was reporting "Lost connection to mysql server during query" We adjust the setting of the persistent connection to 45 mins and the problem went away. This don't have anything to do with the versio

Re: Memory Problems

2007-05-15 Thread Mathieu Bruneau
>| > | thread_stack| 131072 >| > | time_format | %H:%i:%s >| > | time_zone | SYST

Re: Problem with GRANT ... 'user'@'%'

2007-05-20 Thread Mathieu Bruneau
igured right. You want to > check the bind-address and skip-networking settings. You don't want > skip-networking, and you want bind-address set to the machine's IP > address. Now that I think of it, this is more likely to be the problem > for you. > > Cheers >

Re: why are tmp tables being created on disk?

2007-07-17 Thread Mathieu Bruneau
71 0.00 173.70 0 10424 > > I've been running this for a few hours and it consistently shows lots > of writes but no reads at all on sdb1, the partition where I have my > binary logs and tmpdir. Is MySQL writing lots of tmp files and not > reading

Re: MySQL in read-only mode

2007-08-26 Thread Mathieu Bruneau
user that have "super" privilege and the replication thread. Depending of your exact version to set it it's something in the line of "set GLOBAL read_only=true;" You can also remove it in case you need it. Regards, -- Mathieu Bruneau aka ROunofF === GPG keys avai

Re: servers full potential / FT searches locking tables

2007-08-27 Thread Mathieu Bruneau
you # might be limited to 2-3.5G of user level memory per process, so do not # set it too high. innodb_buffer_pool_size=2G Regards, -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org Justin a écrit : Ok.. Straight to the point.. Here is what I currently have.

Re: MySQL 6.0.2-alpha and Falcon and possible bug/problem

2007-09-08 Thread Mathieu Bruneau
se it. Don't know if falcon use file handle per table or not tough... -- Mathieu Bruneau aka ROunofF === GPG keys available @ http://rounoff.darktech.org Mariella Petrini a écrit : I have re-run and job and I was able to repeat the problem. Find attached the mysql server error log with all

Re: Master database server continues to crash

2007-09-08 Thread Mathieu Bruneau
Are you running on a 32 bits architecture ? I have seen case where 1.7G is way too much for the total space mysql is allowed to use, especially if you have innodb buffer set to bigger than default value(8MB). Also you should check that the user is really allowed that size (ulimit). The duplicat