SlideShare a Scribd company logo
1 of 35
Download to read offline
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
1
MariaDB : About MariaDB
Jong Jin Lee
SYS4U I&C EC Solution Lab / Software Engineer
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
2
Agenda
• MariaDB ?
• Install MariaDB
• Starting MariaDB & Query Execution
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
3
Percona Server
MariaDB : Feature
Free & Open Software
• Open source Software
• Developer Based on
MySQL Community
Version
• Patches, Bug fixes and
Feature enhancements
(MySQL Community +
Monty Program AB)
• Development,
Roadmap, Release
Cycle and Other issues
are Open for
community User
Feature enhanced
• New Storage Engine
(PBXT, XtraDB, Maria,
FederatedX)
• Virtual Columns
• Services for Plugins
• Optimization
• Enhancement roadmap
is publicly available on
the wiki
• Backward Compatible
• Percona Server
(Developer Based on
MySQL Server, Onther
MySQL Fork Version)
MySQL Source Code
Maria DB
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
4
• MariaDB Server
• GNU General Public
License (“GPL”)
• Client Program / Library
• GUN Lesser General
Public License
(“LGPL”)
• Community Vesion
• GNU General Public
License (“GPL”)
MariaDB : Licensing Comparison
• Commercially licensed
• Companies choose
between Named User
and Per Processor
pricing models
• Standard vs. Enterprise
vs. Personal vs.
StandardOne
• Per Processor model
has multi-core
implications
• Dual licensed:
• GNU General Public
License (“GPL”)
• Commercial License
• MySQL in enterprise
use:
• Annual Subscription:
per server
• MySQL in embedded
use:
• License - per server
• Annual Support - per
server
• MySQL Cluster CGE:
• Annual Subscription
• License + Annual
Support
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
5
MariaDB : Processes and Threads
Oracle DATABASE
HR SCOTT SH
Table
Index
DB
Schemas
Multi-
Processes
DATAFILE
Network
File
SMON
PMON
CKPT
DBWn
ARCx MYSQLD
My.CNF
INFORMATION
SCHEMA
ORADEMO TEST DB
Single –
Process
Multi
Threads
Table
Index
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
6
MariaDB : Memory and Files
Oracle MySQL
Memory cache •PGA (per server process)
•Hash area •Join Buffer (per client session)
•Sort area •Sort Buffer (per client session)
•Stack area •stack (per client session)
•SGA
•Shared pool •(Query Cache)
•DB buffer cache •Key Buffer [MyISAM]
•InnoDB Buffer Cache [InnoDB]
•REDO log buffer •InnoDB Log Buffer [InnoDB]
Files •init.ora •my.cnf / my.ini
•System tablespace file •`mysql` directory
•User tablespace files •directories in `data` directory
•InnoDB tablespace files [InnoDB]
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
7
MariaDB : Redo & Undo Logs
Oracle MySQL
REDO/UNDO
Logs
•REDO logs •InnoDB logs [InnoDB]
•Binary log
•Archive logs •Binary log
•UNDO tablespace files •InnoDB tablespace files [InnoDB]
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
8
MariaDB : Security
Security Item Oracle MySQL
Built-in Accounts SYS, SYSTEM, others Root.
Object Privileges Handled GRANT, REVOKE GRANT, REVOKE. Host
consideration
Privilege Granularity Column, Row Column (row via view)
Group Management ROLES On Roadmap
SSL Supported Yes Yes
Encryption Transparent, RC4, DES, AES,
etc.
AES, DES, MD5 SHA1;
128/256
Auditing Audit subsystem Handled via logging
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
9
MariaDB : Data Types
Oracle Datatype MySQL Datatype
CHAR, VARCHAR(2),
NCHAR, NVARCHAR
CHAR, VARCHAR, TEXT
CLOB, LONG LONGTEXT
RAW MEDIUMBLOB
LONG RAW, BLOB BLOB
BFILE None
Oracle Datatype MySQL Datatype
NUMBER, DECIMAL INT, BIGINT, DECIMAL
NUMBER (P,S), DECIMAL (P,S) DECIMAL (P,S)
REAL, DOUBLE DECIMAL
FLOAT DOUBLE
DATE, TIMESTAMP DATETIME,TIMESTAMP
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
10
MariaDB : Storage Engine
Purpose MariaDB MySQL
Memory Engine Memory Memory
Based on Disk : Temp
Table Engine
Aria MyISAM
Transaction Engine XtraDB InnoDB
NOSQL Support Engine MariaDB 10.0 Over :Cassandra Memcached API (Plug-in)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
11
MariaDB : Comparison
MariaDB MySQL
Thread Pool MariaDB 5.1 Over MySQL 5.5 Enterprise (Not
Support Community Vesion)
Buffer Pool MariaDB 5.5 Over : XtraDB MySQL 5.6 Over : InnoDB
Support SSD
(Solid-state Drive)
MariaDB 5.5 Over : XtraDB
Virtual Columns MariaDB 5.2 Over
Role Management MariaDB 10.0 Over
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
12
MariaDB : Version-specific compatibility
MariaDB MySQL
5.1, 5.2, 5.3 5.1
5.5, 10.0 5.5
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
13
MariaDB : Installation Step
[root@sys4u ~]# groupadd -g 600 dba
[root@sys4u ~]# useradd -g 600 -u 605 mysql
[root@sys4u ~]# usermod -g 600 mysql
[root@sys4u ~]# usermod -u 605 mysql
[root@sys4u ~]# passwd mysql
Changing password for user mysql.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
# vi /etc/security/limits.conf
# Below the line
mysql soft nproc 8192
mysql hard nproc 16384
mysql soft nofile 8192
mysql hard nofile 65536
# vi /etc/pam.d/login
# Below the line
session required pam_limits.so
# vi /etc/profile
# Below the line
if [ $USER = "mysql" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
14
MariaDB : Installation Step
[root@sys4u ~]# mkdir -p /home/mariadb
[root@sys4u ~]# mkdir -p /home/data/mariadb-data
[root@sys4u ~]# mkdir -p /home/data/mariadb-tmp
[root@sys4u ~]# mkdir -p /home/data/mariadb-iblog
[root@sys4u ~]# mkdir -p /home/data/mariadb-binlog
[root@sys4u ~]# chown -R mysql:dba /home/mariadb/
[root@sys4u ~]# chown -R mysql:dba /home/data/*
[root@sys4u mariadb]# ls
cmake-2.8.4.tar.gz mariadb-5.5.30.tar.gz
[root@sys4u mariadb]# tar -xvf cmake-2.8.4
[root@sys4u mariadb]# ls
cmake-2.8.4 cmake-2.8.4.tar.gz mariadb-5.5.30.tar.gz
[root@sys4u mariadb]# cd cmake-2.8.4
[root@sys4u cmake-2.8.4]# ls
CMakeCPack.cmake ChangeLog.txt Source
CMakeCPackOptions.cmake.in CompileFlags.cmake Templates
CMakeGraphVizOptions.cmake Copyright.txt Tests
CMakeLists.txt DartConfig.cmake Utilities
CMakeLogo.gif DartLocal.conf.in bootstrap
CTestConfig.cmake Docs cmake.1
CTestCustom.cmake.in Example cmake_uninstall.cmake.in
CTestCustom.ctest.in Modules configure
ChangeLog.manual Readme.txt doxygen.config
[root@sys4u cmake-2.8.4]# ./bootstrap
---------------------------------------------
-----
-----
---------------------------------------------
Log of errors: /home/mariadb/cmake-2.8.4/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
15
MariaDB : Installation Step
[[root@sys4u cmake-2.8.4]# yum -y install gcc-c++
-----
Loaded plugins: fastestmirror, security
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.2 MB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
-----
[root@sys4u cmake-2.8.4]# ./bootstrap
-----
Makefile processor on this system is: gmake
g++ is GNU compiler
g++ has STL in std:: namespace
g++ has ANSI streams
g++ has streams in std:: namespace
g++ has sstream
g++ has operator!=(string, char*)
g++ has stl iterator_traits
g++ has standard template allocator
g++ has allocator<>::rebind<>
g++ does not have non-standard allocator<>::max_size argument
-----
[root@sys4u cmake-2.8.4]# make
-----
Scanning dependencies of target cmsys
[ 1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Terminal.o
[ 2%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/System.o
-----
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
16
MariaDB : Installation Step
[root@sys4u cmake-2.8.4]# make install
-----
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/doc/cmake-2.8/Copyright.txt
-- Installing: /usr/local/share/cmake-2.8/Modules
-- Installing: /usr/local/share/cmake-2.8/Modules/FindPerl.cmake
-- Installing: /usr/local/share/cmake-2.8/Modules/FindLibArchive.cmake
-- Installing: /usr/local/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake
-- Installing: /usr/local/share/cmake-2.8/Modules/CMakeExportBuildSettings.cmake
-- Installing: /usr/local/share/cmake-2.8/Modules/FindJPEG.cmake
-----
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
17
MariaDB : Installation Step
# vi /etc/my.cnf
-----
#[mysqld]
#datadir=/var/lib/mysql
#socket=/var/lib/mysql/mysql.sock
#user=mysql
## Disabling symbolic-links is recommended to prevent assorted security risks
#symbolic-links=0
#[mysqld_safe]
#log-error=/var/log/mysqld.log
#pid-file=/var/run/mysqld/mysqld.pid
[client]
port = 3306
socket = /usr/local/mysql/mysql.socket
[mysqld]
# generic configuration options
port = 3306
socket = /usr/local/mysql/mysql.socket
back_log = 100
max_connections = 500
max_connect_errors = 10
table_open_cache = 2048
max_allowed_packet = 16M
join_buffer_size = 8M
read_buffer_size = 2M
read_rnd_buffer_size = 16M
sort_buffer_size = 8M
thread_stack = 192K
lower_case_table_names = 0
-----
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
18
MariaDB : Installation Step
[root@sys4u cmake-2.8.4]# cd /home/mariadb/
[root@sys4u mariadb]# ls
cmake-2.8.4 cmake-2.8.4.tar.gz mariadb-5.5.30.tar.gz
[root@sys4u mariadb]# tar -xvf mariadb-5.5.30.tar.gz
-----
mariadb-5.5.30/mysql-test/suite/sys_vars/r/warning_count_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/thread_stack_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/default_week_format_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/collation_server_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/shared_memory_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/innodb_log_group_home_dir_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/slave_sql_verify_checksum_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/innodb_merge_sort_block_size_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/general_log_file_func.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/thread_pool_size_basic.result
mariadb-5.5.30/mysql-test/suite/sys_vars/r/sync_master_info_basic.result
-----
[root@sys4u mariadb-5.5.30]# /usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DMYSQL_DATADIR=/usr/local/mysql/data -
DENABLED_LOCAL_INFILE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.socket
-----
-- Looking for access - found
-- Looking for aio_read
-- Looking for aio_read - found
-- Looking for alarm
-- Looking for alarm - found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for backtrace_symbols
-- Looking for backtrace_symbols - found
-- Looking for backtrace_symbols_fd
-----
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
19
MariaDB : Installation Step
[root@sys4u mysql]# chown -R mysql:dba /usr/local/mysql*
[root@sys4u mysql]# chown mysql:dba /etc/my.cnf
export MYSQL_HOME=/usr/local/mysql
export PATH=$PATH:$MYSQL_HOME/bin:.
export ADMIN_PWD="root password”
alias ll="ls -al --color=auto"
alias mydba="mysql -uroot -p$ADMIN_PWD"
alias mymaster="mysql -uroot -p$ADMIN_PWD -e'show master status;'"
alias myslave="mysql -uroot -p$ADMIN_PWD -e'show slave statusG'"
alias mh="cd $MYSQL_HOME"
alias md="cd /home/data/mariadb-data"
alias mt="cd /home/data/mariadb-tmp“
-----
[root@sys4u mysql]# cd /usr/local/mysql/
[root@sys4u mysql]# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/
-----
WARNING: The host 'sys4u.co.kr' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MariaDB version. The MariaDB daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MariaDB privileges !
Installing MariaDB/MySQL system tables in '/home/data/mariadb-data' ...
OK
-----
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
20
MariaDB : Installation Step
[root@sys4u ~]# cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld
cp: overwrite `/etc/init.d/mysqld'? y
# /etc/init.d/mysqld
46 basedir=/home/mariadb
47 datadir=/home/data/mariadb-data
[root@sys4u ~]# /usr/local/mysql/bin/mysql
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 2
Server version: 5.5.30-MariaDB-log Source distribution
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MariaDB [(none)]>
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
21
MariaDB : Installation Step
MariaDB [(none)]> use mysql
Database changed
MariaDB [mysql]> create database orademo;
Query OK, 1 row affected (0.00 sec)
MariaDB [mysql]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| orademo |
| performance_schema |
| test |
+--------------------+
5 rows in set (0.00 sec)
MariaDB [mysql]> grant all privileges on *.* to 'root'@'%' identified by ‘’ecsses;
Query OK, 0 rows affected (0.03 sec)
MariaDB [mysql]> select host, user, password from user;
+-------------+------+-------------------------------------------+
| host | user | password |
+-------------+------+-------------------------------------------+
| localhost | root | |
| sys4u.co.kr | root | |
| 127.0.0.1 | root | |
| ::1 | root | |
| localhost | | |
| sys4u.co.kr | | |
| % | root | *077D2C382FBC8EF28EFF2EF07C9BAD1595F0AB6D |
+-------------+------+-------------------------------------------+
7 rows in set (0.00 sec)
MariaDB [mysql]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
22
MariaDB : MariaDB Server Startup & Shutdown
[root@sys4u ~]# /etc/init.d/mysqld start
Starting MySQL.... [ OK ]
[root@sys4u ~]# /usr/local/mysql/bin/mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 3
Server version: 5.5.37-tokudb-7.1.6-MariaDB-log MariaDB Server
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MariaDB [(none)]> use mysql
Database changed
MariaDB [mysql]> exit
Bye
[root@sys4u ~]# /etc/init.d/mysqld stop
Shutting down MySQL.. [ OK ]
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
23
MariaDB : Create DB & User
MariaDB [(none)]> create database firstdb; (or create database firstdb default charcter set utf8mb4;)
Query OK, 1 row affected (0.03 sec)
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| firstdb |
| mysql |
| orademo |
| performance_schema |
| test |
+--------------------+
6 rows in set (0.10 sec)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
24
MariaDB : Create DB & User
MariaDB [(none)]> create database firstdb; (or create database firstdb default charcter set utf8mb4;)
Query OK, 1 row affected (0.03 sec)
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| firstdb |
| mysql |
| orademo |
| performance_schema |
| test |
+--------------------+
6 rows in set (0.10 sec)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
25
MariaDB : Create Table
MariaDB [firstdb]> create table tab_test (
-> tid bigint not null auto_increment,
-> tname varchar(100) not null,
-> tmeno text not null,
-> primary key(tid),
-> index ix_tname_tid (tname, tid)
-> ) ENGINE=InnoDB;
MariaDB [firstdb]> show create table tab_test;
------------+
| Table | Create Table |
+----------+-----------------------------------------------------------------------------------------------------
| tab_test | CREATE TABLE `tab_test` (
`tid` bigint(20) NOT NULL AUTO_INCREMENT,
`tname` varchar(100) NOT NULL,
`tmeno` text NOT NULL,
PRIMARY KEY (`tid`),
KEY `ix_tname_tid` (`tname`,`tid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
+----------+-----------------------------------------------------------------------------------------------------
------------+
1 row in set (0.11 sec)
MariaDB [firstdb]> desc tab_test;
+-------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+----------------+
| tid | bigint(20) | NO | PRI | NULL | auto_increment |
| tname | varchar(100) | NO | MUL | NULL | |
| tmeno | text | NO | | NULL | |
+-------+--------------+------+-----+---------+----------------+
3 rows in set (0.00 sec)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
26
MariaDB : Modify table (ONLINE/OFFLINE)
MariaDB [firstdb]> create table t1 (fd1 int, fd2 enum('red', 'green'));
Query OK, 0 rows affected (0.00 sec)
MariaDB [firstdb]> alter online table t1 modify fd2 enum('red', 'green', 'blue');
Query OK, 0 rows affected (0.01 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [firstdb]> alter online table t1 add fd3 int;
ERROR 1915 (HY000): Can't execute the given 'ALTER' command as online
 Don't Need : Data Copy to Temp Table
– Modify Table Names
– Modify Column Names
– Modify Number Type Column Length
– Modify Table Comment
– ENUM Type item add
Online Modify Schema : MariaDB 10.0, MySQL 5.6 Over
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
27
MariaDB : Modify table (ONLINE/OFFLINE)
MariaDB [firstdb]> alter table tab_test add created datetime not null;
Query OK, 0 rows affected (0.30 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [firstdb]> alter table tab_test add index ix_created (created);
Query OK, 0 rows affected (0.18 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [firstdb]> desc tab_test;
+---------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+--------------+------+-----+---------+----------------+
| tid | bigint(20) | NO | PRI | NULL | auto_increment |
| tname | varchar(100) | NO | MUL | NULL | |
| tmeno | text | NO | | NULL | |
| created | datetime | NO | MUL | NULL | |
+---------+--------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
28
MariaDB : DML (INSERT)
MariaDB [firstdb]> create table tab_test (
-> fd1 int not null,
-> fd2 varchar(50),
-> primary key(fd1)) engine=innodb;
Query OK, 0 rows affected (0.09 sec)
MariaDB [firstdb]> insert into tab_test (fd1, fd2) values (1,'Matt');
Query OK, 1 row affected (0.06 sec)
MariaDB [firstdb]> insert into tab_test values (2, 'Toto');
Query OK, 1 row affected (0.00 sec)
MariaDB [firstdb]> insert into tab_test(fd1, fd2)
-> values (3,'Lee') on duplicate key update fd2='Lee';
Query OK, 1 row affected (0.03 sec)
MariaDB [firstdb]> insert into tab_test(fd1, fd2)
-> values (3, 'SeongUck') on duplicate key update fd2='SeongUck';
Query OK, 2 rows affected (0.04 sec)
MariaDB [firstdb]> select * from tab_test;
+-----+----------+
| fd1 | fd2 |
+-----+----------+
| 1 | Matt |
| 2 | Toto |
| 3 | SeongUck |
+-----+----------+
3 rows in set (0.00 sec)
Option) ON DUPLICATE KEY UPDATE
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
29
MariaDB : DML (SELECT)
MariaDB [firstdb]> select * from tab_test;
+-----+----------+
| fd1 | fd2 |
+-----+----------+
| 1 | Matt |
| 2 | Toto |
| 3 | SeongUck |
+-----+----------+
3 rows in set (0.00 sec)
MariaDB [firstdb]> select * from tab_testG;
*************************** 1. row ***************************
fd1: 1
fd2: Matt
*************************** 2. row ***************************
fd1: 2
fd2: Toto
*************************** 3. row ***************************
fd1: 3
fd2: SeongUck
3 rows in set (0.00 sec)
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
30
MariaDB : DML (UPDATE)
MariaDB [firstdb]> update tab_test set fd2='Brandon' where fd1=1;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
MariaDB [firstdb]> select * from tab_test where fd1=1;
+-----+---------+
| fd1 | fd2 |
+-----+---------+
| 1 | Brandon |
+-----+---------+
1 row in set (0.06 sec)
MariaDB [firstdb]> select * from tab_test where fd1=1;
+-----+---------+
| fd1 | fd2 |
+-----+---------+
| 1 | Brandon |
+-----+---------+
1 row in set (0.06 sec)
MariaDB [firstdb]> update tab_test set fd2='Brandon';
Query OK, 2 rows affected (0.03 sec)
Rows matched: 3 Changed: 2 Warnings: 0
MariaDB [firstdb]> select * from tab_test;
+-----+---------+
| fd1 | fd2 |
+-----+---------+
| 1 | Brandon |
| 2 | Brandon |
| 3 | Brandon |
+-----+---------+
3 rows in set (0.01 sec)
caution
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
31
MariaDB : DML (REPLACE)
MariaDB [firstdb]> replace tab_test set fd1=1, fd2='Matt';
Query OK, 2 rows affected (0.00 sec)
MariaDB [firstdb]> select * from tab_test where fd1=1;
+-----+------+
| fd1 | fd2 |
+-----+------+
| 1 | Matt |
+-----+------+
1 row in set (0.00 sec)
 REPLACE <-> UPDATE
– If, PK or Unique key : Recode Delete & Insert
– System Over head
– Recommended : INSERT INTO … ON DUPLICATE KEY UP-DATE
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
32
MariaDB : DML (DELETE)
MariaDB [firstdb]> delete from tab_test where fd1=1;
Query OK, 0 rows affected (0.00 sec)
MariaDB [firstdb]> select * from tab_test;
+-----+---------+
| fd1 | fd2 |
+-----+---------+
| 2 | Brandon |
| 3 | Brandon |
+-----+---------+
2 rows in set (0.00 sec)
MariaDB : AUTO Commit
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
33
Reference
 Presentation : Ryusuke Kajiyama (MySQL Sales Consulting Manager, JAPAC)
– State of the Dolphin
– MySQL for Oracle DB
 Site : MariaDB Knowledge Base
 Book : “Real MariaDB”
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
34
Q & A
Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee
Blog : http://ora-sysdba.tistory.com/
35

More Related Content

What's hot

MariaDB High Availability
MariaDB High AvailabilityMariaDB High Availability
MariaDB High AvailabilityMariaDB plc
 
How to be Successful with Scylla
How to be Successful with ScyllaHow to be Successful with Scylla
How to be Successful with ScyllaScyllaDB
 
The Complete MariaDB Server tutorial
The Complete MariaDB Server tutorialThe Complete MariaDB Server tutorial
The Complete MariaDB Server tutorialColin Charles
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsTuyen Vuong
 
MariaDB MaxScale
MariaDB MaxScaleMariaDB MaxScale
MariaDB MaxScaleMariaDB plc
 
MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)Colin Charles
 
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Severalnines
 
Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기NeoClova
 
SQL Server Performance Tuning Baseline
SQL Server Performance Tuning BaselineSQL Server Performance Tuning Baseline
SQL Server Performance Tuning Baseline► Supreme Mandal ◄
 
MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)Mydbops
 
Deploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksDeploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksMariaDB plc
 
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법Ji-Woong Choi
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바NeoClova
 
[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3
[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3
[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3Ji-Woong Choi
 
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Mydbops
 
Less05 storage
Less05 storageLess05 storage
Less05 storageImran Ali
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfMySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfAlkin Tezuysal
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group ReplicationUlf Wendel
 
MySQL 상태 메시지 분석 및 활용
MySQL 상태 메시지 분석 및 활용MySQL 상태 메시지 분석 및 활용
MySQL 상태 메시지 분석 및 활용I Goo Lee
 
MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~
MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~
MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~オラクルエンジニア通信
 

What's hot (20)

MariaDB High Availability
MariaDB High AvailabilityMariaDB High Availability
MariaDB High Availability
 
How to be Successful with Scylla
How to be Successful with ScyllaHow to be Successful with Scylla
How to be Successful with Scylla
 
The Complete MariaDB Server tutorial
The Complete MariaDB Server tutorialThe Complete MariaDB Server tutorial
The Complete MariaDB Server tutorial
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and Concepts
 
MariaDB MaxScale
MariaDB MaxScaleMariaDB MaxScale
MariaDB MaxScale
 
MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)
 
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
 
Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기
 
SQL Server Performance Tuning Baseline
SQL Server Performance Tuning BaselineSQL Server Performance Tuning Baseline
SQL Server Performance Tuning Baseline
 
MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)MySQL Enterprise Backup (MEB)
MySQL Enterprise Backup (MEB)
 
Deploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksDeploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia Networks
 
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법
 
MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바MySQL Administrator 2021 - 네오클로바
MySQL Administrator 2021 - 네오클로바
 
[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3
[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3
[오픈소스컨설팅] 아파치톰캣 운영가이드 v1.3
 
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
 
Less05 storage
Less05 storageLess05 storage
Less05 storage
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfMySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
 
MySQL Group Replication
MySQL Group ReplicationMySQL Group Replication
MySQL Group Replication
 
MySQL 상태 메시지 분석 및 활용
MySQL 상태 메시지 분석 및 활용MySQL 상태 메시지 분석 및 활용
MySQL 상태 메시지 분석 및 활용
 
MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~
MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~
MySQL Technology Cafe #12 MDS HA検証 ~パラメータからパフォーマンスまで~
 

Viewers also liked

A beginners guide to MariaDB
A beginners guide to MariaDBA beginners guide to MariaDB
A beginners guide to MariaDBColin Charles
 
MariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started TutorialMariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started Tutorialphamhphuc
 
MariaDB Galera Cluster presentation
MariaDB Galera Cluster presentationMariaDB Galera Cluster presentation
MariaDB Galera Cluster presentationFrancisco Gonçalves
 
Maria db vs mysql
Maria db vs mysqlMaria db vs mysql
Maria db vs mysqlNitin KR
 
The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015Colin Charles
 
Apache Spark 2.0: Faster, Easier, and Smarter
Apache Spark 2.0: Faster, Easier, and SmarterApache Spark 2.0: Faster, Easier, and Smarter
Apache Spark 2.0: Faster, Easier, and SmarterDatabricks
 
Introduction to Apache Kafka
Introduction to Apache KafkaIntroduction to Apache Kafka
Introduction to Apache KafkaJeff Holoman
 
Seminar Presentation Hadoop
Seminar Presentation HadoopSeminar Presentation Hadoop
Seminar Presentation HadoopVarun Narang
 
MariaDB Optimizer
MariaDB OptimizerMariaDB Optimizer
MariaDB OptimizerJongJin Lee
 
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonIvan Zoratti
 
Introducción a los Modelos De Datos
Introducción a los Modelos De DatosIntroducción a los Modelos De Datos
Introducción a los Modelos De Datosesacre
 
Unidad 2. modelo entidad relacion
Unidad 2. modelo entidad relacionUnidad 2. modelo entidad relacion
Unidad 2. modelo entidad relacionLuiS YmAY
 
Oracle University - Your Complete Training Source for Oracle Software and Har...
Oracle University - Your Complete Training Source for Oracle Software and Har...Oracle University - Your Complete Training Source for Oracle Software and Har...
Oracle University - Your Complete Training Source for Oracle Software and Har...ORACLE USER GROUP ESTONIA
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityOSSCube
 
Node.js vs Play Framework (with Japanese subtitles)
Node.js vs Play Framework (with Japanese subtitles)Node.js vs Play Framework (with Japanese subtitles)
Node.js vs Play Framework (with Japanese subtitles)Yevgeniy Brikman
 

Viewers also liked (20)

Why MariaDB?
Why MariaDB?Why MariaDB?
Why MariaDB?
 
A beginners guide to MariaDB
A beginners guide to MariaDBA beginners guide to MariaDB
A beginners guide to MariaDB
 
MariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started TutorialMariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started Tutorial
 
MariaDB Galera Cluster presentation
MariaDB Galera Cluster presentationMariaDB Galera Cluster presentation
MariaDB Galera Cluster presentation
 
Maria db vs mysql
Maria db vs mysqlMaria db vs mysql
Maria db vs mysql
 
The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015
 
Elk stack
Elk stackElk stack
Elk stack
 
Apache Spark 2.0: Faster, Easier, and Smarter
Apache Spark 2.0: Faster, Easier, and SmarterApache Spark 2.0: Faster, Easier, and Smarter
Apache Spark 2.0: Faster, Easier, and Smarter
 
Introduction to Apache Kafka
Introduction to Apache KafkaIntroduction to Apache Kafka
Introduction to Apache Kafka
 
Seminar Presentation Hadoop
Seminar Presentation HadoopSeminar Presentation Hadoop
Seminar Presentation Hadoop
 
State of MariaDB
State of MariaDBState of MariaDB
State of MariaDB
 
SQLite en Unity3D
SQLite en Unity3DSQLite en Unity3D
SQLite en Unity3D
 
MariaDB Optimizer
MariaDB OptimizerMariaDB Optimizer
MariaDB Optimizer
 
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
 
Introducción a los Modelos De Datos
Introducción a los Modelos De DatosIntroducción a los Modelos De Datos
Introducción a los Modelos De Datos
 
Unidad 2. modelo entidad relacion
Unidad 2. modelo entidad relacionUnidad 2. modelo entidad relacion
Unidad 2. modelo entidad relacion
 
Oracle University - Your Complete Training Source for Oracle Software and Har...
Oracle University - Your Complete Training Source for Oracle Software and Har...Oracle University - Your Complete Training Source for Oracle Software and Har...
Oracle University - Your Complete Training Source for Oracle Software and Har...
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 
Node.js vs Play Framework (with Japanese subtitles)
Node.js vs Play Framework (with Japanese subtitles)Node.js vs Play Framework (with Japanese subtitles)
Node.js vs Play Framework (with Japanese subtitles)
 
MariaDBのススメ
MariaDBのススメMariaDBのススメ
MariaDBのススメ
 

Similar to Introduction to MariaDB

Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)Ontico
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB Corporation
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentJean-François Gagné
 
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB Corporation
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentJean-François Gagné
 
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UNMariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN✔ Eric David Benari, PMP
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesInsight Technology, Inc.
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreMariaDB Corporation
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Corporation
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialColin Charles
 
Azure Nights August2017
Azure Nights August2017Azure Nights August2017
Azure Nights August2017Michael Frank
 
Meet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web SummitMeet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web SummitColin Charles
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...WASdev Community
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...Olivier DASINI
 
MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012Colin Charles
 
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...Mydbops
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreThe New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreMariaDB Corporation
 
Getting started with MariaDB with Docker
Getting started with MariaDB with DockerGetting started with MariaDB with Docker
Getting started with MariaDB with DockerMariaDB plc
 
20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharingIvan Ma
 

Similar to Introduction to MariaDB (20)

Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris Meetup
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
 
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
 
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UNMariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and More
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability Tutorial
 
MariaDB 10 and Beyond
MariaDB 10 and BeyondMariaDB 10 and Beyond
MariaDB 10 and Beyond
 
Azure Nights August2017
Azure Nights August2017Azure Nights August2017
Azure Nights August2017
 
Meet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web SummitMeet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web Summit
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
 
MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012
 
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
MySQL Transformation Case Study: 80% Cost Savings & Uninterrupted Availabilit...
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreThe New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and more
 
Getting started with MariaDB with Docker
Getting started with MariaDB with DockerGetting started with MariaDB with Docker
Getting started with MariaDB with Docker
 
20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing20190817 coscup-oracle my sql innodb cluster sharing
20190817 coscup-oracle my sql innodb cluster sharing
 

Recently uploaded

{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 

Recently uploaded (20)

{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 

Introduction to MariaDB

  • 1. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 1 MariaDB : About MariaDB Jong Jin Lee SYS4U I&C EC Solution Lab / Software Engineer
  • 2. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 2 Agenda • MariaDB ? • Install MariaDB • Starting MariaDB & Query Execution
  • 3. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 3 Percona Server MariaDB : Feature Free & Open Software • Open source Software • Developer Based on MySQL Community Version • Patches, Bug fixes and Feature enhancements (MySQL Community + Monty Program AB) • Development, Roadmap, Release Cycle and Other issues are Open for community User Feature enhanced • New Storage Engine (PBXT, XtraDB, Maria, FederatedX) • Virtual Columns • Services for Plugins • Optimization • Enhancement roadmap is publicly available on the wiki • Backward Compatible • Percona Server (Developer Based on MySQL Server, Onther MySQL Fork Version) MySQL Source Code Maria DB
  • 4. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 4 • MariaDB Server • GNU General Public License (“GPL”) • Client Program / Library • GUN Lesser General Public License (“LGPL”) • Community Vesion • GNU General Public License (“GPL”) MariaDB : Licensing Comparison • Commercially licensed • Companies choose between Named User and Per Processor pricing models • Standard vs. Enterprise vs. Personal vs. StandardOne • Per Processor model has multi-core implications • Dual licensed: • GNU General Public License (“GPL”) • Commercial License • MySQL in enterprise use: • Annual Subscription: per server • MySQL in embedded use: • License - per server • Annual Support - per server • MySQL Cluster CGE: • Annual Subscription • License + Annual Support
  • 5. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 5 MariaDB : Processes and Threads Oracle DATABASE HR SCOTT SH Table Index DB Schemas Multi- Processes DATAFILE Network File SMON PMON CKPT DBWn ARCx MYSQLD My.CNF INFORMATION SCHEMA ORADEMO TEST DB Single – Process Multi Threads Table Index
  • 6. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 6 MariaDB : Memory and Files Oracle MySQL Memory cache •PGA (per server process) •Hash area •Join Buffer (per client session) •Sort area •Sort Buffer (per client session) •Stack area •stack (per client session) •SGA •Shared pool •(Query Cache) •DB buffer cache •Key Buffer [MyISAM] •InnoDB Buffer Cache [InnoDB] •REDO log buffer •InnoDB Log Buffer [InnoDB] Files •init.ora •my.cnf / my.ini •System tablespace file •`mysql` directory •User tablespace files •directories in `data` directory •InnoDB tablespace files [InnoDB]
  • 7. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 7 MariaDB : Redo & Undo Logs Oracle MySQL REDO/UNDO Logs •REDO logs •InnoDB logs [InnoDB] •Binary log •Archive logs •Binary log •UNDO tablespace files •InnoDB tablespace files [InnoDB]
  • 8. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 8 MariaDB : Security Security Item Oracle MySQL Built-in Accounts SYS, SYSTEM, others Root. Object Privileges Handled GRANT, REVOKE GRANT, REVOKE. Host consideration Privilege Granularity Column, Row Column (row via view) Group Management ROLES On Roadmap SSL Supported Yes Yes Encryption Transparent, RC4, DES, AES, etc. AES, DES, MD5 SHA1; 128/256 Auditing Audit subsystem Handled via logging
  • 9. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 9 MariaDB : Data Types Oracle Datatype MySQL Datatype CHAR, VARCHAR(2), NCHAR, NVARCHAR CHAR, VARCHAR, TEXT CLOB, LONG LONGTEXT RAW MEDIUMBLOB LONG RAW, BLOB BLOB BFILE None Oracle Datatype MySQL Datatype NUMBER, DECIMAL INT, BIGINT, DECIMAL NUMBER (P,S), DECIMAL (P,S) DECIMAL (P,S) REAL, DOUBLE DECIMAL FLOAT DOUBLE DATE, TIMESTAMP DATETIME,TIMESTAMP
  • 10. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 10 MariaDB : Storage Engine Purpose MariaDB MySQL Memory Engine Memory Memory Based on Disk : Temp Table Engine Aria MyISAM Transaction Engine XtraDB InnoDB NOSQL Support Engine MariaDB 10.0 Over :Cassandra Memcached API (Plug-in)
  • 11. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 11 MariaDB : Comparison MariaDB MySQL Thread Pool MariaDB 5.1 Over MySQL 5.5 Enterprise (Not Support Community Vesion) Buffer Pool MariaDB 5.5 Over : XtraDB MySQL 5.6 Over : InnoDB Support SSD (Solid-state Drive) MariaDB 5.5 Over : XtraDB Virtual Columns MariaDB 5.2 Over Role Management MariaDB 10.0 Over
  • 12. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 12 MariaDB : Version-specific compatibility MariaDB MySQL 5.1, 5.2, 5.3 5.1 5.5, 10.0 5.5
  • 13. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 13 MariaDB : Installation Step [root@sys4u ~]# groupadd -g 600 dba [root@sys4u ~]# useradd -g 600 -u 605 mysql [root@sys4u ~]# usermod -g 600 mysql [root@sys4u ~]# usermod -u 605 mysql [root@sys4u ~]# passwd mysql Changing password for user mysql. New password: Retype new password: passwd: all authentication tokens updated successfully. # vi /etc/security/limits.conf # Below the line mysql soft nproc 8192 mysql hard nproc 16384 mysql soft nofile 8192 mysql hard nofile 65536 # vi /etc/pam.d/login # Below the line session required pam_limits.so # vi /etc/profile # Below the line if [ $USER = "mysql" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi
  • 14. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 14 MariaDB : Installation Step [root@sys4u ~]# mkdir -p /home/mariadb [root@sys4u ~]# mkdir -p /home/data/mariadb-data [root@sys4u ~]# mkdir -p /home/data/mariadb-tmp [root@sys4u ~]# mkdir -p /home/data/mariadb-iblog [root@sys4u ~]# mkdir -p /home/data/mariadb-binlog [root@sys4u ~]# chown -R mysql:dba /home/mariadb/ [root@sys4u ~]# chown -R mysql:dba /home/data/* [root@sys4u mariadb]# ls cmake-2.8.4.tar.gz mariadb-5.5.30.tar.gz [root@sys4u mariadb]# tar -xvf cmake-2.8.4 [root@sys4u mariadb]# ls cmake-2.8.4 cmake-2.8.4.tar.gz mariadb-5.5.30.tar.gz [root@sys4u mariadb]# cd cmake-2.8.4 [root@sys4u cmake-2.8.4]# ls CMakeCPack.cmake ChangeLog.txt Source CMakeCPackOptions.cmake.in CompileFlags.cmake Templates CMakeGraphVizOptions.cmake Copyright.txt Tests CMakeLists.txt DartConfig.cmake Utilities CMakeLogo.gif DartLocal.conf.in bootstrap CTestConfig.cmake Docs cmake.1 CTestCustom.cmake.in Example cmake_uninstall.cmake.in CTestCustom.ctest.in Modules configure ChangeLog.manual Readme.txt doxygen.config [root@sys4u cmake-2.8.4]# ./bootstrap --------------------------------------------- ----- ----- --------------------------------------------- Log of errors: /home/mariadb/cmake-2.8.4/Bootstrap.cmk/cmake_bootstrap.log ---------------------------------------------
  • 15. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 15 MariaDB : Installation Step [[root@sys4u cmake-2.8.4]# yum -y install gcc-c++ ----- Loaded plugins: fastestmirror, security base | 3.7 kB 00:00 base/primary_db | 4.4 MB 00:00 extras | 3.4 kB 00:00 extras/primary_db | 19 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 3.2 MB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ----- [root@sys4u cmake-2.8.4]# ./bootstrap ----- Makefile processor on this system is: gmake g++ is GNU compiler g++ has STL in std:: namespace g++ has ANSI streams g++ has streams in std:: namespace g++ has sstream g++ has operator!=(string, char*) g++ has stl iterator_traits g++ has standard template allocator g++ has allocator<>::rebind<> g++ does not have non-standard allocator<>::max_size argument ----- [root@sys4u cmake-2.8.4]# make ----- Scanning dependencies of target cmsys [ 1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Terminal.o [ 2%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/System.o -----
  • 16. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 16 MariaDB : Installation Step [root@sys4u cmake-2.8.4]# make install ----- Install the project... -- Install configuration: "" -- Installing: /usr/local/doc/cmake-2.8/Copyright.txt -- Installing: /usr/local/share/cmake-2.8/Modules -- Installing: /usr/local/share/cmake-2.8/Modules/FindPerl.cmake -- Installing: /usr/local/share/cmake-2.8/Modules/FindLibArchive.cmake -- Installing: /usr/local/share/cmake-2.8/Modules/CMakeDetermineASMCompiler.cmake -- Installing: /usr/local/share/cmake-2.8/Modules/CMakeExportBuildSettings.cmake -- Installing: /usr/local/share/cmake-2.8/Modules/FindJPEG.cmake -----
  • 17. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 17 MariaDB : Installation Step # vi /etc/my.cnf ----- #[mysqld] #datadir=/var/lib/mysql #socket=/var/lib/mysql/mysql.sock #user=mysql ## Disabling symbolic-links is recommended to prevent assorted security risks #symbolic-links=0 #[mysqld_safe] #log-error=/var/log/mysqld.log #pid-file=/var/run/mysqld/mysqld.pid [client] port = 3306 socket = /usr/local/mysql/mysql.socket [mysqld] # generic configuration options port = 3306 socket = /usr/local/mysql/mysql.socket back_log = 100 max_connections = 500 max_connect_errors = 10 table_open_cache = 2048 max_allowed_packet = 16M join_buffer_size = 8M read_buffer_size = 2M read_rnd_buffer_size = 16M sort_buffer_size = 8M thread_stack = 192K lower_case_table_names = 0 -----
  • 18. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 18 MariaDB : Installation Step [root@sys4u cmake-2.8.4]# cd /home/mariadb/ [root@sys4u mariadb]# ls cmake-2.8.4 cmake-2.8.4.tar.gz mariadb-5.5.30.tar.gz [root@sys4u mariadb]# tar -xvf mariadb-5.5.30.tar.gz ----- mariadb-5.5.30/mysql-test/suite/sys_vars/r/warning_count_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/thread_stack_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/default_week_format_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/collation_server_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/shared_memory_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/innodb_log_group_home_dir_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/slave_sql_verify_checksum_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/innodb_merge_sort_block_size_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/general_log_file_func.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/thread_pool_size_basic.result mariadb-5.5.30/mysql-test/suite/sys_vars/r/sync_master_info_basic.result ----- [root@sys4u mariadb-5.5.30]# /usr/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DMYSQL_DATADIR=/usr/local/mysql/data - DENABLED_LOCAL_INFILE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.socket ----- -- Looking for access - found -- Looking for aio_read -- Looking for aio_read - found -- Looking for alarm -- Looking for alarm - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Looking for backtrace_symbols_fd -----
  • 19. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 19 MariaDB : Installation Step [root@sys4u mysql]# chown -R mysql:dba /usr/local/mysql* [root@sys4u mysql]# chown mysql:dba /etc/my.cnf export MYSQL_HOME=/usr/local/mysql export PATH=$PATH:$MYSQL_HOME/bin:. export ADMIN_PWD="root password” alias ll="ls -al --color=auto" alias mydba="mysql -uroot -p$ADMIN_PWD" alias mymaster="mysql -uroot -p$ADMIN_PWD -e'show master status;'" alias myslave="mysql -uroot -p$ADMIN_PWD -e'show slave statusG'" alias mh="cd $MYSQL_HOME" alias md="cd /home/data/mariadb-data" alias mt="cd /home/data/mariadb-tmp“ ----- [root@sys4u mysql]# cd /usr/local/mysql/ [root@sys4u mysql]# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ ----- WARNING: The host 'sys4u.co.kr' could not be looked up with resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MariaDB version. The MariaDB daemon, mysqld, should work normally with the exception that host name resolving will not work. This means that you should use IP addresses instead of hostnames when specifying MariaDB privileges ! Installing MariaDB/MySQL system tables in '/home/data/mariadb-data' ... OK -----
  • 20. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 20 MariaDB : Installation Step [root@sys4u ~]# cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld cp: overwrite `/etc/init.d/mysqld'? y # /etc/init.d/mysqld 46 basedir=/home/mariadb 47 datadir=/home/data/mariadb-data [root@sys4u ~]# /usr/local/mysql/bin/mysql Welcome to the MariaDB monitor. Commands end with ; or g. Your MariaDB connection id is 2 Server version: 5.5.30-MariaDB-log Source distribution Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others. Type 'help;' or 'h' for help. Type 'c' to clear the current input statement. MariaDB [(none)]>
  • 21. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 21 MariaDB : Installation Step MariaDB [(none)]> use mysql Database changed MariaDB [mysql]> create database orademo; Query OK, 1 row affected (0.00 sec) MariaDB [mysql]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | orademo | | performance_schema | | test | +--------------------+ 5 rows in set (0.00 sec) MariaDB [mysql]> grant all privileges on *.* to 'root'@'%' identified by ‘’ecsses; Query OK, 0 rows affected (0.03 sec) MariaDB [mysql]> select host, user, password from user; +-------------+------+-------------------------------------------+ | host | user | password | +-------------+------+-------------------------------------------+ | localhost | root | | | sys4u.co.kr | root | | | 127.0.0.1 | root | | | ::1 | root | | | localhost | | | | sys4u.co.kr | | | | % | root | *077D2C382FBC8EF28EFF2EF07C9BAD1595F0AB6D | +-------------+------+-------------------------------------------+ 7 rows in set (0.00 sec) MariaDB [mysql]> flush privileges; Query OK, 0 rows affected (0.00 sec)
  • 22. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 22 MariaDB : MariaDB Server Startup & Shutdown [root@sys4u ~]# /etc/init.d/mysqld start Starting MySQL.... [ OK ] [root@sys4u ~]# /usr/local/mysql/bin/mysql -uroot -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or g. Your MariaDB connection id is 3 Server version: 5.5.37-tokudb-7.1.6-MariaDB-log MariaDB Server Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others. Type 'help;' or 'h' for help. Type 'c' to clear the current input statement. MariaDB [(none)]> use mysql Database changed MariaDB [mysql]> exit Bye [root@sys4u ~]# /etc/init.d/mysqld stop Shutting down MySQL.. [ OK ]
  • 23. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 23 MariaDB : Create DB & User MariaDB [(none)]> create database firstdb; (or create database firstdb default charcter set utf8mb4;) Query OK, 1 row affected (0.03 sec) MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | firstdb | | mysql | | orademo | | performance_schema | | test | +--------------------+ 6 rows in set (0.10 sec)
  • 24. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 24 MariaDB : Create DB & User MariaDB [(none)]> create database firstdb; (or create database firstdb default charcter set utf8mb4;) Query OK, 1 row affected (0.03 sec) MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | firstdb | | mysql | | orademo | | performance_schema | | test | +--------------------+ 6 rows in set (0.10 sec)
  • 25. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 25 MariaDB : Create Table MariaDB [firstdb]> create table tab_test ( -> tid bigint not null auto_increment, -> tname varchar(100) not null, -> tmeno text not null, -> primary key(tid), -> index ix_tname_tid (tname, tid) -> ) ENGINE=InnoDB; MariaDB [firstdb]> show create table tab_test; ------------+ | Table | Create Table | +----------+----------------------------------------------------------------------------------------------------- | tab_test | CREATE TABLE `tab_test` ( `tid` bigint(20) NOT NULL AUTO_INCREMENT, `tname` varchar(100) NOT NULL, `tmeno` text NOT NULL, PRIMARY KEY (`tid`), KEY `ix_tname_tid` (`tname`,`tid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 | +----------+----------------------------------------------------------------------------------------------------- ------------+ 1 row in set (0.11 sec) MariaDB [firstdb]> desc tab_test; +-------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+--------------+------+-----+---------+----------------+ | tid | bigint(20) | NO | PRI | NULL | auto_increment | | tname | varchar(100) | NO | MUL | NULL | | | tmeno | text | NO | | NULL | | +-------+--------------+------+-----+---------+----------------+ 3 rows in set (0.00 sec)
  • 26. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 26 MariaDB : Modify table (ONLINE/OFFLINE) MariaDB [firstdb]> create table t1 (fd1 int, fd2 enum('red', 'green')); Query OK, 0 rows affected (0.00 sec) MariaDB [firstdb]> alter online table t1 modify fd2 enum('red', 'green', 'blue'); Query OK, 0 rows affected (0.01 sec) Records: 0 Duplicates: 0 Warnings: 0 MariaDB [firstdb]> alter online table t1 add fd3 int; ERROR 1915 (HY000): Can't execute the given 'ALTER' command as online  Don't Need : Data Copy to Temp Table – Modify Table Names – Modify Column Names – Modify Number Type Column Length – Modify Table Comment – ENUM Type item add Online Modify Schema : MariaDB 10.0, MySQL 5.6 Over
  • 27. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 27 MariaDB : Modify table (ONLINE/OFFLINE) MariaDB [firstdb]> alter table tab_test add created datetime not null; Query OK, 0 rows affected (0.30 sec) Records: 0 Duplicates: 0 Warnings: 0 MariaDB [firstdb]> alter table tab_test add index ix_created (created); Query OK, 0 rows affected (0.18 sec) Records: 0 Duplicates: 0 Warnings: 0 MariaDB [firstdb]> desc tab_test; +---------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+--------------+------+-----+---------+----------------+ | tid | bigint(20) | NO | PRI | NULL | auto_increment | | tname | varchar(100) | NO | MUL | NULL | | | tmeno | text | NO | | NULL | | | created | datetime | NO | MUL | NULL | | +---------+--------------+------+-----+---------+----------------+ 4 rows in set (0.00 sec)
  • 28. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 28 MariaDB : DML (INSERT) MariaDB [firstdb]> create table tab_test ( -> fd1 int not null, -> fd2 varchar(50), -> primary key(fd1)) engine=innodb; Query OK, 0 rows affected (0.09 sec) MariaDB [firstdb]> insert into tab_test (fd1, fd2) values (1,'Matt'); Query OK, 1 row affected (0.06 sec) MariaDB [firstdb]> insert into tab_test values (2, 'Toto'); Query OK, 1 row affected (0.00 sec) MariaDB [firstdb]> insert into tab_test(fd1, fd2) -> values (3,'Lee') on duplicate key update fd2='Lee'; Query OK, 1 row affected (0.03 sec) MariaDB [firstdb]> insert into tab_test(fd1, fd2) -> values (3, 'SeongUck') on duplicate key update fd2='SeongUck'; Query OK, 2 rows affected (0.04 sec) MariaDB [firstdb]> select * from tab_test; +-----+----------+ | fd1 | fd2 | +-----+----------+ | 1 | Matt | | 2 | Toto | | 3 | SeongUck | +-----+----------+ 3 rows in set (0.00 sec) Option) ON DUPLICATE KEY UPDATE
  • 29. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 29 MariaDB : DML (SELECT) MariaDB [firstdb]> select * from tab_test; +-----+----------+ | fd1 | fd2 | +-----+----------+ | 1 | Matt | | 2 | Toto | | 3 | SeongUck | +-----+----------+ 3 rows in set (0.00 sec) MariaDB [firstdb]> select * from tab_testG; *************************** 1. row *************************** fd1: 1 fd2: Matt *************************** 2. row *************************** fd1: 2 fd2: Toto *************************** 3. row *************************** fd1: 3 fd2: SeongUck 3 rows in set (0.00 sec)
  • 30. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 30 MariaDB : DML (UPDATE) MariaDB [firstdb]> update tab_test set fd2='Brandon' where fd1=1; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 MariaDB [firstdb]> select * from tab_test where fd1=1; +-----+---------+ | fd1 | fd2 | +-----+---------+ | 1 | Brandon | +-----+---------+ 1 row in set (0.06 sec) MariaDB [firstdb]> select * from tab_test where fd1=1; +-----+---------+ | fd1 | fd2 | +-----+---------+ | 1 | Brandon | +-----+---------+ 1 row in set (0.06 sec) MariaDB [firstdb]> update tab_test set fd2='Brandon'; Query OK, 2 rows affected (0.03 sec) Rows matched: 3 Changed: 2 Warnings: 0 MariaDB [firstdb]> select * from tab_test; +-----+---------+ | fd1 | fd2 | +-----+---------+ | 1 | Brandon | | 2 | Brandon | | 3 | Brandon | +-----+---------+ 3 rows in set (0.01 sec) caution
  • 31. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 31 MariaDB : DML (REPLACE) MariaDB [firstdb]> replace tab_test set fd1=1, fd2='Matt'; Query OK, 2 rows affected (0.00 sec) MariaDB [firstdb]> select * from tab_test where fd1=1; +-----+------+ | fd1 | fd2 | +-----+------+ | 1 | Matt | +-----+------+ 1 row in set (0.00 sec)  REPLACE <-> UPDATE – If, PK or Unique key : Recode Delete & Insert – System Over head – Recommended : INSERT INTO … ON DUPLICATE KEY UP-DATE
  • 32. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 32 MariaDB : DML (DELETE) MariaDB [firstdb]> delete from tab_test where fd1=1; Query OK, 0 rows affected (0.00 sec) MariaDB [firstdb]> select * from tab_test; +-----+---------+ | fd1 | fd2 | +-----+---------+ | 2 | Brandon | | 3 | Brandon | +-----+---------+ 2 rows in set (0.00 sec) MariaDB : AUTO Commit
  • 33. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 33 Reference  Presentation : Ryusuke Kajiyama (MySQL Sales Consulting Manager, JAPAC) – State of the Dolphin – MySQL for Oracle DB  Site : MariaDB Knowledge Base  Book : “Real MariaDB”
  • 34. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 34 Q & A
  • 35. Copyright(c)2014 by ora-sysdba. All Page content is property of dbjongjin.lee Blog : http://ora-sysdba.tistory.com/ 35