{% if has_sub_partitions %}
{{ partition.getOrdinal() }} |
|
{% else %}
{{ partition.getOrdinal() }} |
{% endif %}
{{ partition.getName() }} |
{% if has_description %}
{{- partition.getExpression() -}}
{{- partition.getMethod() == 'LIST' ? ' IN (' : ' < ' -}}
{{- partition.getDescription() -}}
{{- partition.getMethod() == 'LIST' ? ')' -}}
|
{% endif %}
{{ partition.getRows() }} |
{% set data_length = format_byte_down(
partition.getDataLength(),
3,
1
) %}
{{ data_length[0] }}
{{ data_length[1] }}
|
{% set index_length = format_byte_down(
partition.getIndexLength(),
3,
1
) %}
{{ index_length[0] }}
{{ index_length[1] }}
|
{{ partition.getComment() }} |
{{ get_icon('b_search', 'Analyze'|trans) }}
|
{{ get_icon('eye', 'Check'|trans) }}
|
{{ get_icon('normalize', 'Optimize'|trans) }}
|
{{ get_icon('s_tbl', 'Rebuild'|trans) }}
|
{{ get_icon('b_tblops', 'Repair'|trans) }}
|
{{ get_icon('b_empty', 'Truncate'|trans) }}
|
{% if range_or_list %}
{{ get_icon('b_drop', 'Drop'|trans) }}
|
{% endif %}
{% if has_sub_partitions %}
{% for sub_partition in partition.getSubPartitions() %}
|
{{ sub_partition.getOrdinal() }} |
{{ sub_partition.getName() }} |
{% if has_description %}
|
{% endif %}
{{ sub_partition.getRows() }} |
{% set data_length = format_byte_down(
sub_partition.getDataLength(),
3,
1
) %}
{{ data_length[0] }}
{{ data_length[1] }}
|
{% set index_length = format_byte_down(
sub_partition.getIndexLength(),
3,
1
) %}
{{ index_length[0] }}
{{ index_length[1] }}
|
{{ sub_partition.getComment() }} |
|
{% endfor %}
{% endif %}
{% endfor %}