×

Top 22 MariaDB Interview Question for 2024

1) What is MariaDB?

It is a community based database devoloped by MySQL Devolopers. It provides same features as MySQL also, can be said that it is a replacement of MySQL.

2) Enlist some features of MariaDB.

  • It supports different Programming Languages and can run on many Operating Systems.
  • It provides Galera Cluster Technology.
  • It has more storage engines.
  • It has quicker and more transparent security release.

3) Write the default data directory for MariaDB?

The location of data directory is controlled by datadir variable. The default address is /etc/mysql/my.cnf file where MariaDBis configured to store data.

4) What is Galera Cluster in MariaDB?

Galera Cluster is a synchronous multi-master cluster for MariaDB but it is only for linux and only supports XtraDN/InnoDB.

5) Enlist some GUI/workbench for MariaDB.

  • MySQL Workbench
  • Webyog/SQLyog
  • HeidiSQL
  • dbForge Studio

6) Why does MariaDB 10.2 use InnoDB instead of XtraDB?

Keeping upto date with Mysql, MariaDB uses InnoDB/XtraDB but it has becomes a very difficult task to devolop. Devolopment was already going on with InnoDB which has taken more than half a year. Thus, to release ASAP they didn't switch to XtraDB.

7) What is an aggregate function?

Aggregate function are those functions which grouped multiple rows data on some condition to provide more significant result such as List, Set, Group etc.

8) Enlist some types of aggregate function?

  • COUNT Function
  • SUM Function
  • MIN Function
  • MAX Function
  • AVG Function

9) What are the different types of Clause used in MariaDB?

  • Where Clause
  • Order By Clause
  • Like Clause
  • Distinct Clause etc.

10) What is JOIN? How many types of JOIN in MariaDB?

Join is used to retreive data from multiple tables by applieng joins such as:
  • INNER JOIN
  • LEFT OUTER JOIN
  • RIGHT OUTER JOIN

11) What is the use of ORDER BY clause in MariaDB?

ORDER BY clause is used to sort the records in inreasing or decreasing order. Syntax:
SELECT expressions      

FROM tables      

[WHERE conditions]      

ORDER BY expression [ ASC | DESC ];

12) How MariaDB protects from SQL Injection?

SQL Injection problem occurs at the time of Insertion or Updation of data such as Name, Salary etc and code logic fails to analyze. To avoid SQL Injection we can provide Validation through pattern matching.

13) Enlist the types of Backups in MariaDB.

There are two types of Backups:
  • Logical Backups: It provides flexibility of restoring data on another machines. Logical Backups occurs at tables and database.
  • Physical Backups: This type of backups is smaller in size and vaery fast in restoring of data. It includes log and configuration files which occur at directory or file level.

14) Enlist some backup tools.

  • XtraBackup
  • Snapshots
  • LVM
  • TokuBackup

15) What is Indexs? How many types of Indexes in MariaDB?

Indexes: It is a tools which helps in faster retreival of records present in tables. Indexes is of 4 types:
  • Primary
  • Unique
  • Plain
  • Full-Text

16) What are Heap tables?

HEAP tables are present in memory and they are used for high speed storage on temporary basis.

17) 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.

18) What are Heap tables?

HEAP tables are present in memory and they are used for high speed storage on temporary basis.

19) What is function in MariaDB?

MariaDB function is a stored program that is used to pass parameters into them and return a value.

20) What is the use of DELETE statement in MariaDB?

The MariaDB DELETE statement is used to delete one or more records from the table in the database.

21) How can you retrieve limited number of records from a table?

LIMIT clause is used with SELECT statement to select a limited number of records from a table.

22) What is a procedure or a stored procedure in database?

Procedures are sort of functions in a database. Procedures are created when you want to perform a task repetitively. MariaDB procedure is a stored program that is used to pass parameters into it. It does not return a value like a function does.

Related Topics

Top 15 VBA Interview Questions for 2024

1) What is VBA? VBA stands for Visual Basic Application. It is an event-driven programming language. It is mainly used with Microsoft Office applications such as MS -Excel, MS-Word and MS-Access. 2)...

3 minutes read.

Top 30 JSF Interview Questions for 2024

1) What is JSF? JSF stands for Java Server Faces is a Java-Based web application framework. JSF (Java Server Faces) provides a facility to connect UI widgets with data sources. 2) What are...

4 minutes read.

Top 15 Data structure & Algorithm Interview Questions for 2024

