Opening .mwb file without MySql

2012-12-13 Thread Fred G
Hi all-- I googled around a bunch but couldn't find a good answer to this question. How do I open the ERD diagram I made in MySQL WorkBench 5.2CE, which is a .mwb file-- on another computer that does not have MySQL on it? I want to be able to print out the file and so I need to be able to open i

Semisynchrounous replication - how to clear Rpl_semi_sync_master_no_tx/_times.

2012-12-13 Thread RafaƂ Radecki
Hi all. I would like to clear values off Rpl_semi_sync_master_no_tx and Rpl_semi_sync_master_no_times status variables because I am plugging a sync replication setup into nagios. I've tried: mysql> SET global Rpl_semi_sync_master_no_tx=0; ERROR 1193 (HY000): Unknown system variable 'Rpl_semi_sync_

Re: using LIMIT without ORDER BY

2012-12-13 Thread Johan De Meersman
- Original Message - > From: "Akshay Suryavanshi" > I was referring to a condition when there is no index on the tables, > not even primary keys. If you have a lot of data in there, may I suggest you (temporarily) add a unique index and benchmark both methods? As I said, limit n,m is th

Re: using LIMIT without ORDER BY

2012-12-13 Thread Akshay Suryavanshi
Well Johan, I was referring to a condition when there is no index on the tables, not even primary keys. Your explanation makes complete sense about the optimizer and the pagination queries. Thanks, Akshay S On Thu, Dec 13, 2012 at 2:34 PM, Johan De Meersman wrote: > > > - Original Message -

Re: using LIMIT without ORDER BY

2012-12-13 Thread Johan De Meersman
- Original Message - > From: "Akshay Suryavanshi" > > I am not sure, but if its a MyISAM table, it should be ordered by the > records insertion order, and in case of InnoDB it should be ordered > by the clustered index, not necessarily it should be a defined one. No. The optimizer may