• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for August 2020

How to extract RAR files in CentOS/RHEL 7 and 8

By admin

There is no default utility in CentOS/RHEL 7 systems to extract a .rar file. This post outlines the steps to install the unar package and use of unar command to extract files with .rar extension. 1. Log in as a root user (or use sudo) and configure the latest EPEL repositories to be able to install the unar package: # yum install epel-release Note: I recommend to disable all the existing repositories and just enable the EPEL repository if you do not want to face any conflict. 2, Now … [Read more...] about How to extract RAR files in CentOS/RHEL 7 and 8

Filed Under: CentOS/RHEL, CentOS/RHEL 7, Linux

How to Disable os-prober in CentOS/RHEL 7

By admin

What is os-prober The os-prober package detects all operating systems available on the machine and returns the results in a generic machine-readable format. Sometimes os-prober may cause problems when probing some special disks (Ex: Oracle ASM disks). This post describes how to disable os-prober. Disabling os-prober os-prober is invoked by the command grub2-mkconfig when generating a new GRUB configuration file. Running grub update on a busy Oracle ASM LUNS with OS probe results in timeouts … [Read more...] about How to Disable os-prober in CentOS/RHEL 7

Filed Under: ASM, CentOS/RHEL, CentOS/RHEL 7, oracle

Understanding MySQL Storage Engines – MyISAM, MEMORY, BLACKHOLE and ARCHIVE

By admin

MyISAM Storage Engine MyISAM was the default MySQL storage engine prior to the MySQL server version 5.5.5. The current default is the InnoDB storage engine. The mysql database contains tables in the MyISAM format. Each MyISAM table is represented by three files: Formatfile: Stores the definition of the table structure (mytable.frm) Data file: Stores the contents of table rows (mytable.MYD) Index file: Stores any indexes on the table (mytable.MYI) The MyISAM storage engine … [Read more...] about Understanding MySQL Storage Engines – MyISAM, MEMORY, BLACKHOLE and ARCHIVE

Filed Under: mysql, MySQL Cluster

Multi-Versioning in MySQL Database

By admin

MySQL database keeps the information about old versions of changed rows and supports transactional features such as concurrency and rollback. A rollback segment is an InnoDB storage area that contains the undo log. InnoDB can respond to queries for multiple versions of the same row when those queries are part of transactions that started at different times. It uses part of the undo log, the update undo buffer, to build earlier versions of database rows. Three hidden fields exist on every row … [Read more...] about Multi-Versioning in MySQL Database

Filed Under: mysql, MySQL Cluster

How to use foreign keys to attain referential integrity in MySQL

By admin

Referential Integrity Referential integrity means that relationships between tables are consistent. MySQL enforces referential integrity by using foreign key constraints. When one table (the child table) has a foreign key to another table (the parent table), MySQL prevents you from adding a record to the child table if there is no corresponding record in the parent table. It also facilitates cascading updates and deletes to ensure that changes made to the child table are reflected in the parent … [Read more...] about How to use foreign keys to attain referential integrity in MySQL

Filed Under: mysql, MySQL Cluster

Beginners Guide to Storage Engines in MySQL

By admin

Storage Engines and MySQL When you create a table, MySQL uses the InnoDB storage engine to create the storage for that table on the hard disk. You can choose an alternative storage engine to use for each table. Typically, you make this choice according to which storage engine offers features that best fit the needs of your application. Each storage engine has a particular set of operational characteristics. These characteristics include the types of locks that are used to manage query … [Read more...] about Beginners Guide to Storage Engines in MySQL

Filed Under: mysql, MySQL Cluster

How to obtain MySQL metadata (metadata access methods)

By admin

A database is a structured collection of data. Metadata is "data about data". Using the following methods, MySQL provides access to metadata for databases, tables, and other objects managed by the database server: 1. INFORMATION_SCHEMA: The MySQL server contains a data dictionary implemented as a database (schema) named INFORMATION_SCHEMAthat includes a number of objects that appear to be tables. 2. SHOW statements: Proprietary syntax to obtain data on server statistics, schemas, and … [Read more...] about How to obtain MySQL metadata (metadata access methods)

Filed Under: mysql, MySQL Cluster

Primary Sidebar

Recent Posts

  • Oracle Database – Configuring Secure Application Roles
  • Extend rule sets by using factors in Oracle Database Vault
  • What are Command Rules in oracle Database
  • Using Rule Sets in Oracle Database Vault
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary