1. Logical paging and physical paging
Logical paging: also called memory paging. Logical paging depends on the code written by the programmer. What the database returns is not the paging result, but all the data, which is then passed by the programmer
The code obtains the paging data, takes out all the data, first stores it in memory, ...
Posted by ChetUbetcha on Mon, 25 May 2020 20:53:31 -0700
Find out the Department with more than or equal to 10 people.
On the basis of the previous article, we will examine the use of having. Previous link: http://blog.csdn.net/lovesummerforever/article/details/78806765
1. Function count() + group by.
2. having query.
3. The table structure and the a ...
Oracle tables associated with users
Each user needs to determine the table storage location, which is called table space
In Oracle, table space is divided into two parts: permanent table space and temporary table space
Temporary table space: when using SQL statement operation, the result enters the temporary table space first
Persistent table ...
Posted by tobykw13 on Sun, 24 May 2020 20:14:59 -0700
1. Add header
sgc.PrimaryGrid.SelectionGranularity = SelectionGranularity.Row;//Click to select a line
DevComponents.DotNetBar.SuperGrid.GridColumn gc = null;
gc = new DevComponents.DotNetBar.SuperGrid.GridColumn("ID");
gc = new DevComponents.DotNetBar.Su ...
Posted by Cherry on Thu, 21 May 2020 07:17:50 -0700
Today, a question suddenly comes to mind. Is the DELETE, DROP, TRUNCATE command the same as the binlog in ROW format? It's not the same to remember vaguely, but it's not sure; so let's take a look at the experiment.
1. View binlog settings
mysql> show variables like 'binlog_format';
| Vari ...
Posted by rharter on Wed, 20 May 2020 08:33:53 -0700
In the last article, you basically completed the introductory tutorial for EF Core.Starting with this article, we'll try to explore more ORM frameworks on the.net core platform.So let's start with NHibernate.
1. Introduction to NHibernate
NHibernate is the C#version of Hibernate, known as the pillar of ORM in Java (at least once).Hib ...
Posted by Josh18657 on Tue, 19 May 2020 18:04:34 -0700
I believe that many small partners have seen the response time and real-time display function of url interface in some commercial products. It can be understood that the slow query of web interface and the slow query of sql have the same magic, but if you want to do it, you have no way to start and don't know how to realize this function, so to ...
In the previous blog post, the database desensitization scenario and scheme have been completely introduced. The sharding JDBC open source project from Jingdong Digital Technology Co., Ltd. has realized this function transparently through the way of data source intermediate agent. However, although the function has been realized, ...
Posted by rocksolidsr on Mon, 18 May 2020 20:31:28 -0700
1. One way one to many configuration
One way one to many is configured with the @ OneToMany tag. One party has a Set attribute associated with multiple parties. A Set can be a List or a Set, but the difference is that a List is ordered and a Set is not repeated.
Corresponding to the configuration of @ OneToMany on one side:
* One way one ...
Posted by scott.stephan on Mon, 18 May 2020 10:53:00 -0700
Use Mybatis on its own
Mybatis Execution Process
Use Mybatis on its own
This article focuses on analyzing the Mybatis framework's processes for executing SQL. Recalling that we used the Mybatis semi-automation framework on our own, we needed to follow t ...
Posted by BradZynda on Fri, 15 May 2020 17:17:44 -0700