Which of the following is true of the table cache if you mainly run simple queries on many tables?
A. The table cache should be decreased.Which of the following best describes what the master.info file contains and how it is used?
A. It contains the values from the CHANGE MASTER statement.How can stored routines be used to check for constraints or legality of incoming data?
A. They can make use of the VALIDATE DEFINER setting.Is it possible to tell the MySQL server to throw an error on illegal dates rather than converting it to zero-date or legal dates?
A. Yes, by updating a system variable.Is it possible to tell the MySQL server to throw an error on division-by-zero rather than converting it to NULL and a warning?
A. No, it has to be done programmatically.Consider the following: mysql> EXPLAIN SELECT Name FROM Country WHERE Code = 'CAN'\G *************************** 1. row *************************** id: 1 select_type: SIMPLE table: Country type: const possible_keys: PRIMARY key: PRIMARY key_len: 3 ref: const rows: 1 Extra: Which of the following best describes the meaning of the value of the type column?
A. The table has exactly one row.Consider the following: mysql> EXPLAIN SELECT Name FROM Country WHERE Population BETWEEN 1 AND 10000\G *************************** 1. row *************************** id: 1 select_type: SIMPLE table: Country type: range possible_keys: i_pop key: i_pop key_len: 4 ref: NULL rows: 10 Extra: Using where What is the meaning of the range value of the type column?
A. There is a range of indexes that can be used.Which of the following are reasons you would want to normalize your data?
A. It removes redundant data.Which of the following statements are true of how access control is based?
A. It is based off of an access control table in the mysql database.Given the following MyISAM table structure:
mysql> desc city;
+-------------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+----------+------+-----+---------+----------------+
| ID | int(11) | | PRI | NULL | auto_increment |
| Name | char(35) | | | | |
| CountryCode | char(3) | | | | |
| District | char(20) | | | | |
| Population | int(11) | | MUL | 0 | |
+-------------+----------+------+-----+---------+----------------+
and the following SQL statement:
SELECT Population
FROM city
WHERE Population = 10000
ORDER BY Population
LIMIT 5;
Which of the following statements best describes how MySQL optimizer executes the query?
A. The optimizer uses the primary key column ID to read the index values, then uses the index on Population to filter the results. The optimizer will always choose to use a unique index first, then use a secondary index if available.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-874 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.