MySQL Database Operations
- The library file that contains various portability macros and definitions is ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The ‘my_sys.h’ header file contains a variety of portability macros and definitions required for structures and functions. These structures and functions are used by the client library.
- SBR replication is ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
There are two main kinds of replication format: Statement Based Replication (SBR) replicates entire SQL statements and Row Based Replication (RBR) replicates only the changed rows.
- Replication enables data from one MySQL database server to be copied to one or more MySQL database servers.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Replication enables data from one MySQL database server (the master) to be copied to one or more MySQL database servers (the slaves). Replication is asynchronous by default.
- To reload a delimited text data file use ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
A way to create text data files along with files containing ‘CREATE TABLE’ statements for the backed up tables is to use ‘mysqldump’ with –tab. To reload a delimited text data file ‘mysqlimport’ is used.
- For InnoDB tables in mysqldump an online backup that takes no locks on tables can be performed by ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
For InnoDB tables it is possible to perform an online backup that takes no locks on tables using the option ‘–single-transaction’ to ‘mysqldump’. The ‘mysqldump’ can make backups.