DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: degree of parallelism

  1. #1
    Join Date
    May 2002
    Posts
    26
    Evaluate these commands:

    CREATE TABLE storm_track
    (storm_id NUMBER(8),
    current_time DATE,
    max_wind_speed NUMBER(3),
    current_lat NUMBER(5,2),
    current_long NUMBER(5,2)
    PARALLEL (DEGREE 4);

    UPDATE /*parallel (storm_track, 8) */ storm_track
    SET current_time = SYSDATE;

    When executing the UPDATE command, what is the degree of parallelism?

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    parallel (table_name, degree of parallelism, and optionally, the number of instances)

    Answer: 8

  3. #3
    Join Date
    May 2002
    Posts
    26
    Why it's 8?

    What about the "DEGREE 4" when creating the table?

  4. #4
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    Originally posted by DBA_Lisa
    When executing the UPDATE command, what is the degree of parallelism?
    Its 8 cuz, you asked for degree of parllelism for Update not for create statement.
    Reddy,Sam

  5. #5
    Join Date
    May 2002
    Posts
    2,645
    Using the hint overrides other behavior.

  6. #6
    Join Date
    May 2002
    Posts
    219
    "Your chances of success are directly proportional to the degree of pleasure you desire from what you do. If you are in a job you hate, face the fact squarely and get out."
    -- Michael Korda
    yodaDBA@hotmail.com

  7. #7
    Join Date
    Dec 2001
    Posts
    27
    Originally posted by yoda
    "Your chances of success are directly proportional to the degree of pleasure you desire from what you do. If you are in a job you hate, face the fact squarely and get out."
    -- Michael Korda

    Thanks Yoda.

    After 5 yrs in application development I think I've had enough of it. Thats why I'll give anything to become a Sys Admin/DBA
    Mukobero

    OCP 8i DBA

Posting Permissions

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


Click Here to Expand Forum to Full Width