Loop over PostgreSQL Tables
The following script loops over some PostgreSQL tables and grabs row counts
The following script loops over some PostgreSQL tables and grabs row counts
# Mount a disk in OCI The following command mounts a disk in Oracle Cloud Infrastructure (OCI): https://docs.oracle.com/en-us/iaas/Content/Block/Tasks/connectingtoavolume_topic-Connecting_to_iSCSIAttached_Volumes.htm ## Mounting commands via iscsiadm The following commands are found in the…
The following code is used to move the PostgreSQL data directory to a new directory.
The following tables were populated by Davinci Resolve after 2 sample projects: schema_name table_name row_count public database_upgrade_log 127 public Gallery::GyMemView_Gallery::GyStillRef 78 public Gallery::GyStillRef 78 public Sm2TiItem 9 public Sm2TiItem_Sm2TiTrack 9…
The following script is used to run sysbench on MySQL
Installing EPEL and the Code Ready Builder on Oracle Linux 8 / Oracle Linux 9 After working with Oracle Linux for a while, I had to install EPEL and the…
Firstly, DataGrip provides a more robust and user-friendly interface tailored specifically for SQL developers. It offers advanced code completion, on-the-fly analysis, and quick-fixes, which can significantly reduce the time spent…
import psycopg2 import time # Database connection details db_config = { 'dbname': 'users', # Name of the database 'user': 'your_username', # Replace with your PostgreSQL username 'password': 'your_password', # Replace…
Streaming1 In PostgreSQL, streaming replication is a process that allows data from a primary server (also called the master) to be replicated in real-time to one or more secondary servers…
classDiagram direction BT class cache { objectid _id object asset string asset.asset_name string container_creation string department object history_list string history_list.created_by string history_list.creation_date string history_list.is_protected string history_list.is_published string history_list.is_removable string history_list.is_stable…