Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Documentation 当FRAGMENT BY EXPRESSION下的行中的值更改时,dbspace会更改吗?(Informix数据库)_Documentation_Partitioning_Informix_Fragmentation - Fatal编程技术网

Documentation 当FRAGMENT BY EXPRESSION下的行中的值更改时,dbspace会更改吗?(Informix数据库)

Documentation 当FRAGMENT BY EXPRESSION下的行中的值更改时,dbspace会更改吗?(Informix数据库),documentation,partitioning,informix,fragmentation,Documentation,Partitioning,Informix,Fragmentation,不幸的是,我没有在文档中找到这种情况的解释 特别是,我创建了一个表,并通过“value”字段将其“按表达式分段”。在碎片条件下,我写道: value < 100 IN dbspace_1, value >= 100 IN dbspace_2. dbspace_1中的值=100。 例如,行中的“value”是85,因此该行位于dbspace_1中。如果我将该值更新为110,此行是否会移动到dbspace_2?是。如果没有,它将使片段表达式模式无效。如果您有一个测试实例,您可以通过

不幸的是,我没有在文档中找到这种情况的解释

特别是,我创建了一个表,并通过“value”字段将其“按表达式分段”。在碎片条件下,我写道:

value <  100 IN dbspace_1,
value >= 100 IN dbspace_2.
dbspace_1中的
值<100,
dbspace_2中的值>=100。

例如,行中的“value”是85,因此该行位于dbspace_1中。如果我将该值更新为110,此行是否会移动到dbspace_2?

是。如果没有,它将使片段表达式模式无效。如果您有一个测试实例,您可以通过执行更新,然后查看onlog输出来验证这一点。您应该在单个事务中看到从dbspace1中的分区删除,然后插入到dbspace2中的分区中(这在未使用的系统上最容易看到,在该系统中,您可以切换到完全未使用的逻辑日志,以帮助轻松发现用于update语句的事务)