Oracle - Summary of the use of Mybatis and sql optimization

preface Before writing, this blog will be updated constantly to sort out and summarize the sql optimization problems in the development work (actual combat process); Because the author works in the big data Department, the amount of data is basically very large, so he pays more attention to the performance under big data (but for some oper ...

Posted by AustinP on Wed, 11 May 2022 13:43:15 +0300

Development oriented memory debugging artifact, how to use ASAN to detect memory leakage, stack overflow and other problems

The original content of GreatSQL community cannot be used without authorization. Please contact Xiaobian and indicate the source for reprint.[toc]introduceFirst of all, let's introduce it Sanitizer The project is an open source project produced by Google. The project includes memory and thread error detection tools such as ASAN, LSAN, MSAN and ...

Posted by realnsleo on Wed, 11 May 2022 07:47:07 +0300

SQL optimization case: implicit conversion

MySQL is one of the most popular relational databases at present. With the rapid development of the Internet, MySQL database is widely used in the production systems of e-commerce, finance and many other industries. In the actual development, operation and maintenance process, we must often encounter the problem of slow SQL. A SQL with poor per ...

Posted by volant on Tue, 10 May 2022 09:16:01 +0300

SQL optimization case: OR condition optimization

Following is an introduction to the previous article, SQL Optimization Case (1): Implicit Conversion, which focuses on OR optimization. In MySQL, the same query condition, if the OR s are transformed in the SQL statement, the results of the query will be different. In many complex cases, poor index selection may be a potential performance hazar ...

Posted by dewbie on Mon, 09 May 2022 19:28:01 +0300

Method of Sql Server Deadlock analysis

environment The Sql Server database is deadlocked. (non emergency or emergency) method 1. RML Utilities tool+Trace File capture deadlock 2. DBCC Capture deadlock 3. Profiler Capture deadlock 4. Trace File capture deadlock(It's time-consuming to execute offline) 5. Automatic deployment Profiler Capture deadlock 6. Service Broker Event n ...

Posted by ClevaTreva on Mon, 09 May 2022 07:07:31 +0300

SQL language multi table query (oracle)

multi-table query When the queried data does not come from one table, you need to use multi table join to complete the query. Query the associated data according to the relationship between the data in different tables. 1, Cartesian product In mathematics, the Cartesian product of two sets X and y, also known as the direct product, repr ...

Posted by grafnic1732 on Sun, 08 May 2022 20:34:12 +0300

SQL basic language collation 2

029 SQL basic query and data update – workbench: Software – query data: select //Query the name of fruit with a price of 10.2 yuan from the fruits table select f_name(,f_price Better look) from fruits where f_price=10.2; – query with in keyword: discrete value //Query s from the fruits table_ Records with IDS 101 an ...

Posted by spamyboy on Sat, 07 May 2022 23:01:58 +0300

About SSM integration, it's enough to read this one ~ (nanny level hand-in-hand tutorial)

SSM (Spring + spring MVC + MyBatis) framework set is integrated by spring and MyBatis (spring MVC is part of spring), which is often used as the framework of web projects with simple data source.          catalogue 1, Create a web project based on maven Management: 1.1 complete the project structure ...

Posted by xxreenaxx1 on Thu, 05 May 2022 12:34:15 +0300

Database Experiment - Triggers and Database Security

📧 Triggers and database security Tip: The general content of this article: This experiment is from topics 7 to 10 of "Database Principles and Technologies" of Tsinghua University Press. 2. P396 on-line experimental questions 8. 3. P396 computer experiment questions 9 topics. Preface 😁 Again, the old saying goes: the basic pr ...

Posted by qazwsx on Wed, 04 May 2022 20:06:17 +0300

HiveSql interview question: continuous check-in and receive gold coins [Baidu - difficult questions - general solution]

catalogue 0 problem description 1 data preparation 2 problem analysis 3 Summary 0 problem description User behavior log table tb_user_log iduidartical_idin_timeout_timesign_in110102021-07-07 10:00:002021-07-07 10:00:091210102021-07-08 10:00:002021-07-08 10:00:091310102021-07-09 10:00:002021-07-09 10:00:42141010 2021-07-10 10:00:00 2021- ...

Posted by erika_web on Tue, 03 May 2022 21:59:16 +0300