mariadb : sys_exec : trigger call shell command Hint

# yum install mariadb-devel # cd  # wget https://github.com/mysqludf/lib_mysqludf_sys/archive/master.zip # mv master.zip lib_mysqludf_sys-master.zip # unzip lib_mysqludf_sys-master.zip # mv lib_mysqludf_sys-master /usr/include/mysql/   # cd /usr/include/mysql/lib_mysqludf_sys-master/ # gcc -m64 -fPIC -Wall -I/usr/include/mysql/server -I. -I/usr/include/mysql/server/private  -shared lib_mysqludf_sys.c -o /usr/lib64/mariadb/plugin/lib_mysqludf_sys.so   # ll /usr/lib64/mariadb/plugin/lib_mysqludf_sys.so cat /usr/include/mysql/lib_mysqludf_sys-master/lib_mysqludf_sys.sql DROP FUNCTION IF EXISTS lib_mysqludf_sys_info; DROP FUNCTION IF EXISTS sys_get; DROP FUNCTION IF […]

Read More

oracle 11g : sga memory setup Hint

SQL> show sga ;   Total System Global Area 6547296256 bytes Fixed Size     2213856 bytes Variable Size 4429187104 bytes Database Buffers 2013265920 bytes Redo Buffers   102629376 bytes SQL>  show PARAMETERs memory ;   NAME      TYPE VALUE ------------------------------------ ----------- ------------------------------ hi_shared_memory_address      integer 0 memory_max_target      big integer 6272M […]

Read More