Modification of mysql database basic data table structure

Table structure modification background In general, you should try to design well at the beginning, because once the database design is completed, it is better not to make major changes. However, no one can guarantee that my watch will always be sufficient and may need to be changed at any time. Therefore, we still need t ...

Posted by meanrat on Wed, 01 Apr 2020 18:15:05 -0700

Java data access object pattern

Java design pattern - Data Access Object Pattern The data access object pattern or DAO pattern separates the data access API from advanced business services. DAO patterns typically have the following interfaces and classes. The data provider interface defines standard operations for model objects. The data access object c ...

Posted by spidie on Wed, 01 Apr 2020 17:21:34 -0700

mysql Foundation (1) - linux Installation and configuration of mysql(5.7)

System Convention Download directory of installation files / opt/software Mysql directory installation location: usr/local/mysql Database save location / data/mysql Log saving location: data/logs/mysql Dependency package required for MySql installation Before installing mysql, you'd better install the dependency package ...

Posted by Lauram340 on Wed, 01 Apr 2020 12:00:28 -0700

Oracle 11g single instance silent installation practice record (linux)

oracle 11g single instance silent installation AURHOR: Oracle_Ran Environmental Planning: OS Version : Red Hat Enterprise Linux Server release 6.7 (Santiago) Oracle Version: 11.2.0.4 Please refer to Oracle single instance installation document for operating system environment configuration   1. Upload the Oracle installation media, enter the ...

Posted by jonshutt on Wed, 01 Apr 2020 11:38:21 -0700

MySQL tutorial (18) grouping

MySQL GROUP BY statement The GROUP BY statement groups the result set based on one or more columns. We can use COUNT, SUM, AVG, and other functions on grouped columns. GROUP BY syntax SELECT column_name, function(column_name) FROM table_name WHERE column_name operator value GROUP BY column_name; Example demonstration T ...

Posted by Aaron111 on Wed, 01 Apr 2020 06:09:05 -0700

ORACLE rebuild control file

Due to the loss of control file caused by a power failure, the startup database reported ORA-00205 error: SQL> startup ORACLE instance started. Total System Global Area 419430400 bytes Fixed Size 2925120 bytes Variable Size 285216192 bytes Database Buffers 125829120 bytes Redo Buffers ...

Posted by automatix on Wed, 01 Apr 2020 03:50:01 -0700

django user login design of novice Python

Environmental preparation Front end framework semantic ui Python 3.6.4 pip install django The development tool is pyCharm Data model design The user table contains the following information User name Full name Gender Password Cell-phone number Creation time Update time Is it effective? The user/models.py user model is as follows user is the ...

Posted by plouka on Wed, 01 Apr 2020 00:13:14 -0700

(Oracle) custom call AWR

Oracle - > auto send AWR Report September 21, 2016 09:31 Requirement Description: Daily or regular manual use of AWR reports to check the status of Oracle database is not only time-consuming but also labor-intensive, requiring the use of scripts to automatically collect AWR reports.    Analysis scheme: Script to collect AWR report: $o ...

Posted by DoomyCheese on Tue, 31 Mar 2020 21:18:39 -0700

zstack version upgrade

Summary Today, I saw the installation image of zstack on the official website, and found that it was released on March 24, 2018. Because the local environment is a test environment, and I haven't tried to upgrade zstack, I plan to upgrade zstack Things to know before upgrading First of all, zstack supports two upgrade methods on the official w ...

Posted by onlyican on Tue, 31 Mar 2020 18:00:03 -0700

(4) Global exception capture for Springboot

Original address: http://te-amo.site/user/article/info/ARTICLE20180223085118171 Written in the front Exceptions are inevitable in project development, so it is important for an application to capture and handle exceptions uniformly in the project. It is easy for developers to find the cause of errors, and users ...

Posted by davey10101 on Tue, 31 Mar 2020 17:57:03 -0700