Innodb table space questions

--0-1825960614-1295328646=:84336
Content-Type: text/plain; charset=us-ascii

Folks :

two questions:

1. can Innodb create per database table space , not per table table space?

2. can we store table on specific tablespace like Oracle or DB2 when creating table?

Many thanks.




--0-1825960614-1295328646=:84336--
Angela liu [ Di, 18 Januar 2011 06:30 ] [ ID #2053344 ]

Re: Innodb table space questions

reply inline

On Mon, Jan 17, 2011 at 9:30 PM, Angela liu <yyll2087 [at] yahoo.com> wrote:
> Folks :
>
> two questions:
>
> 1. can Innodb create per database table space , not per table table space?

No. The only available options are creating a global tablespace which
can be many files or a file per table.

> 2. can we store table on specific tablespace like Oracle or DB2 when creating table?

You can only choose to store a table in it's own tablespace or in the
global one.

> Many thanks.
>
>
>
>



--
Eric Bergen
eric.bergen [at] gmail.com
http://www.ebergen.net

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2 [at] m.gmane.org
Eric Bergen [ Di, 18 Januar 2011 07:09 ] [ ID #2053345 ]

Re: Innodb table space questions

--0-1690347071-1295334127=:65543
Content-Type: text/plain; charset=us-ascii

Thanks first,

I checked MySQL 5.1 manual, looks like , 'create tablespace' is ok only with NDB and NDBCLUSTER, NOT INNODB

And I did not find 'create tablespace' in MySQL 5.5 manual:(

looks like MySQL5.5 does not offer 'create tablespace' anymore.



--- On Mon, 1/17/11, Eric Bergen <eric.bergen [at] gmail.com> wrote:

From: Eric Bergen <eric.bergen [at] gmail.com>
Subject: Re: Innodb table space questions
To: "Angela liu" <yyll2087 [at] yahoo.com>
Cc: mysql [at] lists.mysql.com
Date: Monday, January 17, 2011, 10:09 PM

reply inline

On Mon, Jan 17, 2011 at 9:30 PM, Angela liu <yyll2087 [at] yahoo.com> wrote:
> Folks :
>
> two questions:
>
> 1. can Innodb create per database table space , not per table table space?

No. The only available options are creating a global tablespace which
can be many files or a file per table.

> 2. can we store table on specific tablespace like Oracle or DB2 when creating table?

You can only choose to store a table in it's own tablespace or in the
global one.

> Many thanks.
>
>
>
>



--
Eric Bergen
eric.bergen [at] gmail.com
http://www.ebergen.net




--0-1690347071-1295334127=:65543--
Angela liu [ Di, 18 Januar 2011 08:02 ] [ ID #2053346 ]
Datenbanken » gmane.comp.db.mysql.general » Innodb table space questions

Vorheriges Thema: mysqldump except one table
Nächstes Thema: Rewrite SQL to stop table scan