MySQL Forums
Forum List  »  Oracle

Re: Tablespace in MySQL
Posted by: Marian Lander
Date: June 07, 2008 07:59AM

Hi.

At least as I know, InnoDB doesn't support real tablespace creation. Of course you are able to 'virtually create a tablespace using engine InnoDB' but this won't work at all. Is like creating foreign keys under Myisam, it doesn't give you any error, but it doesn't worked at all, cause Myisam is non-transactional and doesn't support this option, the same with InnoDB, it doesn't support tablespace. If you want to create a tablespace you need to use a Engine that support it in this case, Falcon and NDBCluster.

But Falcon is preferred in your case, since I don't think you have any cluster disk to use NDB.

Second, you can't divide index and datafiles since, Falcon engine and InnoDB also, saved data and index in a single file not separated like Myisam and Maria Engine, but remember that Myisam and Maria are non-transactional so you cannot include them in a tablespace or use foreign keys with them.

As I said Falcon and InnoDB don't separate data and indexes they save both things in single files, this is not a problem at all as you may can think off, first because Mysql Developers decide to made it this way, cause is faster and keep both data and index in memory for faster rendering.

You need to separate data and index in other's DB like Oracle, SQL Server, etc. But not in Mysql transactional engines, in other's DB you need to separate data and index in different Hard rive cause these DB read alternately 1 index, 1 data, 1 index, 1 data. So imagine if index and data will be in 1 single HD this obviously would cause the HD reading very stressful but in Falcon datafile it first read all indexes them recover all data, so for this reason you don't need to separate index and data in different HD, cause this issue is solved in Mysql.

Options: ReplyQuote


Subject
Views
Written By
Posted
6951
August 18, 2007 05:55AM
3909
August 23, 2007 09:02AM
3418
March 18, 2008 04:25AM
Re: Tablespace in MySQL
3115
June 07, 2008 07:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.