Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews
Home 2015 October MySQL: Frequently asked Interview Questions and Answers Part 2

MySQL: Frequently asked Interview Questions and Answers Part 2

This article is half-done without your Comment! *** Please share your thoughts via Comment ***

Which are the key advantages of InnoDB?

InnoDB is a high-reliability and high-performance storage engine for MySQL.
Its design follows the ACID model, with transaction features like to commit, rollback.
Row-level locking and Oracle-style consistent reads increase multi-user concurrency and performance.
InnoDB tables, arrange your data on disk to optimize common queries based on primary keys. Each InnoDB table has a primary key index called the clustered index.
You can freely mix InnoDB tables with tables from other MySQL storage engines, even within the same statement. For example, you can use a join operation to combine data from InnoDB and MEMORY tables in a single query.


What is MyISAM table and explain storage structure for it?

This is one of Table Stroage Engine.
All data values are stored with the low byte first. This makes the data machine and operating system independent.
Each MyISAM table is stored on disk in three files. The files have names that begin with the table name and have an extension to indicate the file type. An .frm file stores the table format. The data file has an .MYD (MYData) extension. The index file has an .MYI (MYIndex) extension.


How many indexes you can create on MyISAM table?

The maximum number of indexes per MyISAM table is 64.


Is MVCC supported by MyISAM?

No:


Is ENUM supported by MySQL?

Yes, you can use for predefine values during table creation.


How to get current MySQL version?

SELECT VERSION ();


What is the difference between BLOB , CLOB and TEXT?

TEXT is a data-type of text based input. On the other hand, you have BLOB and CLOB, which are more suitable for data storage (images, etc.) due to their larger capacity limits (4GB for example).
TEXT and CHAR will convert to/from the character set they have associated with time. BLOB and CLOB simply store bytes.
As for the difference between BLOB and CLOB, I believe CLOB has a character encoding associated with it, which implies it can be suited well for very large amounts of text.


What is table_cache and max_connections in MySQL?

It is about to Opens and Closes Tables by MySQL.
MySQL is multi-threaded, so there are different connection which are accessing the same table simultaneously. MySQL open this table into cache for all different connections.
table_cache is a system variable and this is number of open tables for all threads. This can be changed base on the requirement.
max_connection is a system variable and this is the maximum permitted number of simultaneous client connections.

Oct 1, 2015Anvesh Patel
MySQL: Frequently asked Interview Questions and Answers Part 1MySQL: Frequently asked Interview Questions and Answers Part 3
Anvesh Patel
Anvesh Patel

Database Engineer

October 1, 2015 MySQL, MySQL InterviewAnvesh Patel, database, database research and development, dbrnd, interview, MySQL, MySQL Command, MySQL Database Administrator, MySQL Database Designing, MySQL Database Programming, MySQL Error, MySQL Performance Tunning, MySQL Query, MySQL Tips and Tricks
About Me!

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... } – May 27, 12:43 PM
  • Anvesh Patel { Great... } – May 27, 12:41 PM
  • Anvesh Patel { Great... } – May 27, 12:39 PM
  • Anvesh Patel { Great... } – May 27, 12:36 PM
  • Anvesh Patel { Great... } – May 27, 12:28 PM
  • Anvesh Patel { Great... } – May 27, 12:27 PM
  • Anvesh Patel { Great... } – May 27, 12:16 PM
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....