본문 바로가기

Torment's

MySQL 8.0 JSON JSON ["a"] - JSON ARRAY ["a","b"] - JSON ARRAY ( Ordered collection of values ) ["a", {"b": 20}] - JSON OBJECT ( Having key, value, Unordered set of name/value pairs ) ["a", {"b": [20, 30]}] JSON column is limited to the value of the max_allowed_packet You can manipulate the size of JSON using JSON_STORAGE_SIZE() function MySQL handles strings used in JSON context using the utf8mb4 character set.. 더보기
MySQL 5.7 Online DDL Online DDL With the online DDL Prevent a table from becoming unavailable Adjust the balance between performance and concurrency by LOCK clause Less disk space usage and I/O overhead than table-copy MySQL act as below as possible. Choose the left option if possible rather than the right one. ALGORITHM = INPLACE | COPY LOCK = NONE | SHARED | EXCLUSIVE, DEFAULT TYPE QUERY DML NONE PERMIT PERMIT SHA.. 더보기
MySQL 5.7 SQL Modes sql_mode Default SQL mode NO_ENGINE_SUBSTITUTION From 5.7.5 ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES From 5.7.7 NO_AUTO_CREATE_USER From 5.7.8 NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_IN_DATE Set sql_mode in my.cnf sql-mode="value1,value2" dynamic SET GLOBAL sql_mode = 'modes'; SET SESSION sql_mode = 'modes'; Full List of SQL Modes (based on 5.7.23) Strict SQL mode STRICT_ALL_TABLES - Enab.. 더보기
ORACLE GoldenGate 19.1.0.0.2 Configure MGR process Initialize subdirs GGSCI> create subdirs Configure mgr parameter GGSCI> edit param mgr -- contents start port 7809 PURGEOLDEXTRACTS ./dirdat/* , USECHECKPOINTS, MINKEEPHOURS 48 DOWNREPORTMINUTES 30 LAGREPORTMINUTES 5 LAGINFOMINUTES 10 LAGCRITICALMINUTES 60 SYSLOG NONE -- contents end START MGR process GGSCI> start mgr oracle$ ps -ef | grep mgr 더보기
ORACLE GoldenGate 19.1.0.0.2 Installation Engine 191002_fbo_ggs_Linux_x64_shiphome.zip Create OS user root# useradd -s /bin/bash -g dba ogg passwd ogg cp 191002_fbo_ggs_Linux_x64_shiphome.zip ~ogg/ chown ogg:dba ~ogg/*.zip Edif OGG profile vi ~/.bash_profile ... export ORACLE_BASE=/oracle export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib ... Deploy OGG engine ogg$ mkdir backup mv *.. 더보기
MySQL 5.7.27 Installation Engine mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz Change OS limit root# vi /etc/security/limits.conf mysql soft nproc 1024 mysql hard nproc 1024 mysql soft nofile 10240 mysql hard nofile 10240 User creation root# groupadd mysql useradd -s /bin/bash -g mysql mysql passwd mysql Locate engine file Deploy engine gunzip mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz tar xvf mysql-5.7.27-linux-glibc2.12-x.. 더보기
ORACLE 12.1.0.2.0 Installation ORACLE Engine ORACLE Grid infrastructure 12.1.0.2.0 ORACLE Database 12.1.0.2.0 User creation groupadd dba useradd -s /bin/bash -g dba -d /oragrid oragrid useradd -s /bin/bash -g dba -d /oracle oracle passwd oragrid passwd oracle User Profile oragrid$ export ORACLE_SID=+ASM export ORACLE_BASE=/oragrid export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2 export PATH=$ORACLE_HOME/bin:$PATH oracle$ expo.. 더보기
LINUX 6 VM creation VM SPEC VM NAME : node{n} MEMORY : 4 GB DISK : 200 GB ISO V978757-01 Installation Desktop 더보기
From Haneda airport to Asia From Haneda airportFlight linesKorea - SeoulKorea - GimpoChina - Shanghai ( 2 airports )China - BeijingTaiwan - Taipei ( 2 airports )China - TenjinChina - GwanzhouChina - XianggangMalaysia - KualalumpurSingaporeIndonesia - JakartaVietnam - HanoiThailand - BangkokVietnam - HochiminhPhillipine - Manila KoreaThai Taiwan Vietnam (Hochiminh) Phillipine - Manila 00:00 00:05 00:10 00:20 00:50 01:00 01:.. 더보기
요가 니토리 방문기 요가 니토리 를 방문해 보았습니다.니토리는 일본의 이케아 같은 느낌으로 혼자 생각하고 있습니다 ... 사실 이케아와 비교하기에는 단일 매장 간의 규모차이가 있습니다. 그럼에도 불구하고 비교적 도심 중심가에 위치해 있고, 매장의 크기 자체도 상당히 크다 생각합니다. 굳이 한국의 이마트와 비교하자면 가구 및 생활 잡화만으로 점포 전체를 꾸며놓은 느낌이랄까요. 매장 전경입니다.TV CF 로 자주 보기는 했는데 과연 실제 느낌은 어떨런가 싶네요.기온도 썰렁해진터라 연신 고타츠 광고를 보고 있습니다. 배송서비스에 대한 안내입니다.전번 이케아에서도 찾아보다 발견을 못 하긴 했습니다만 쇼핑몰에서 이케아가 판매하는 가격을 보고 든 생각은 "배송할 생각이 없구나" 였습니다 ... 상대적으로 니토리는 이 정보를 명시하고 .. 더보기