Oracle12c? Installation 1 - Preparation

1. Suggest users and groups su root  #Switch to root groupadd oinstall  #Create user group oinstall groupadd dba  #Create user group dba useradd -g oinstall -g dba -m oracle  #Create oracle users and join oinstall and dba user groups passwd oracle  #Set the login password of the user oracle, do not set the password, unable to login i ...

Posted by thomasd1 on Fri, 01 May 2020 13:39:46 +0200

Using SQLAlchemy in flask

In flask, many people prefer to operate the database through SQLAlchemy. In this case, it is recommended to use package instead of module to split the data model into a separate module. Such an approach is not necessary, but more reasonable. Flask-SQLAlchemy Extension Because SQLAlchemy is a general database abstracti ...

Posted by rahulephp on Fri, 01 May 2020 09:57:19 +0200

Index analysis of union primary key (Union index) in SQL Server (MySql)

Recently, someone asked this question in the interview. Before that, they had not studied the specific use logic of the joint index, consulted several articles, and came to some conclusions after testing Test environment: SQL Server 2008 R2 The test results are similar to the query mechanism of MySql joint index. We can think that MySql is the ...

Posted by kathas on Fri, 01 May 2020 08:02:06 +0200

java learning notes

Getting to know JDBC 1, JDBC concept jdbc English full name: java database connectivity is a set of specifications for Java to access database, which can be understood as a set of classes and interfaces provided by java to connect database The relationship between jdbc and database driver:    2, jdbc easy to use Usage process: (the driver jar ...

Posted by nmreddy on Fri, 01 May 2020 07:44:47 +0200

Django implementation of combined search

1, Implementation method 1. Pure template language implementation 2. Implementation of custom simpletag (in essence, it simplifies the judgment of pure template language) 2, Fundamentals The principle is to match the url filter conditions through django routing system, take the filter conditions as the database query results, and return the ...

Posted by JasperBosch on Thu, 30 Apr 2020 11:34:20 +0200

Issue 03: column non empty and self increasing

There are many attributes of fields in MySQL, and the impact on performance can be large or small, so it's necessary to explore the attributes. 1, NULL / NOT NULL For external programs, NULL is an unknown, imprecise, and indescribable value. Therefore, it is clearly stipulated in the development specifications of many companies that it must be ...

Posted by dayo on Wed, 29 Apr 2020 10:59:26 +0200

Case analysis: python operation database project

According to an example of a project, this paper records and shares the process and relevant settings of python's displaying the content of database to the program interface, and explores the usage of python's operating database. Main contents to be shared: 1. Displays the database contents. 2. Modify database content. 3. The table control spec ...

Posted by andrewgk on Wed, 29 Apr 2020 08:50:53 +0200

pg12 new features - monitoring database activity

PostgreSQL can report the progress of some commands during command execution. Currently, the commands that support progress reporting are CREATE INDEX, VACUUM and CLUSTER. This range may be expanded in the future. CREATE INDEX Whenever an index is created or REINDEX is run, the PG > stat > progress > create > index view will contain ...

Posted by cloudhybrid on Mon, 27 Apr 2020 16:04:04 +0200

Let's take a bird's-eye view of the concurrency framework in Java!

Author: Tang Youhua https://dzone.com/articles/a-birds-eye-view-on-java-concurrency-frameworks-1 1. Why to write this article When NoSQL became popular a few years ago, like other teams, our team was keen on exciting new things and planned to replace an application's database. However, when we go deep into details, we think of what a wise man ...

Posted by Tatara on Mon, 27 Apr 2020 09:07:29 +0200

CentOS 7.4 installation and deployment openstack [Liberty version]

Next blog CentOS 7.4 installation and deployment openstack [Liberty version] (I) , this part continues to cover the following parts 1, Add block device storage service 1. Service Description: OpenStack block storage service provides block storage for instances. The allocation and consumption of storage is determined by block storage driv ...

Posted by edikasim81 on Mon, 27 Apr 2020 07:21:58 +0200