2012-11-13 20 views
0

如何壓縮只有少數子分區的分區中,與FOR QUERY HIGHPCTFREE選項Oracle數據庫雲服務器 - 壓縮子分區查詢高PCTFREE

我的發言如下這樣:

alter table table_name move subpartition subpartition_name PCTFREE 10 compress for query high; 

,並在其後出現這樣的錯誤:

ORA-14160:this physical attribute may not be specified for a table subpartition. 

回答

3

子分區不是獨立可壓縮的。

的11gR2的文檔標識堆組織表的以下部分爲可壓縮:

  • 對於整個表中,relational_table或object_table
  • 的physical_properties子句對於範圍分區中,在range_partitions子句的table_partition_description
  • 對於複合範圍分區,在range_partition_desc的table_partition_description中
  • 對於複合列表分區,在table_partition_d中所述list_partition_desc
  • 有關列表分區,在list_partitions子句
  • 對於系統或參考分區的table_partition_description,在reference_partition_desc
  • 對於嵌套表的存儲表的table_partition_description的ESCRIPTION,在nested_table_col_properties第

http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_7002.htm#SQLRF01402

+0

OK,但我可以壓縮子分區: ALTER TABLE table_name的舉動子分區子分區名稱壓縮爲查詢高; 這個陳述工作正常,但我不能把PCTFREE參數。任何想法如何解決這個問題? – Cugar