Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2010
    Location
    poland
    Posts
    7

    Unanswered: prtitioned tables

    hello

    if i have statement:

    create table doc (a int)
    partition by range (a)
    (starting from (1) ending at(100),
    starting from (101) ending at(200))

    it means that automatically these data partitions will be in different tablespaces or in the same as table?

    mj

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    If you don't specify tablespaces, all table partitions will be created in the default tablespace.

  3. #3
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    You can also specify the same tablespace (other than the default) for every partition. Same for indexes.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •