JIYIK CN >

Current Location:Home > Learning > DATABASE >

All

Check the Postgres version

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article shows how to check the version of Postgres. Checking Postgres Version in Windows C: \ Users \ Admin psql -- version psql ( PostgreSQL ) 14.0 C : \ Users \ Admin postgres -- version postgres ( PostgreSQL ) 14.0 The version shown...

Full

Importing CSV file data into a table in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

A CSV file is .csv a text file with a .CSV extension and the contents are separated by commas. This file can achieve different goals, such as loading data into database tables and importing data into Google and Excel spreadsheets. When work...

Full

Importing SQL files in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article discusses how to import SQL files in PostgreSQL. psql Import SQL files in PostgreSQL using command To import the SQL file, run the following command: psql - U dbuser - h localhost databasename filename. sql If the file is locat...

Full

Changing User Password in Postgres

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

In this article, we will change the user password in Postgres. Changing User Passwords in Postgres Using Windows Open from the menu or search bar SQL Shell (psql) . Connect to the default database using the default port. If you set it up wi...

Full

Creating a Schema in PostgreSQL

Publish Date:2025/04/27 Author:JIYIK Category:PostgreSQL

This article will discuss creating schemas in PostgreSQL using SQL queries or psql. CREATE SCHEMA Use the statement to create a pattern in SQL query To create a new schema, execute the following command. CREATE SCHEMA test_schema To view al...

Full

MongoDB query nested objects

Publish Date:2025/04/27 Author:JIYIK Category:MongoDB

In this article, we will learn how to query nested objects in MongoDB. Querying nested objects in MongoDB MongoDB provides read operations to retrieve embedded or nested data from a collection or to search for embedded or nested documents....

Full

How to enable MySQL slow query log

Publish Date:2025/04/26 Author:JIYIK Category:MySQL

Unusually slow queries are one of the most common MySQL performance issues. Queries that perform acceptably in development may falter under the pressure of a production workload. Large applications may run hundreds of unique database querie...

Full

Switch MySQL to listen on TCP

Publish Date:2025/04/26 Author:JIYIK Category:MySQL

By default, MySQL only allows localhost connections from addresses. The configuration file is usually in /etc/mysql/my.cnf We need to bind-address comment out the line so it looks like this: - #bind-address = 127.0.0.1 + bind-address = 127....

Full

How to support full Unicode in MySQL database

Publish Date:2025/04/26 Author:JIYIK Category:MySQL

Are you using MySQL's utf8 character set in your database ? In this article, I'll explain why you should switch to utf8mb4 , and how to do it. UTF-8 The UTF-8 encoding can represent every symbol in the Unicode character set, ranging from U+...

Full

MySQL switch from utf8 to utf8mb4

Publish Date:2025/04/26 Author:JIYIK Category:MySQL

utf8mb4 Fortunately, MySQL 5.5.3 (released in early 2010) introduced a utf8mb4 new encoding called which maps to proper UTF-8 and thus fully supports Unicode, including astral symbols. Step 1: Create a backup Create a backup of all database...

Full

How to back up a Kubernetes MySQL Operator cluster

Publish Date:2025/04/26 Author:JIYIK Category:MySQL

Oracle's MySQL Operator for Kubernetes is a convenient way to automatically configure a MySQL database within a cluster. One of the key features of the Operator is the integrated automatic backup support for increased resiliency. The backup...

Full

How to run MySQL on Kubernetes using Oracle's Operator

Publish Date:2025/04/26 Author:JIYIK Category:MySQL

Kubernetes support for stateful applications has matured considerably over the past few years. It is now possible to co-locate your database within your cluster, allowing it to benefit from the same scalability as your other workloads. MySQ...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial