innodb vs myisam

2009-05-23 Thread bharani kumar
Hi all , Am not much knowledgeable person in mysql , but i know the query and all, But dont know the history and all about mysql , But i like to know , Can u please tell me , Here is difference what i know , innodb = suport concurrency , row level locking , rollback, commit myisam = support

Re: another INNODB vs MYISAM question

2008-08-16 Thread Brent Baisley
First, databases do not have a table type, they are mainly just a logical grouping of tables. Mixing table types in a database is quite alright and is what you are supposed to do. I generally use MYISAM, but if I have a table with lots of activity (inserts, deletes, selects) or needs

RE: another INNODB vs MYISAM question

2008-08-16 Thread Martin Gainty
. Sender does not necessarily endorse content contained within this transmission. From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: another INNODB vs MYISAM question Date: Sat, 16 Aug 2008 08:52:51 -0400 CC: mysql@lists.mysql.com First, databases do not have a table type

Re: another INNODB vs MYISAM question

2008-08-15 Thread Doug Bridgens
if you switch the default engine type any new tables would be created with that new engine type. it does not convert existing tables to your new format. if you have existing innodb tables you need to have the innodb settings active, in my.cnf On 15 Aug 2008, at 06:01, [EMAIL

another INNODB vs MYISAM question

2008-08-14 Thread mikesz
Hello mysql, As I have previously mentioned, I installed WAMPSERVER 2.0 on my Windows XP pro box recently. It installed INNODB as the Default Engine. All of my legacy Databases are MYISAM and after the installation, I copied them all into the DATA folder and everything worked, even adding new

Re: Innodb vs myisam

2008-04-08 Thread Krishna Chandra Prajapati
Thanks a lot On Mon, Apr 7, 2008 at 10:59 AM, Rob Wultsch [EMAIL PROTECTED] wrote: On Sun, Apr 6, 2008 at 9:57 PM, Eric Bergen [EMAIL PROTECTED] wrote: I don't see what the issue is. As Jay said the row counts in explain outputs are estimates. When running an explain query MySQL asks the

Re: Innodb vs myisam

2008-04-06 Thread Moon's Father
Just waiting for any reply . On Thu, Apr 3, 2008 at 11:01 PM, Jay Pipes [EMAIL PROTECTED] wrote: Please actually read my reply before asking the same question. As I stated, InnoDB outputs *estimated* row counts in EXPLAIN, whereas MyISAM outputs *accurate* row counts. -jay Krishna

Re: Innodb vs myisam

2008-04-06 Thread Eric Bergen
I don't see what the issue is. As Jay said the row counts in explain outputs are estimates. When running an explain query MySQL asks the storage engine how many rows it thinks are between a set of values for an index. Different storage engines use different methods to calculate row count. Both

Re: Innodb vs myisam

2008-04-06 Thread Rob Wultsch
On Sun, Apr 6, 2008 at 9:57 PM, Eric Bergen [EMAIL PROTECTED] wrote: I don't see what the issue is. As Jay said the row counts in explain outputs are estimates. When running an explain query MySQL asks the storage engine how many rows it thinks are between a set of values for an index.

Re: Innodb vs myisam

2008-04-03 Thread Krishna Chandra Prajapati
Hi, I have executed ANALYZE TABLE for myisam tables, but still myisam is showing more scanning of rows as compared to innodb. What does ANALYZE TABLE command exactly do for myisam storage engine. Thanks Krishna On Wed, Apr 2, 2008 at 9:48 PM, Rob Wultsch [EMAIL PROTECTED] wrote: On Wed, Apr

Re: Innodb vs myisam

2008-04-03 Thread Krishna Chandra Prajapati
Hi, On myisam storage system mysql explain select ui.user_id, ucp.user_id,ucp.payment_date from user_info ui, user_course_payment ucp where ui.user_id=ucp.user_id;

Re: Innodb vs myisam

2008-04-03 Thread Rob Wultsch
On Wed, Apr 2, 2008 at 11:32 PM, Krishna Chandra Prajapati [EMAIL PROTECTED] wrote: Hi, On myisam storage system mysql explain select ui.user_id, ucp.user_id,ucp.payment_date from user_info ui, user_course_payment ucp where ui.user_id=ucp.user_id;

Re: Innodb vs myisam

2008-04-03 Thread Jay Pipes
Please actually read my reply before asking the same question. As I stated, InnoDB outputs *estimated* row counts in EXPLAIN, whereas MyISAM outputs *accurate* row counts. -jay Krishna Chandra Prajapati wrote: Hi, On myisam storage system mysql explain select ui.user_id,

Innodb vs myisam

2008-04-02 Thread Krishna Chandra Prajapati
Hi All, I have same table configuration, every thing same except the storage engine. Explain result on innodb system mysql explain select ucpr.course_amount, ucpr.coupon_amount, ucp.payment_order_id, ui.course_id, uct.ref, uet.ref, ui.user_id, ucpr.coupon, ucp.payment_service_id,

Re: Innodb vs myisam

2008-04-02 Thread Rob Wultsch
On Wed, Apr 2, 2008 at 5:06 AM, Krishna Chandra Prajapati [EMAIL PROTECTED] wrote: Horribly ugly stuff I know I sure as heck am not going to spend half an hour to turn those queries into something understandable, and I expect no one else will either. If you want help please remove all

Re: Innodb vs myisam

2008-04-02 Thread Jay Pipes
The MyISAM isn't scanning more rows. It's that the InnoDB rows output in EXPLAIN is an estimate and the MyISAM one is accurate... -jay Krishna Chandra Prajapati wrote: Hi All, I have same table configuration, every thing same except the storage engine. Explain result on innodb system

Re: Innodb vs myisam

2008-04-02 Thread Rob Wultsch
On Wed, Apr 2, 2008 at 8:52 AM, Jay Pipes [EMAIL PROTECTED] wrote: The MyISAM isn't scanning more rows. It's that the InnoDB rows output in EXPLAIN is an estimate and the MyISAM one is accurate... -jay Also, if he was testing one storage engine vs another he might have dumped the table and

InnoDB vs MyISAM

2007-01-04 Thread Octavian Rasnita
Hi, I have seen that by default some tables are created as InnoDB and some as MyISAM. I guess the table type is not chosen randomly. How is it chosen the table engine used? And is InnoDB recommended now? Does it support full text indexes? Or if not, is there a way of using full text

Re: InnoDB vs MyISAM

2007-01-04 Thread Christian Hammers
On 2007-01-04 Octavian Rasnita wrote: I have seen that by default some tables are created as InnoDB and some as MyISAM. I guess the table type is not chosen randomly. How is it chosen the table engine used? You can set a global and IIRC a database specific default for the database type.

RE: InnoDB vs MyISAM

2007-01-04 Thread Jerry Schwartz
. Farmington, CT 06032 860.674.8796 / FAX: 860.674.8341 -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2007 9:38 AM To: mysql@lists.mysql.com Subject: InnoDB vs MyISAM Hi, I have seen that by default some tables are created as InnoDB

Re: InnoDB vs MyISAM

2007-01-04 Thread Octavian Rasnita
And is InnoDB recommended now? It depends.. :) Depends on... what? I mean, if I don't need transactions, is there another reason for using InnoDB? If it is necessary I can build the client program without foreign keys support also. Thanks. Octavian -- MySQL General Mailing List For

