export and import the mapping table
drop and recreate the mapping table
truncate the mapping table and reinsert the values
use the ALTER TABLE .. REBUILD command to defragment the mapping table
第1题:
Your company uses a SQL Server 2005 database. This database contains a trigger named trg_InsertOrders, which fires when order data is inserted into the Orders table. The trigger is responsible for ensuring that a customer exists in the Customers table before data is inserted into the Orders table. You need to configure the trigger to prevent it from firing during the data import process. You must accomplish this goal while using the least amount of administrative effort. Which two Transact-SQL statements can you use to achieve this goal?()
第2题:
While designing your database, you have created the EMPLOYEEStable as an index-organized (IOT). You want to create a bitmap index on the JOD_IDcolumn to make queries faster. Which task must have been completed so that you are able to create the bitmap index?()
第3题:
An index called ORD_CUSTNAME_IX has been created on the CUSTNAME column in the ORDERS table using the following command: SQL>CREATE INDEX ord_custname_ix ON orders(custname); The ORDERS table is frequently queried using the CUSTNAME column in the WHERE clause. You want to check the impact on the performance of the queries if the index is not available. You do not want the index to be dropped or rebuilt to perform this test.Which is the most efficient method of performing this task?()
第4题:
You are performing flashback of the ORDERS table in the Scott’s schema because some important data is deleted in the table by mistake. The SCN number was 771513 at the time of deletion. You issued the following statement to perform Flashback Table: SQL> FLASHBACK TABLE ORDERS TO SCN 771513; What is the prerequisite to perform Flashback Table?()
第5题:
Average row size
Last analyzed date
Size of table in bytes
Size of table in database blocks
Number of free blocks in the free list
Number of extents present in the table.
第6题:
the CREATE TABLE .. command
sorting of the SYSTEM tablespace’s data
sorting of data required by recursive SQL statements
the CREATE TABLE .. ORGANIZATION EXTERNAL .. command
sorting of data if the users have not been allocated temporary tablespace explicitly
sorting of data if the users have been allocated temporary tablespace explicitly
第7题:
Flashback Table
Flashback Query
Flashback Version Query
Flashback Transaction Query
第8题:
Only the ORD_CUSTOMER_IX1 index created.
Both the indexes are updated when a row is inserted, updated, or deleted in the ORDERS table.
Both the indexes are created: however, only ORD_CUSTOMERS_IX1 is used by the optimizer for queries on the ORDERS table.
The ORD_CUSTOMER_IX1 index is not used by the optimizer even when the OPTIMIZER_USE_INVISIBLE_INDEXES parameters is set to true.
Both the indexes are created and used by the optimizer for queries on the ORDERS table.
Both the indexes are created: however, only ORD_CUSTOMERS_IX2 is used by the optimizer for queries on the ORDERS table.
第9题:
A primary key must have been created.
A mapping table must have been created.
An overflow tablespace must have been specified.
The PCTTHRESHOLD option must have been specified.
第10题:
A primary key must have been created.
A mapping table must have been created.
An overflow tablespace must have been specified.
The PCTTHRESHOLD option must have been specified.
第11题:
disabling the index
making the index invisible
making the index unusable
using the MONITORING USAGE clause for the index
第12题:
The statement will fail.
The statement will be executed successfully, and the new time zone will be set for the database.
The statement will be executed successfully, but the new time zone will be set for the current session.
The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.
第13题:
You work as a database administrator for Certkiller .com. In your transaction application, you have scheduled a job to update the optimizer statistics at05:00 pm every Friday. The job has successfully completed. Which three pieces of information would you check to confirm that the statistics have been collected?()
第14题:
A table was just created on your Oracle database with six extents allocated to it. Which of the following factors most likely caused the table to have so many extents allocated?()
第15题:
Flashback Database is enabled in your Oracle 10g database. One of your database users erroneously purged an important table residing in his schema. The table was purged sometime between 10:00 P.M. and 10:30 P.M. The next day, you decide to flash back the database. Before you flash back the database, you want to ensure that you have all the necessary flashback data. Which dynamic performance view must you use to determine whether you have the required flashback data to recover the purged table?()
第16题:
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. A SQL Server 2005 computer is managed by you, and a database named Customers is included by the SQL Server 2005 computer. A table named CustInfo is included by the database. An identity column named CustID and an nvarchar column named CustName are included by the table. According to the company requirement, rows which duplicate CustName values are included should be moved from the CustInfo table every year. However, the company requests to have rows removed from the CustInfo table after the rows have been manually examined and verified as being duplicates. Since you are the technical support, you are required to think out a method to have potential duplicate rows identified for manual examination. The minimum amount of administrative effort should be utilized. Which action should be performed to finish the task?()
第17题:
average row size
last analyzed date
size of table in bytes
size of table in database blocks
number of free blocks in the free list
number of extents present in the table
第18题:
You obtain the results retrieved from the public synonym HR created by the database administrator.
You obtain the results retrieved from the HR table that belongs to your schema.
You get an error message because you cannot retrieve from a table that has the same name as a public synonym.
You obtain the results retrieved from both the public synonym HR and the HR table that belongs to your schema, as a Cartesian product.
You obtain the results retrieved from both the public synonym HR and the HR table that belongs to your schema, as a FULL JOIN.
第19题:
a table name which has 100s of records
a table name which has 10s of records
a table name which has empty records
a table name which has 1000s of records
never use a table name
第20题:
Export and import the mapping table.
Drop and re-create the mapping table.
Truncate the mapping table and reinsert the values.
Use the ALTER TABLE .. REBUILD command to defragment the mapping table.
第21题:
You must configure OMF in your database.
You must enable block change tracking feature in your database.
You must enable ROW MOVEMENT feature on the ORDERS table.
You must use the Flashback Version Query before using the Flashback Table feature.
第22题:
export and import the mapping table
drop and re-create the mapping table
truncate the mapping table and reinsert the values
use the ALTER TABLE···REBUILD command to defragment the mapping table
第23题:
The clustered index of the Orders table should be dropped.
The clustered index of the Orders table offline should be rebuilt once a month.
The clustered index of the Orders table should be excluded from scheduled reorganizing or rebuilding operations.
The clustered index of the Orders table should be reorganized by reducing the fill factor.
第24题:
A trigger should be created for the CustInfo table so as to roll back INSERT queries that duplicate data is included.
A new unique index should be created on the CustName column. And then, IGNORE_DUP_KEY = ON should be specified when creating index.
On the CustName column, a foreign key constraint should be created, and a distinct list of CustName values is referenced by the foreign key constraint.
A SELECT INTO query should be utilized, and GROUP BY and HAVING clauses should be included by the query to create a new table that contains duplicate rows from the CustInfo table.