MySQL Full Backup and Recovery Concepts and Actual Operations

MySQL Full Backup and Recovery The main content of this paper Classification of database backups MySQL Full Backup and Recovery MySQL Differential Backup and Recovery MySQL Incremental Backup Concept MySQL backup recovery operation 1. Preface With the rapid development of office automation and e-commerce, enterprises rely more and more on in ...

Posted by The MA on Tue, 07 Jan 2020 17:26:01 -0800

JAVA Architect's Distributed Transaction Solution, Health Project Actual

background In traditional architectures, you can use spring's @Transactional for declarative or programmatic transaction management, but if multiple data source operations are involved in our code, spring's @Transactional transaction management mechanism will fail, so we can consider using a two-phase commit solution.Let's take mysql as an exa ...

Posted by littlehelp on Tue, 07 Jan 2020 09:31:49 -0800

Eclipse connecting to SQLserver mining road

Step 1: configure SQL Server (2016), log in to SQL Server under windows, right-click sa under the security login name, and enter the property change. Then, uncheck the enforce password policy to modify the password. After the password is modified, log out and log in again using the account with the user name sa. Step 2: rig ...

Posted by warydig on Tue, 07 Jan 2020 07:05:05 -0800

MySQL Index and Transaction Details

1. Preface In the previous chapter, we explained the manual compilation and installation process of MySQL and related database operation commands (sql statements). This article will introduce the concept and principle of MySQL index and transaction in detail, and initially understand the concept of MySQL database view, and briefly describe th ...

Posted by dodgyJim on Tue, 07 Jan 2020 02:15:28 -0800

Encapsulation of Java database connection, close, add, delete, modify and query methods (2) implementation of add, delete, modify and query

According to the article "JDBC util tool class of Java database connection, close, add, delete and modify query method encapsulation (1)", it realizes the connection, close, add, delete and modify query tool class. Then we will analyze it further. 1. First, edit an entity class and put it in the entry package accordi ...

Posted by plsanders on Mon, 06 Jan 2020 08:26:20 -0800

Modifying the PostgreSQL field length results in a cached plan must not change result type error

problem There is business feedback that Java applications keep reporting the following errors after modifying the length of a table field, but the fewer errors that follow, the fewer errors that will not occur in 15 minutes. ### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: cached plan must not change result type R ...

Posted by trrobnett on Mon, 06 Jan 2020 04:37:16 -0800

Fuzzy query (LIKE) concat (string join function)

1. If you need to find the records with "three" and "cat" in U ﹣ name, please use and condition Select * from [user] where u name like '% 3%' and u name like '% cat%' If you use select * from [user] where u name like '% 3% cat% Although we can search for "tripods", we can't search for "Zhang ...

Posted by Mr_Mako on Mon, 06 Jan 2020 04:06:35 -0800

oracle splitting comma separated string to realize split

If a string is separated by commas or other symbols, you want to divide it into columns, such as' first field, second field, third field ', Dismantle first field second field third field 1. For '1', '2', '3', '4', '5' (comma outside string): SQL> SELECT COLUMN_VALUE FROM TABLE(SYS.ODCIVARCHAR2LIST('1','2','3','4','5')) ...

Posted by jpmoriarty on Sun, 05 Jan 2020 17:57:22 -0800

Android get mobile pictures

1. overview All file paths in the Andorid system are saved in a database, which is located in external.db under the folder data/data/com.android.providers.media The files table inside has what we need. This table contains all the files of the machine. Next, just select the appropriate sql statement to get what we need. 2. im ...

Posted by jil on Sun, 05 Jan 2020 09:58:43 -0800

Rollback in SQL Server

USE [TestDB] GO /****** Object: Table [dbo].[Person] script date: 11 / 23 / 2008 13:37:48******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Person]( [PersonId] [nchar](18) NOT NULL, [PersonName] [nchar](20) NOT NULL, CONSTRAINT [PK_Person] PRIMARY KEY CLUSTERED ( [PersonId] ASC )WITH (PAD_INDEX = OFF, S ...

Posted by Lodar on Sun, 05 Jan 2020 05:05:58 -0800