Data Types
- The statement that suspends the replication related activity of the slave server is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The ‘STOP SLAVE’ and ‘START SLAVE’ statements suspend and resume the replication-related activity of a slave server. These statements are useful for telling the slave to be quiescent.
- How many of the following do not support ‘BIT’ data type?
MyISAM, MEMORY, NDB
-
View Hint View Answer Discuss in Forum
Na
Correct Option: D
The BIT data type stores the bit values. It is supported for the MyISAM, MEMORY, InnoDB and NDB tables. MySQL supports all the standard SQL numeric data types, both the exact and approximate.
- Which of these is not an exact numeric type?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
MySQL supports all the standard SQL numeric data types. These are the exact numeric data types like INTEGER, SMALLINT, DECIMAL and NUMERIC and the approximate numeric data types like FLOAT, REAL and DOUBLE PRECISION.
- To maintain performance of tables having variable length rows, which statement is used?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
In the variable length rows, there is more fragmentation of the table on which many deletes or updates are performed. OPTIMIZE TABLE is run periodically to maintain performance.
- Which of these columns are faster?
Variable length, Fixed length
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The fixed length columns are faster and take more space. CHAR(n) columns take n characters per value because the values are padded with trailing spaces when stored in the table.