Unix Technical Forum

Maximum size of table is 512G??

This is a discussion on Maximum size of table is 512G?? within the DB2 forums, part of the Database Server Software category; --> I am now using db2 v8.2 64bits without DPF. I want to create a very large table which is ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 12:44 PM
Woody Ling
 
Posts: n/a
Default Maximum size of table is 512G??

I am now using db2 v8.2 64bits without DPF. I want to create a very
large table which is about 1000G and the record length is suitable for
32K page size. I find in the manual that the maximum size for 32K page
size container is 512G only. Does it mean that the maximum size for 1
tablespace is also limited by 512G or I can create a tablespace with 2
containers (512G each) to support 1000G table? Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 12:44 PM
Artur
 
Posts: n/a
Default Re: Maximum size of table is 512G??

On 7 Cze, 09:50, Woody Ling <woodyl...@gmail.com> wrote:
> I am now using db2 v8.2 64bits without DPF. I want to create a very
> large table which is about 1000G and the record length is suitable for
> 32K page size. I find in the manual that the maximum size for 32K page
> size container is 512G only. Does it mean that the maximum size for 1
> tablespace is also limited by 512G or I can create a tablespace with 2
> containers (512G each) to support 1000G table? Thanks.


With version 8 the maximum size for a non partitioned tablespace is
512 G.

You have 2 options:

1. Create tablespace which spans multiple DPF partitions -- is that
case maximum size is: 512 G multiplied by number of partitions, or

2. Use version 9 and Large tablespaces (the default in version 9) --
for 32 K page the max size is 16 T

-- Artur Wronski

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 12:44 PM
Haider Rizvi
 
Posts: n/a
Default Re: Maximum size of table is 512G??

A 3rd option (workaround) is to partition the data on some column
easily partitionable (such as date), and then create a union all view
on top. Each of the sub-tables should be in separate tablespaces and
therefore could go over the 512GB limit.

Artur <artur.wronski@gmail.com> writes:

> On 7 Cze, 09:50, Woody Ling <woodyl...@gmail.com> wrote:
>> I am now using db2 v8.2 64bits without DPF. I want to create a
>> very large table which is about 1000G and the record length is
>> suitable for 32K page size. I find in the manual that the
>> maximum size for 32K page size container is 512G only. Does it
>> mean that the maximum size for 1 tablespace is also limited by
>> 512G or I can create a tablespace with 2 containers (512G each)
>> to support 1000G table? Thanks.

>
> With version 8 the maximum size for a non partitioned tablespace
> is 512 G.
>
> You have 2 options:
>
> 1. Create tablespace which spans multiple DPF partitions -- is
> that case maximum size is: 512 G multiplied by number of
> partitions, or
>
> 2. Use version 9 and Large tablespaces (the default in version 9)
> -- for 32 K page the max size is 16 T
>
> -- Artur Wronski
>


--
Haider
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com