MariaDB

  Home  Databases Programming  MariaDB


“MariaDB Frequently Asked Questions in various MariaDB job interviews by interviewer. The set of questions are here to ensures that you offer a perfect answer posed to you. So get preparation for your new job interview”



55 MariaDB Questions And Answers

41⟩ Tell me which Is The Max Storage Capacity Of Version 5.5 Mariadb?

InnoDB/XtraDB tables can be up to 64TB (terabytes) in size. On top of this you can have multiple tables per database and multiple databases per server. Usually the size and space limits of your underlying storage and operating system are reached long before MariaDB's internal limits are reached.

 159 views

46⟩ Tell me what is RIGHT OUTER JOIN in MariaDB?

MariaDB RIGHT OUTER JOIN is used to return all rows from right-hand table specified in the ON condition and only those rows from the other table where the joined fields are satisfied the conditions.

MariaDB RIGHT OUTER JOIN is also called RIGHT JOIN.

Syntax:

SELECT columns

FROM table1

RIGHT [OUTER] JOIN table2

ON table1.column = table2.column;

 186 views

48⟩ Do you know default Data Directory For Mariadb?

The data directory location is controlled by the datadir variable. Look at your /etc/mysql/my.cnf file to see where your installation of MariaDB is configured to store data. The default is /var/lib/mysql but it is often changed, like for example if you are using a RAID array.

 182 views

49⟩ Tell me what is JOIN? How many types of JOIN in MariaDB?

JOIN is used to retrieve data from two or more tables. By default JOIN is also called INNER JOIN. It is used with SELECT statement.

There are mainly two types of joins in MariaDB:

☛ INNER JOIN

☛ OUTER JOIN

Again OUTER JOIN is divided in two types:

☛ LEFT JOIN

☛ RIGHT JOIN

 153 views

54⟩ Please explain why Is The Project Called Mariadb?

The 'MySQL' name is trademarked by Oracle, and they have chosen to keep that trademark to themselves. The name MySQL (just like the MyISAM storage engine) comes from Monty's first daughter "My". MariaDB continues this tradition by being named after his younger daughter, Maria.

 185 views

55⟩ Do you know how To Change Innodb_page_size?

No need for a fresh install.

Just export your data, move or delete the system database (ibdata1) and the log files (ib_logfile0 & ib_logfile1), set innodb_page_size to either 4k or 8k, and restart MariaDB. A new XtraDB instance will be created with the smaller page size. Then you can import your data and run your tests.

 153 views