MySQL Database Operations
- The column not returned by ‘OPTIMIZE TABLE’ is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
‘OPTIMIZE TABLE’ table catches and throws any errors that occur while copying table statistics from the old file to the newly created file. It returns a result set of columns.
- What is the property of InnoDB that enforces foreign key relationships stay intact?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The storage engine responsible for providing foreign key support is InnoDB. It enforces that the rules guarantee the foreign key relationship stays intact with no mismatching of data.
- To perform consistency checks on a MyISAM table the statement is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
In order to perform consistency checks or table repairs on a MyISAM table a ‘CHECK TABLE’ or ‘REPAIR TABLE’ statement is issued. The ‘mysqlcheck’ program can also be invoked.
- The statement that performs key distribution analysis and stores the distribution for the named tables is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
‘ANALYZE TABLE’ performs a key distribution analysis and stores the distribution for the named table or tables. For the MyISAM tables, this statement is equivalent to using ‘myisamchk –analyze’.
- What is the Perl DBI?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The Perl DBI is the Perl Database Interface. The work of the interface is to form a link between the application programming interface in C with all the other programming languages.