O'Reilly logo

Oracle Database Administration: The Essential Refe by Brian Laskey, David C. Kreines

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ALTER SNAPSHOT

Synopsis

ALTER SNAPSHOT
[schema.]snapshot_name
   [PCTFREE integer]
   [PCTUSED integer]
   [INITRANS integer]
   [MAXTRANS integer]
   [LOGGING | NOLOGGING]
   [CACHE | NOCACHE]
   [STORAGE (
      [NEXT integer[K | M] ]
      [MAXEXTENTS {integer | UNLIMITED} ]
      [PCTINCREASE integer]
      [FREELISTS integer]
      [FREELIST GROUPS integer] ]
      ) ]
[PARALLEL ( {DEGREE {integer | DEFAULT} |
INSTANCES {integer | DEFAULT} } ) ]
   [NOPARALLEL]
   [USING INDEX
      [PCTFREE integer]
      [INITRANS integer]
      [MAXTRANS integer]
      [LOGGING | NOLOGGING]
      [STORAGE (
         [INITIAL integer[K | M] ]
         [NEXT integer[K | M] ]
         [MINEXTENTS integer]
[MAXEXTENTS {integer | UNLIMITED} ]
         [PCTINCREASE integer]
         [FREELISTS integer]
         [FREELIST GROUPS integer]
           ) ]
   ]
   [REFRESH
      [FAST | COMPLETE | FORCE]
      [START WITH date]
      [NEXT date]
      [WITH PRIMARY KEY]
      [USING DEFAULT [MASTER | LOCAL ] ROLLBACK SEGMENT] |
[USING [MASTER | LOCAL] ROLLBACK SEGMENT
rollback_segment]
   ]

Changes the storage characteristics or automatic refresh characteristics of a snapshot (snapshot_name).

Keywords

PCTFREE

Specifies the percentage of space to be reserved in each data block for future updates to rows contained in that block. Valid values are - 99, and the default value is 10.

PCTUSED

Specifies the minimum percentage of space that will be maintained as used in each data block. Valid values are 1- 99, and the default value is 40.

INITRANS

Specifies the initial number of transaction entries allocated to each block.

MAXTRANS

Specifies the maximum number of transaction entries allocated to each block. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required