.::: Shrink Disk VMWare for Linux Virtual Machine :::.
1. check before shrink 2. Shrink via Terminaldd if=/dev/zero of=zerofile bs=1M [root@teguhth ~]# dd if=/dev/zero of=zerofile bs=1Mdd: error writing 'zerofile': No space left on device23452+0 records...
View Article.::: Insert data table to another table with different Database in SQL Server...
A. Without Date1. Check select * from teguhth..pembelian 2. create table & insert firstime-- pertama kali insert table select * into dwh..pembelian_clone from teguhth..pembelian 3. insert data...
View Article.::: How to enable CDC (Change Data Capture) in MariaDB, MySQL, MarinaDB in...
correlation https://teguhth.blogspot.com/2024/03/how-to-enable-cdc-change-data-capture.htmlEnable Binary Logging1. check table for sampleSELECT *,@@hostname,@@version FROM teguhth.pembelian 2. Create...
View Article.::: How to enable CDC (Change Data Capture) in PostgreSQL, EDB with user,ip...
correlation https://teguhth.blogspot.com/2024/04/how-to-enable-cdc-change-data-capture.html1. Enable WAL (Write-Ahead Logging): PostgreSQL uses Write-Ahead Logging for durability. Ensure that your...
View Article.::: Query Check user session, current, Client IP in MariaDB MySQL,...
1. MariaDB MySQLselect USER(); 2. PostgreSQL SELECT session_user, CURRENT_USER || '@' || host(inet_client_addr()) AS user_with_ip; SELECT CURRENT_USER || '@' || host(inet_client_addr()) AS...
View Article.::: How to enable CDC (Change Data Capture) in SQL Server Using Trigger with...
Berikut adalah implementasi Change Data Capture (CDC) menggunakan trigger di SQL Server, termasuk contoh tabel, data awal, serta operasi INSERT, UPDATE, dan DELETE.correlation with...
View Article.::: Enable Change Data Capture (CDC) Oracle Database using TRIGGER with...
Berikut adalah langkah-langkah untuk mengaktifkan Change Data Capture (CDC) di Oracle menggunakan Trigger, termasuk contoh tabel, isi tabel, dan implementasi trigger untuk melacak perubahan data:1....
View Article.::: Backup restore Export import expdp impdp from schema to another schema...
correlation https://teguhth.blogspot.com/2024/12/backup-restore-export-import-expdb.html1. backup manual [oracle@teguhth ~]$ expdp aisyah/hanin@localhost:1521/tgh DIRECTORY=DATA_PUMP_DIR...
View Article.::: how to use DBMS_CRYPTO.ENCRYPT dan DBMS_CRYPTO.DECRYPT in Oracle as...
Oke! Saya akan kasih kamu contoh penggunaan DBMS_CRYPTO.ENCRYPT dan DBMS_CRYPTO.DECRYPT pada tabel pembelian. Di sini, kita akan menyimpan kolom credit_card_number dalam bentuk terenkripsi, dan...
View Article.::: Setting up and using the mutt email client in Linux for alert NMS or...
Berikut contoh penggunaan mutt untuk mengirim email dari command line di CentOS 9:A. Setup1. update repositorysudo dnf update -y2. setup muttsudo dnf install mutt -y3. check mutt -v 4. configuration...
View Article.::: Insert data table to another table with different Database in MariaDB :::.
A. Without Date1. Checkselect * from teguhth.pembelian; 2. table after createCREATE TABLE pembelian_clone ( KODE_PEMBELIAN CHAR(10) NOT NULL, KODE_BARANG CHAR(6) NOT NULL, KODE_CUSTOMER...
View Article.::: Insert data table to another table with different Database in...
A. Without Date1. Checkselect * from pembelian; 2. table after createCREATE TABLE pembelian_clone ( KODE_PEMBELIAN CHAR(10) NOT NULL, KODE_BARANG CHAR(6) NOT NULL, KODE_CUSTOMER...
View Article.::: Insert data table to another table with different Database in Oracle...
A. Without Date1. Checkselect * from pembelian; 2. table after createCREATE TABLE pembelian_clone ( KODE_PEMBELIAN CHAR(10) NOT NULL, KODE_BARANG CHAR(6) NOT NULL, KODE_CUSTOMER...
View Article.::: Quary T-SQL to simulation High CPU & High Memory Usage In SQL Server :::.
A. Simulation High CPU 1. Contoh T-SQL untuk Simulasi CPU Tinggi Untuk mensimulasikan CPU utilization tinggi di SQL Server menggunakan T-SQL, kamu bisa menjalankan perintah yang bersifat berat secara...
View Article.::: Quary to simulation High CPU & High Memory Usage In MySQL MariaDB :::.
A. Simulation High CPU 1. Contoh untuk Simulasi CPU Tinggi Untuk mensimulasikan CPU utilization tinggi di SQL Server menggunakan T-SQL, kamu bisa menjalankan perintah yang bersifat berat secara...
View Article.::: Shell Script Kasir cashier with & Without MariaDB :::.
A. Simple Cashier without Database1. Struktur File listbarang.txt2. Script: kasir.sh [root@teguhth program]# cat kasir.sh#!/bin/bashfile_barang="listbarang.txt"# Fungsi untuk menampilkan daftar...
View Article.::: Quary query to simulation High CPU & High Memory Usage In EDB PostgreSQL...
A. Simulation High CPU1. Contoh query untuk Simulasi CPU Tinggi Untuk mensimulasikan CPU utilization tinggi di PostgreSQL menggunakan query, kamu bisa menjalankan perintah yang bersifat berat secara...
View Article.::: Move TempDB to other folder (move SQL Server MDF and LDF Files...
correlation https://teguhth.blogspot.com/2023/06/move-sql-server-mdf-and-ldf-files.html1. check sp_helpdb tempdbUSE tempdb;GOSELECT name AS [Logical Name], physical_name AS [File Path],...
View Article.::: Simulation connection java to MariaDB for Success & Fail using...
1. Download (Platform independent)https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector java -versiondnf install java-17-openjdk-devel -y # CentOS 92. check login...
View Article.::: Simulation connection java to MariaDB for Success & Fail using...
1. Download (Platform independent) MySQL Driverhttps://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jarjava -versiondnf install java-17-openjdk-devel -y #...
View Article