When using Tomcat9.0, spring5.0 framework original factory class decoupling, druid-1.0.9jar version, JDK9, MSQL8 version database to simulate web page login case, an error message that the druid.properties file cannot be found appears, the details are as follows [Case code posted at the end]; Normally speaking, the configuration file is placed under the src directory, and […]
Tag: dex
[Python Ocean Topic Thirty-Eight] Ocean Index Drawing Method–Line Chart Style 2
[Python Ocean Topic 38] Ocean Index Drawing Method – Line Chart Style 2 Data: AMO_index Image display: picture Recommended in the past picture [Python Ocean Topic 1] View the attributes of the data nc file and output the attributes to the txt file [Python Ocean Topic 2] Read the water depth nc file and read […]
10 Index optimization and query optimization
Article directory Index failure case Related query optimization For left outer join For inner join JOIN statement principle Simple nested loop connection SNLJ Indexed nested loop join INLJ Block nested loop join BNLJ Hash Join subquery optimization Sorting optimization filesort algorithm: two-way sorting and single-way sorting Group optimization Pagination optimization Prioritize covering indexes Index push […]
.NET high-performance development-bitmap index
First, let’s assume such a business scenario. Everyone should be familiar with air tickets. When purchasing air tickets, you first select your desired departure and arrival city and time, then select the cabin class (business class, economy class), and click Query. A flight list will appear. If you click on a flight at will, you […]
8 Index 2 in mysql
1. Types of indexes 1. B + tree index 1.**Each index is a B + tree**, the secondary index does not contain all the data of the row records 2. In addition to the key value, the leaf node also contains a bookmark in the index row of each leaf node. 3.B+ balanced tree is […]
Building a multi-agent RAG using Llama index
Source: DeepHub IMBA This article is about 3,000 words, and it is recommended to read it for 6 minutes. This article introduces you to using Llama index to build a multi-agent RAG. Retrieval-augmented generation (RAG) has become a powerful technique to enhance the capabilities of large language models (LLM). By retrieving relevant information from knowledge […]
PG creates index and reports out of memory error
qs=> show shared_buffers; shared_buffers —————- 12GB (1 line record) qs=> show work_mem; work_mem ———- 4MB (1 line record) qs=> show maintenance_work_mem; maintenance_work_mem ———————– 8GB (1 line record) qs=> CREATE INDEX ACT_IDX_BYTEARRAY_NAME ON qs.ACT_GE_BYTEARRAY USING btree (NAME_); Error: Out of memory Description: Failed when requesting size 9 in memory context “TupleSort main”. Background: Parallel Worker Processes […]
MySQL InnoDB storage engine uses B+ tree for indexing instead of B tree
Table of Contents MySQL InnoDB storage engine uses B + tree for indexing instead of B tree Introduction to B-Tree and B+Tree Why Choose B+Tree Application scenarios of B + tree Summarize Sample code MySQL InnoDB storage engine uses B + tree for indexing instead of B tree MySQL is a commonly used relational database […]
Mybatis integrates pagehelper and reports an error ClassNotFoundException: org.mybatis.logging.LoggerFactory
Table of Contents Report an error reason Solution Error report In order to introduce pagehelper, the following code is added to the pom.xml file <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.1.3</version> </dependency> As a result, the error when starting the soringboot project is as follows: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘testMybatisController’: Unsatisfied dependency expressed through field ‘salePickGoodsInfoMapper’; […]
How to obtain the detection index APs of small targets? ——Dataset Yolo format generates json file
It’s such a simple thing, but I worked on it for several days for no reason. I was very depressed, so I just started without saying much. First, you must have a data set in YoLo format. Starting from the simplest, you need image data and corresponding txt tag data of the yolo type. (The […]