单选题Which statement describes the effect on an index, when the indexed column for the rows is updatedin the base table()A An update in a leaf row takes place.B The index becomes invalid after the update.C The leaf block containing the row to be updated is 

题目
单选题
Which statement describes the effect on an index, when the indexed column for the rows is updatedin the base table()
A

An update in a leaf row takes place.

B

The index becomes invalid after the update.

C

The leaf block containing the row to be updated is marked as invalid.

D

A row in the leaf block of the index for the key value is logically deleted and a new leaf row is inserted

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?()

A.Define the column MAINID as NOT UPDATABLE

B.Define the column MAINID as a PRIMARY KEY

C.Define the column MAINID as a FOREIGN KEY

D.Define an UPDATE trigger on table TABLEX


参考答案:D

第2题:

A warehouse fact table in your Oracle 12c Database is range-partitioned by month and accessed frequently with queries that span multiple partitions The table has a local prefixed, range partitioned index. Some of these queries access very few rows in some partitions and all the rows in other partitions, but these queries still perform a full scan for all accessed partitions. This commonly occurs when the range of dates begins at the end of a month or ends close to the start of a month. You want an execution plan to be generated that uses indexed access when only a few rows are accessed from a segment, while still allowing full scans for segments where many rows are returned. Which three methods could transparently help to achieve this result?()

  • A、Using a partial local Index on the warehouse fact table month column with indexing disabled to the table partitions that return most of their rows to the queries.
  • B、Using a partial local Index on the warehouse fact table month column with indexing disabled for the table partitions that return a few rows to the queries.
  • C、Using a partitioned view that does a UNION ALL query on the partitions of the warehouse fact table, which retains the existing local partitioned column.
  • D、Converting the partitioned table to a partitioned view that does a UNION ALL query on the monthly tables, which retains the existing local partitioned column
  • E、Using a partial global index on the warehouse fact table month column with indexing disabling for the table partitions that return most of their rows to the queries.
  • F、Using a partial global index on the warehouse fact table month column with indexing disabled for the table partitions that return a few rows to the queries.

正确答案:B,C,F

第3题:

Consider the following:Which statement best describes the meaning of the value for the key_len column?()

A.It shows the total size of the index row

B.It shows how many columns in the index are examined

C.It shows the number of characters indexed in the key

D.It shows how many bytes will be used from each index row


参考答案:D

第4题:

Which statement describes the effect on an index, when the indexed column for the rows is updatedin the base table()

  • A、An update in a leaf row takes place.
  • B、The index becomes invalid after the update.
  • C、The leaf block containing the row to be updated is marked as invalid.
  • D、A row in the leaf block of the index for the key value is logically deleted and a new leaf row is inserted

正确答案:D

第5题:

As a result of performance analysis, you created an index on the prod_name column of the prod_det table, which contains about ten thousand rows. Later, you updated a product name in the table. How does this change affect the index?()

  • A、A leaf will be marked as invalid.
  • B、An update in a leaf row takes place.
  • C、The index will be updated automatically at commit.
  • D、A leaf row in the index will be deleted and inserted.
  • E、The index becomes invalid when you make any updates.

正确答案:D

第6题:

Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?()

  • A、Define the column MAINID as NOT UPDATABLE
  • B、Define the column MAINID as a PRIMARY KEY
  • C、Define the column MAINID as a FOREIGN KEY
  • D、Define an UPDATE trigger on table TABLEX

正确答案:D

第7题:

Which two statements are true regarding B-tree indexs()

  • A、The leaf blocks in the index are doubly linked.
  • B、The leaf node stores a bitmap for each key value.
  • C、The rows with NULL value in key columns also have entries in the index.
  • D、The deletion of a row from the table causes a logical deletion in index leaf block and the space becomesavailable for the new leaf entry

正确答案:A,D

第8题:

You have altered a non-unique index to be invisible to determine if queries execute within an acceptable response time without using this index.Which two are possible if table updates are performed which affect the invisible index columns?()

A. The index remains invisible.

B. The index is not updated by the DML statements on the indexed table.

C. The index automatically becomes visible in order to have it updated by DML on the table.

D. The index becomes unusable but the table is updated by the DML.

E. The index is updated by the DML on the table.


参考答案:A, E

第9题:

Which two operations can be performed on an external table()

  • A、Create a view on the table.
  • B、Create an index on the table.
  • C、Create a synonym on the table.
  • D、Add a virtual column to the table.
  • E、Update the table using the UPDATE statement.
  • F、Delete rows in the table using the DELETE command.

正确答案:A,C

第10题:

User Scott has updated the salary of one of the employees in the EMPLOYEES table and has not committed the transaction. What are the two types of locks that this scenario would lead to?()

  • A、null lock on the row being updated
  • B、null lock on the table containing the row
  • C、ROW SHARE lock for the row being updated
  • D、ROW EXCLUSIVE lock for the row being updated
  • E、shared row-exclusive lock for the row being updated
  • F、a shareable table lock for the table containing the row
  • G、exclusive table-level lock for the table containing the row

正确答案:D,F

更多相关问题