.::: Check ETA (Estimated Time of Arrival) restore status include All...
correlation Check ETA (Estimated Time of Arrival) restore status MariaDB MarinaDB on Persent (%) Check ETA (Estimated Time of Arrival) restore status All Database / Reinisiasi MariaDB MarinaDB on...
View Article.::: Store Procedure: Enlarge Table & Database MariaDB to 1,000,000 Rows :::.
correlation with https://teguhth.blogspot.com/2019/04/study-kasus-praktis-belajar-query-mysql.html1. table barang ALTER TABLE barang MODIFY KODE_BARANG CHAR(10) NOT NULL;DELIMITER //CREATE PROCEDURE...
View Article.::: Shell Script to Grouping Year, Month, Day, Time, Date for Archive,...
correlation https://teguhth.blogspot.com/2025/11/grouping-year-month-day-time-date-for.html1. run check all hardcode 2. run check manual 3. script check hardcode[root@teguhth-all countx]# cat...
View Article.::: Script Scheduling crontab SCP Linux to other server like Backup Daily...
1. enable ssh-key hostname -I | awk '{print $1}'ssh-keygen -t rsassh-copy-id -p 22 root@10.10.10.9 2. manual commandscp /data/sample/* root@10.10.10.9:/dummy/scp -P22 /data/sample/*...
View Article.::: Bat Script sftp windows to Server Linux with Scheduler & password using...
correlation https://teguhth.blogspot.com/2026/09/bat-script-sftp-windows-to-server-linux.html1. create sshkey without passwordC:\Windows\System32>type %USERPROFILE%\.ssh\id_rsa.pub | ssh...
View Article.::: Bat Script sftp windows to Server Linux with Scheduler & password :::.
1. Just sftp @echo offsetlocalset SFTP_SERVER=10.10.10.90set SFTP_USER=ftpaccessset SFTP_PASSWORD=xxxset REMOTE_DIR=/media/backupset LOCAL_DIR=D:\tempset...
View Article.::: Simulation Blocking,lock, Locking in PostgreSQL EDB with Advanced...
correlation metadata mariadb https://teguhth.blogspot.com/2026/07/how-to-simulation-locking-with-waiting.htmlcorrelation...
View Article.::: PostgreSQL 18 Access via Pgpool-II – SCRAM Authentication with...
1. login as root echo 'rahasia'> /root/.pgpoolkeychmod 600 /root/.pgpoolkey 2. create sample user n passwordcreate user adminaes ;ALTER ROLE adminaes SUPERUSER CREATEDB CREATEROLE...
View Article.::: Check ETA (Estimated Time of Arrival) restore status All Database /...
correlation with https://teguhth.blogspot.com/2026/07/check-eta-estimated-time-of-arrival.html1. check dbsize all maria (only folder maria)du -sch -- "/var/lib/mysql"/*/ | tail -1 | awk '{print...
View Article.::: Testing Routing Balancing PostgreSQL EDB using PGPool-II Write & Read :::.
A. queri normal select normalSELECT CASE inet_server_addr() WHEN '10.10.10.31'::inet THEN 'teguhth01' WHEN '10.10.10.32'::inet THEN 'teguhth02' WHEN '10.10.10.33'::inet THEN...
View Article.::: Change http to https to Activate Clipboard Apache Guacamole in Almalinux...
continue for https://teguhth.blogspot.com/2026/08/install-apache-guacamole-in-almalinux.html1. install nginx & Buat sertifikat SSLdnf install nginx openssl -ymkdir -p /etc/nginx/sslopenssl req...
View Article.::: Install Apache Guacamole in Almalinux 10 / Redhat 10 for remote ssh/Rdp...
1. Pastikan AlmaLinux 10Saya sarankan minimal AlmaLinux 10.2 karena 10.2 sudah dirilis 26 Mei 2026.cat /etc/redhat-release grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2- | tr -d '"'2. Aktifkan...
View Article.::: Test Pgpool-II Monitor PostgreSQL Routing to Master or Slave...
1. PostgreSQL Connectionchmod 755 /opt/lucee/bin/pgpool_connection.shchmod 755 /opt/lucee/bin/pgpool_nodes.shchmod 755 /opt/lucee/bin/pgpool_replication.sh[root@teguhth-all ROOT]# cat...
View Article.::: Install & Configure PgBouncer in Centos 9 Almalinux 9 for PostgreSQL 18...
1. Install PgBouncerdnf install -y pgbouncerrpm -qa | grep pgbouncer[root@teguhth-all ~]# rpm -qa | grep pgbouncerpgbouncer-1.25.2-43PGDG.rhel9.8.x86_64[root@teguhth-all ~]# pgbouncer...
View Article.::: Install Pgpool-II for load balancer PostgreSQL EDB like Maxscale for...
1. labip master 10.10.10.31port 5432user pool access = userpgpool passwd pool access = adminstatus Masterip slave 10.10.10.33port 5432user pool access = userpgpool passwd pool access = adminstatus...
View Article.::: Store Procedure backup database & database dmart or other in MSSQL SQL...
1. check store procedureSELECT db_name() as dbname,name AS ProcedureName, SCHEMA_NAME(schema_id) AS SchemaName, create_date, modify_dateFROM sys.proceduresORDER BY name; -- or...
View Article.::: Convert pgaudit & pgauditlogtofile log insert into table pgauditfile in...
correlation https://teguhth.blogspot.com/2024/02/enable-pgaudit-pgauditlogtofile-in.htmlhttps://teguhth.blogspot.com/2024/04/convert-pgaudit-pgauditlogtofile-log.html1. config postgresql.conf &...
View Article.::: Testing & Check Primary key & autoincremental status in MariaDB :::.
https://teguhth.blogspot.com/2024/10/sample-database-erp-enterprise-resource.html1. sample table customers show create table customers\G 2. check table customers select * from customers; 3. check...
View Article.::: Check xml_deadlock_report offline & online :::.
correlation deadlock https://teguhth.blogspot.com/2026/03/simalation-locking-blocking-deadlock-in.htmlhttps://teguhth.blogspot.com/2021/09/sql-server-how-to-simulate-and-catch.html1. check targent...
View Article.::: Test MariaDB MaxScale Routing Hint Routing to Master or Slave Using...
correlation https://teguhth.blogspot.com/2025/01/test-insert-select-data-using-maxscale.html1. info server testing 2. diagram 3. create datasource 4. run...
View Article