单选题What is true regarding direct-load insert?()A A direct-load insert can be invoked by suing the APPEND hint.B Inserting using the NOLOGGING option is the default for direct-load inserts.C All data loaded using direct-load insert is loaded below the high

题目
单选题
What is true regarding direct-load insert?()
A

A direct-load insert can be invoked by suing the APPEND hint.

B

Inserting using the NOLOGGING option is the default for direct-load inserts.

C

All data loaded using direct-load insert is loaded below the high-water mark.

D

An object that is modifies using parallel direct-load can be queried within the same Transaction.

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

第1题:

SQL命令中用于插入数据的命令是 A)INSERT B)APPEND C)INSERT BEFORE D)INSERT INTO


正确答案:D
向表中插入数据的SQL命令是INSERT INTO,这两个关健字必须结合使用,请注意APPEND虽然也可以向数据表中增加记录,但是这个命令不属于SQL命令.故选项D为正确答案。

第2题:

Which of the following can be used to insert a new line below the current line inside a vi session?()

  • A、o
  • B、a
  • C、p
  • D、A

正确答案:A

第3题:

You are the database administrator for a financial services company. Employees enter data 24 hours a day into a SQL Server 2000 database. These employees report slower response times when new account information is gathered from branch offices and added to the database. You currently use the following BULK INSERT statement to add the account information:

BULK INSERT finance.dbo.customers

FROM ‘di\bulk\accts143_10141000.txt’

WITH DATAFILETYPE = ‘char’,

FIELD/TERMINATOR = ‘\t’,

ROWTERMINATOR = ‘\n,’

TABLOCK

You want to ensure that response times do not slow when new account information is added to the database. What should you do?

A.Drop the indexes for the customers table before the data load, and then re-create the indexes after the data load is complete.

B.Remove the TABLOCK option from the BULK INSERT statement.

C.Add the BATCHSIZE option to the BULK INSERT statement and then set the option equal to 10 percent of the number of rows to be loaded.

D.Add the ROWS_PER_BATCH option to the BULK INSERT statement and then set the option equal to 10 percent of the number of rows to be loaded.


正确答案:B
解析:Explanation: The TABLOCK hint increases the number of locks during the adding process. This is the reason why response time are slows down during this process. By removing the TABLOCK hint the default more granular row-level lock will be used. This would decrease the scope of the locks which would result in less waiting jobs and performance would improve.

Note: The BULK INSERT statement is used to copy a data file into a database table or view in a format specified by the user. The BULK INSERT statement accepts the TABLOCK hint, which allows the user to specify the locking behavior. that the BULK INSERT statement should use. TABLOCK specifies that a bulk update table-level lock is taken for the duration of the bulk copy. If TABLOCK is not specified, the default uses row-level locks.

Incorrect Answers:
A: The recommendation to perform. the bulk copy operation with the indexes in place depends on the amount of data to be copied into the table compared to the amount of existing data already in the table. The large the amount of data to be loaded into a table, relative to the amount of data already in the table, the more efficient it is to drop all indexes on the table, perform. the bulk copy operation, and then re-create the indexes after the data is loaded

C: The BATCHSIZE option of the BULK INSERT statement is used to specify that SQL Server 2000 must treat each batch of rows inserted into the table as a separate transaction. This is useful when errors occur in the bulk copy operation, which would cause the transaction to be rolled back. By specifying the BATCHSIZE option, only the current transaction will be rolled back if an error occurs and the destination table still contains the other batches of rows that were successfully inserted.

D: The ROWS_PER_BATCH option of the BULK INSERT statement SQL Server can be used to
indicate the approximate number of rows in a batch. SQL Server 2000 then optimizes the load automatically, according to the batch size value, which may result in better performance. Although accuracy in the clause is not critical, the larger the batch size is, the better the performance of the bulk copy operation.

第4题:

Which object privileges can be granted on a view? ()

  • A、none
  • B、DELETE, INSERT,SELECT
  • C、ALTER, DELETE, INSERT, SELECT
  • D、DELETE, INSERT, SELECT, UPDATE

正确答案:D

第5题:

