Quote:
|
Originally Posted by mohdsaid
Hi All,
if the table get fragmented. If there effected to application program, eg. Abap/4 program, access method sequential or indexing ?
How could I do fragment the table? Any example could I refer ? could I do fragment the table by reorganization process ?
|
The apps. won't be afected... in most cases they will get better performance!. BTW: if you can put the database in non-logging mode, or get enough logical log space to hold your entire table (before LTXHWM is reached).
The sintax is something like this:
Round robin:
alter fragment on table your_table
init fragment by round robin in dbspace1, dbspace2, etc
(it will keep the table indexes in the first dbspace)
(and I'm not sure if your actual table will be reorganized)
Expression:
alter fragment on table your_table
init fragment by expression
(expression: for example column1<0 ) in dbspace1,
(expression: for example column1>0 and column1 < 100 ) in dbspace2,
...
(optional) remainder in dbspace3;
The table indexes will also be fragmented, unless you fragment them with other expressions:
alter fragment on index your_index
init fragment by expression
index_column1<0 in dbspace1,
index_column1>=0 in dbspace2
Keep in mind that every fragment will inherit the extent sizes you establish in the table creation.
Important: read the IDS Adiminstrator's Performance manual before you decide anything!.
And remember to use the -ss option for your dbexports/dbschemas!
Hope it helps.