1) What is Data Structure? Data structure is a way of storing, collecting and organizing data into the main memory. It makes data access more efficient and increase performance. Array, List, Queue...

3 minutes read.

Top 20 HTTP Interview Questions for 2024

1) What is HTTP? HTTP stands for Hypertext Transfer Protocol. It is a set of rules for transferring of data on WWW (World Wide Web). 2) What are the basic Features of...

4 minutes read.

Top 15 iOS (iPhone, iPad) Interview Questions for 2024

Top 20 Most Frequently asked iOS Interview Questions and Answers 1) What is iOS? iOS is a mobile operating system developed by Apple Inc. iOS offers iPhone and iPad application development using...

3 minutes read.

Top 31 Dart Programming Interview Questions for 2024

1) What is Dart? Dart is an application programming language. It is used to build web, server and mobile applications. 2) Who is the developer of Dart? Google is the developer of Dart. 3)...

6 minutes read.

Top 16 WebGL Interview Questions for 2024

1) What is WebGL? WebGL stands for Web Graphics Library. It is a JavaScript API that is used for rendering 3D graphic in any compatible web browser. It is written in...

3 minutes read.

Top 30 PyTorch Interview Questions and Answers

Q1: What is PyTorch? Answer: PyTorch is a machine learning library for the programming language Python, based on Torch library, used for application such as natural language processing. It is free...

9 minutes read.

Top 14 Apache Presto Interview Questions for 2024

1) What is Presto? Presto is a distributed SQL query engine. It is an open source software project to develop a database. 2) What are the features of Presto? There are following features...

2 minutes read.

Top 15 Java BeanUtils Interview Questions for 2024

1) What is Java BeanUtils? Java BeanUtils is a design pattern component of the Apache Commons. It facilitates architecture for Java language which is derived from JavaAPI. It helps to set...

3 minutes read.

WebSockets Interview Questions

1) What is Web Sockets? Web Sockets is a two way communication between the clients and the servers. Here, the clients and servers both the parties can communicate and exchange data...

3 minutes read.

Top 40 TensorFlow Interview Questions and Answers

Commonly Asked TensorFlow Interview Questions for Fresher Q1. What is TensorFlow? TensorFlow is the machine learning library developed by Google's brain team, it supports multiple abstraction levels, and we can choose the...

13 minutes read.

Top 22 DOJO Interview Questions for 2024

1) What is DOJO? DOJO is an open source JavaScript framework designed for very fast development of JavaScript/AJAX based application and websites having cross platform interdependencies. 2) Enlist all features of DOJO. ...

4 minutes read.

Top 15 ASP.NET MVC Framework Interview Questions for 2024

1) What is ASP.NET MVC Framework? ASP.NET MVC framework is a software architecture pattern for developing web applications. It is used to split the application's implementation logic into three components: models,...

4 minutes read.

Top 30 Magento Interview Questions for 2024

1) What is Magento? Magento is an open-source content management system. It is used to create e-commerce websites. It is developed by Varien ,Inc, a US private company headquartered in Culver City, California. It...

5 minutes read.

Top 15 Electron Interview Question for 2024

1) What is Electron? Electron is an open source library developed by Github. It is used to develop cross platform desktop application. 2) Which technology Electron uses? Electron uses Chromium and Node.js with...

3 minutes read.

Top 14 Material Design Lite Interview Questions for 2024

1) What is Material Design Lite? Material Design Lite is UI component Library. It is created with CSS, JavaScript and HTML. It is used for design purpose. It is developed by...

3 minutes read.

Top 14 Elixir Interview Questions for 2024

1) What is Elixir? Elixir is a dynamic, functional language. It is designed to build scalable and maintainable applications. 2) Who developed Elixir? Ericsson developed elixir in 1986. 3) What is the stable version of...

2 minutes read.

Top 15 MATLAB Interview Questions for 2024

1) What is MATLAB? MATLAB (matrix laboratory) is fourth-generation programming language. It allows matrix manipulations, implementations of algorithm and many more. 2) Who developed MATLAB? MATLAB is developed by MathWorks. 3) In which language...

2 minutes read.

Top 30 RPA Interview questions for 2024

Q1. What is RPA (Robotic Process Automation)? The Robotic Process Automation is a trending technology in the market where: Robotic: Robotic means "machines that copy the human actions." Process: Process means "the sequence of steps which...

12 minutes read.