Which two statements are true with regard to policy ordering? ()(Choose two.)

  • A、The last policy is the default policy, which allows all traffic.
  • B、The order of policies is not important.
  • C、New policies are placed at the end of the policy list.
  • D、The insert command can be used to change the order.

正确答案:C,D

第6题:

SQ L*Loader is a utility that can perform which two tasks?()

  • A、Load data from a disk, tape, or named pipes.
  • B、Load data into an Oracle database using DML statements.
  • C、Extract, reorganize, and insert data within an Oracle database.
  • D、Load data from external files into tables in an Oracle database.
  • E、Load data into an Oracle database using operating system commands.
  • F、Load data directly from a non-Oracle database to an Oracle database.

正确答案:A,D

第7题:

Which two statements are true regarding rescue configurations?()

  • A、Once saved, a rescue configuration is loaded using the rollback 0 command.
  • B、The rescue configuration must contain the minimal elements necessary to restore network connectivity.
  • C、A minimal rescue configuration is defined by default.
  • D、A rescue configuration must include a root password.

正确答案:B,D

第8题:

Exhibit:

BULK INSERT Ezonexam.dbo.employees

FROM ‘tk\africe\fubar512.txt’

WITH DATAFILETYPE = ‘char’,

FIELD/TERMINATOR = ‘\t’,

ROWTERMINATOR = ‘\n,’

TABLOCK

You work as database administrator at Ezonexam.com. You handle one SQL Server 2000 computer.

How should you improve the performance of the query in the exhibit above?

A. Extend the BULK INSERT statement with the BATCHSIZE option set it to equal to 5 percent of the number of rows to be loaded.

B. Extend the BULK INSERT statement with the BATCHSIZE option set it to equal to 10 percent of the number of rows to be loaded.

C. Extend the BULK INSERT statement with the ROWS_PER_BATCH option set it to equal to 5 percent of the number of rows to be loaded.

D. Extend the BULK INSERT statement with the ROWS_PER_BATCH option set it to equal to 10 percent of the number of rows to be loaded.

E. Insert a line before the BULK INSERT statement that drops the indexes for the customers table. Insert a line after the BULK INSERT statement that recreates the indexes for the customers table.

F. The TABLOCK option should be removed.

G. The ROWTERMINATOR line should be removed.


正确答案:F
F 解析:Explanation: The TABLOCK hint increases the number of locks during the adding process. This is the reason why response time are slows down during this process. By removing the TABLOCK hint the default more granular row-level lock will be used. This would decrease the scope of the locks which would result in less waiting jobs and performance would improve.

Note: The BULK INSERT statement is used to copy a data file into a database table or view in a format specified by the user. The BULK INSERT statement accepts the TABLOCK hint, which allows the user to specify the locking behavior. that the BULK INSERT statement should use. TABLOCK specifies that a bulk update table-level lock is taken for the duration of the bulk copy. If TABLOCK is not specified, the default uses row-level locks.

Incorrect Answers:
A, B, C, D: Effect would not be large
E: Some improvement, but not the best answer.
G: Would make the batch to stop working.

第9题:

Which three are true?()

  • A、A MERGE statement is used to merge the data of one table with data from another.
  • B、A MERGE statement replaces the data of one table with that of another.
  • C、A MERGE statement can be used to insert new rows into a table.
  • D、A MERGE statement can be used to update existing rows in a table.

正确答案:A,C,D

第10题:

You need to give the MANAGER role the ability to select from, insert into, and modify existing rows in the STUDENT_GRADES table. Anyone given this MANAGER role should be able to pass those privileges on to others. Which statement accomplishes this? ()

  • A、GRANT select, insert, update ON student_grades TO manager
  • B、GRANT select, insert, update ON student_grades TO ROLE manager
  • C、GRANT select, insert, modify ON student_grades TO manager WITH GRANT OPTION;
  • D、GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION;
  • E、GRANT select, insert, update ON student_grades TO ROLE manager WITH GRANT OPTION;  
  • F、GRANT select, insert, modify ON student_grades TO ROLE manager WITH GRANT OPTION;

正确答案:D

更多相关问题