Re: InnoDB vs MyISAM

2007-01-04 Thread Juan Eduardo Moreno
Octavian, 1) You can use MyISAM for example when you use static information in a webpage. For example, only for store information of customers, something like that.. 2) Innodb is a engine that support ACID, you can use for transactions. For example, load information of sales from PDA (

Re: InnoDB vs MyISAM

2007-01-04 Thread mos
At 08:38 AM 1/4/2007, you wrote: Hi, I have seen that by default some tables are created as InnoDB and some as MyISAM. I guess the table type is not chosen randomly. How is it chosen the table engine used? And is InnoDB recommended now? If you need transactions or RI. Does it support

Re: Access speed INNODB VS. MyISAM

2006-06-04 Thread Ware Adams
On Jun 3, 2006, at 7:54 PM, Richard wrote: I have been using a database for several years that uses many 'lookup' style tables. i.e. no updates to these tables. I dumped the whole thing into an INNODB database for simplicity, but I now wonder if I can speed things up if I put only my

Access speed INNODB VS. MyISAM

2006-06-03 Thread Richard
I have been using a database for several years that uses many 'lookup' style tables. i.e. no updates to these tables. I dumped the whole thing into an INNODB database for simplicity, but I now wonder if I can speed things up if I put only my updatable tables in INNODB (I need row level locking for

Re: innodb vs myisam

2006-04-17 Thread Luke Vanderfluit
wrote: To: mysql@lists.mysql.com From: Luke Vanderfluit [EMAIL PROTECTED] Subject: innodb vs myisam Hi. I have the following myisam table: The table is only 32,000 rows, but over 60Megs in size. And mysql seems to be wanting to write to that file alot, so it may well be trying to seek all

Re: innodb vs myisam

2006-04-13 Thread mysql
[EMAIL PROTECTED] Subject: innodb vs myisam Hi. I have the following myisam table: The table is only 32,000 rows, but over 60Megs in size. And mysql seems to be wanting to write to that file alot, so it may well be trying to seek all over the disk looking for the right spot all the time

innodb vs myisam

2006-04-12 Thread Luke Vanderfluit
Hi. I have the following myisam table: The table is only 32,000 rows, but over 60Megs in size. And mysql seems to be wanting to write to that file alot, so it may well be trying to seek all over the disk looking for the right spot all the time. Does innodb do a better job at keeping the file

Re: performance between InnoDB vs MyISAM

2006-03-08 Thread Ady Wicaksono
Hi Foo, MyISAM impress me on insert speed, however on many case MyISAM is not better than Innodb. If you can't use combination of them, better your break down your need to decide which one to use. AFAIK, sub query is better in innodb rather than myisam, and if you have only 200.000 records

Re: performance between InnoDB vs MyISAM

2006-03-08 Thread Philip Hallstrom
Just want to share and confirm my findings on a performance issue I've been experiencing. My database is strictly non-transactional, but it's got about 200,000 records in this particular table. The table has a primary index, and 2 integers - one for the date and the other for the time. Among

Re: performance between InnoDB vs MyISAM

2006-03-08 Thread Foo Ji-Haw
Hey there Ady, Philip, Thanks for the suggestions for the phenomenon. I also notice something along the course of optimisation: 1. Sorting records with huge fields (ie: blobs, text) is significantly slower than if you extract the blobs/ text fields into a separate table. The record size makes

performance between InnoDB vs MyISAM

2006-03-07 Thread Foo Ji-Haw
Hi all, Just want to share and confirm my findings on a performance issue I've been experiencing. My database is strictly non-transactional, but it's got about 200,000 records in this particular table. The table has a primary index, and 2 integers - one for the date and the other for the

Re: performance between InnoDB vs MyISAM

2006-03-07 Thread sprock
As far as i know, using IN( SUBQUERY ) will give very poor performance, especially if the record set returned by the large query is really large. try to use a join instead of WHERE IN( XXX ).. Im not sure why its that much better in INNODB though... Foo Ji-Haw wrote: Hi all, Just want to

Innodb vs myisam

2003-10-23 Thread Travis Reeder
I'm sure this has been asked before, but after seeing some benchmarks, it looks like using innodb is a no brainer. Just want to know why you wouldn't use innodb? Travis -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Re: Innodb vs myisam

2003-10-23 Thread Chris Nolan
The answer is actually quite simple! There are a few reasons: 1. Features. Each table type has something over the other. While InnoDB has transactions, foreign keys, hot backup capabilities, consistant read and better write concurrency (for many situations), MyISAM has FULLTEXT indexes, the

Re: Innodb vs myisam

2003-10-23 Thread Dan Nelson
In the last episode (Oct 24), Chris Nolan said: The answer is actually quite simple! There are a few reasons: 1. Features. Each table type has something over the other. While InnoDB has transactions, foreign keys, hot backup capabilities, consistant read and better write concurrency

Re: Innodb vs myisam

2003-10-23 Thread Gabriel Ricard
I thought I read a message on this list that said you can't use full text indexes with InnoDB yet. Can anyone confirm that? - Gabriel On Thursday, October 23, 2003, at 11:50 AM, Travis Reeder wrote: I'm sure this has been asked before, but after seeing some benchmarks, it looks like using

Re: Innodb vs myisam

2003-10-23 Thread mos
At 02:37 PM 10/23/2003, you wrote: I thought I read a message on this list that said you can't use full text indexes with InnoDB yet. Can anyone confirm that? - Gabriel On Thursday, October 23, 2003, at 11:50 AM, Travis Reeder wrote: I'm sure this has been asked before, but after seeing some

INNODB vs MyISAM

2003-10-09 Thread Don Vu
Hi guys, Do both MyISAM tables and INNODB tables support foreign keys in 4.0.15? If so, are the main advantages of using INNODB tables the added features of transactions, cascading deletes, and it's other more robust features? Any thoughts on any disadvantages of INNODB to MyISAM? I know that

Re: INNODB vs MyISAM

2003-10-09 Thread Jeremy Zawodny
On Thu, Oct 09, 2003 at 01:23:39PM -0400, Don Vu wrote: Hi guys, Do both MyISAM tables and INNODB tables support foreign keys in 4.0.15? No. -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! [EMAIL PROTECTED] | http://jeremy.zawodny.com/ MySQL 4.0.15-Yahoo-SMP: up 25

Re: INNODB vs MyISAM

2003-10-09 Thread mos
At 12:23 PM 10/9/2003, you wrote: Hi guys, Do both MyISAM tables and INNODB tables support foreign keys in 4.0.15? If so, are the main advantages of using INNODB tables the added features of transactions, cascading deletes, and it's other more robust features? Any thoughts on any disadvantages of

InnoDB vs myISAM disk space usage

2002-11-27 Thread tommaso . nolli
Hello all, I'm using mySQL for many databases, now I want to test innoDB so I have created another DB (on the same machine) and I have populated it with the same data of the first DB (via: insert into table_name select * from db1.table_name); I have this tables: tableA:   80.000 recs tableB,

Re: InnoDB vs myISAM disk space usage

2002-11-27 Thread Owen Medd
Just to contribute our anecdotal experience, we also found a 2x increase in space required when we converted our MyISAM tables over to InnoDB. While it was surprising, it wasn't unexpected. We just had to go buy another 60GB of disk space (luckily we had planned for this). :) Owen On Wed,

Re: InnoDB vs myISAM disk space usage

2002-11-27 Thread Jeremy Zawodny
On Wed, Nov 27, 2002 at 01:26:42PM +0100, [EMAIL PROTECTED] wrote: Anyone knows the reason of this disk usage of innoDB (it's 2 time bigger than myISAM) InnoDB has larger per-record overhead (row headers and such). -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! [EMAIL

innodb vs myisam performance

2002-09-03 Thread Dicky Wahyu Purnomo
Hi, I've just ran a benchmark test to compare Innodb and MyISAM, and I just want some input from you guys which already using Innodb ;-) I have two tables : same definition and same records Innodb table name : CUSTOMER MyISAM table name : CUSTOMER2 and this is what I found on my queries : -

Re: How stable is v4? (was: Re: InnoDB vs. MyISAM on large numberof tables?)

2002-08-10 Thread Thomas Spahni
On Fri, 9 Aug 2002, Thomas Seifert wrote: On Thu, 8 Aug 2002 03:02:40 -0700 Jeremy Zawodny [EMAIL PROTECTED] wrote: btw: I did a quick benchmark with mysql4 and its query caching running with innodb. Quite impressive, the app run with double the number of pages per second as

How stable is v4? (was: Re: InnoDB vs. MyISAM on large number of tables?)

2002-08-09 Thread Thomas Seifert
On Thu, 8 Aug 2002 03:02:40 -0700 Jeremy Zawodny [EMAIL PROTECTED] wrote: btw: I did a quick benchmark with mysql4 and its query caching running with innodb. Quite impressive, the app run with double the number of pages per second as before. Excellent. MySQL 4.0.{2,3} is working

Re: How stable is v4? (was: Re: InnoDB vs. MyISAM on large number of tables?)

2002-08-09 Thread Jeremy Zawodny
On Fri, Aug 09, 2002 at 09:21:13PM +0200, Thomas Seifert wrote: On Thu, 8 Aug 2002 03:02:40 -0700 Jeremy Zawodny [EMAIL PROTECTED] wrote: Excellent. MySQL 4.0.{2,3} is working well for us too. Is there 4.0.3 already somewhere to download? Not yet. I believe there will be a 4.0.3 beta

innodb vs myisam optimizations

2001-12-04 Thread Gurupartap Davis
I'm converting a table to innodb from myisam in mysql 4.0 and I was wondering why it takes sooo long to do a SELECT COUNT(*) In the old MyISAM table, it's quick: mysql select count(*) from forecast; +---+ | count(*) | +---+ | 194698187 | +---+ 1 row in set (0.00 sec) In

Re: innodb vs myisam optimizations

2001-12-04 Thread Sergei Golubchik
Hi! On Dec 04, Gurupartap Davis wrote: I'm converting a table to innodb from myisam in mysql 4.0 and I was wondering why it takes sooo long to do a SELECT COUNT(*) MyISAM stores total number of rows in MYI file header. It's read into memory when table is opened. So for SELECT COUNT(*) FROM

InnoDB vs MyISAM on COUNT(*) ... WHERE ...

2001-09-18 Thread Sander Pilon
I'm thinking of switching to InnoDB, however - my application does a few COUNT(*) WHERE queries on large tables (somewhere between 50K and 2M rows) I've read up on InnoDB and its issues with COUNT(*) on entire tables, but is there a reason to assume that InnoDB is also slower when

Re: InnoDB vs MyISAM on COUNT(*) ... WHERE ...

2001-09-18 Thread Dana Powers
, September 18, 2001 12:19 PM Subject: InnoDB vs MyISAM on COUNT(*) ... WHERE ... I'm thinking of switching to InnoDB, however - my application does a few COUNT(*) WHERE queries on large tables (somewhere between 50K and 2M rows) I've read up on InnoDB and its issues with COUNT(*) on entire