Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2008
    Posts
    7

    Unanswered: creating table with paralellism more extents

    Hi,
    If I don't create table with paralellism:
    Code:
    create table joke as select * from joke2;
    Size: 4M.
    Extents: 1M.
    With paralellism:
    Code:
    alter session force parallel dml parallel 32;
    alter session force parallel ddl parallel 32;
    create table joke as select * from joke2;
    Size: 128M. Extents:32.

    What happens?
    Thanks!

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Quote Originally Posted by mierdatuti View Post
    Hi,
    If I don't create table with paralellism:
    Code:
    create table joke as select * from joke2;
    Size: 4M.
    Extents: 1M.
    With paralellism:
    Code:
    alter session force parallel dml parallel 32;
    alter session force parallel ddl parallel 32;
    create table joke as select * from joke2;
    Size: 128M. Extents:32.

    What happens?
    Thanks!

    enable SQL_TRACE=TRUE & create two tables; one with parallel & one without; then compare the results.

    Let us know what you see & learn.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Dec 2008
    Posts
    7
    Quote Originally Posted by anacedent View Post
    enable SQL_TRACE=TRUE & create two tables; one with parallel & one without; then compare the results.

    Let us know what you see & learn.
    Sorry, I don't have access to trc files.

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    what problem are you trying to solve?
    how will you, I, or any know when it has been solved?
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  5. #5
    Join Date
    Dec 2008
    Posts
    7
    Quote Originally Posted by anacedent View Post
    what problem are you trying to solve?
    how will you, I, or any know when it has been solved?
    The problem is that if I use parallel execution the table sizes is bigger than if I execute the create as select without parallelism. And I don't know if these is normal or not. And if is normal, there is some way to have the parallelism speed and the size of don't use parallelism.

  6. #6
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  7. #7
    Join Date
    Dec 2008
    Posts
    7
    Quote Originally Posted by anacedent View Post
    Thanks guru

Posting Permissions

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