Tag:batch

  • Installing ansible under CentOS

    Time:2021-12-25

    ansible Ansible is a new automatic operation and maintenance tool. It is developed based on python, integrates the advantages of many operation and maintenance tools (puppet, Cfengine, chef, func, fabric), and realizes the functions of batch system configuration, batch program deployment, batch operation commands and so on. Ansible works based on modules and has no […]

  • R language | subgroup analysis forest map (based on HR results)

    Time:2021-12-23

    Welcome to my official account.A diligent research cat Subgroup analysis forest map This issue introduces the use ofMaking subgroup analysis three line table and its forest map in R language。 Note: due to the failure to find a package or related code for subgroup analysis, the code in this issue is written by Xiaobian according […]

  • Online text string batch replacement tool

    Time:2021-12-21

    Online text string batch replacement tool Online text string batch replacement tool The tool supports randomly mixing two data items to generate a data item list in batch. After entering two data items respectively, set the generated quantity and data item separator, and click the generate button to complete the random mixing and splicing of […]

  • High concurrency scenario – Request merging (II) uncover the secret of hystrixcollapser – asynchronous implementation using queue and thread pool

    Time:2021-12-17

    background In the high concurrency scenario of the Internet, there will be many requests, but there are few database connection pools. In other words, if it is necessary to reduce CPU pressure and processing logic, it is necessary to change a single query to batch query multiple and then return.For example, in Alipay, query “personal […]

  • Comparison of several batch insertion efficiencies of [mybatis]

    Time:2021-12-17

    There are three main methods for batch data processing: Execute a single insert statement repeatedly foreachSplicingsql Batch processing 1、 Preliminary preparation be based onSpring Boot + MysqlAt the same time, in order to omitget/set, usedlombok, seepom.xml。 1.1 table structure idUse database self augmentation. DROP TABLE IF EXISTS `user_info_batch`; CREATE TABLE `user_info_batch` ( `id` bigint(11) unsigned […]

  • Complex operation of mybatis

    Time:2021-12-15

    Recently, I have encountered some queries and implementations that I haven’t encountered before in the project. I hope they can help you in your work. 1. JSON array query for mysql5 7 and above, and the database field type is JSON. Query JSON array elements with subscript 0 (batch)json_extract SELECT d.id, d.name, d.name as equipment_name, […]

  • Method for removing watermark from Python batch pictures

    Time:2021-12-14

    In ordinary work, sometimes in order to use some network materials, but these materials are often watermarked. If we don’t understand PS, we can’t remove the watermark, or we can’t remove the watermark in batch. These will affect our work efficiency. Today, let’s use Python + OpenCV to remove the watermark and remove the libraries […]

  • Mybatis batch insert automatically generates primary key and date

    Time:2021-12-12

    I checked a lot about mybatis plus batch insertion on the Internet. Since most of them use self increasing primary keys, there is no need to automatically generate UUID primary keys. Most of the codes on the Internet are <insert id=”insertBatch” parameterType=”java.util.List”> insert into user (id, name, age, create_date, create_time, create_date_time) values <foreach collection=”list” item=”item” […]

  • Efficiency comparison between mongodb and MySQL

    Time:2021-12-11

    This article mainly introduces the use of mongodb’s bulkwrite () method by comparing batch and non batch operations. Incidentally, it is compared with relational database mysql to compare the efficiency of these two different types of databases. If you just want to learn how to use bulkwrite (), just look at the first part. Test […]

  • Tpextbuilder – table

    Time:2021-12-10

    Series articles: Background development framework based on (tp5.1, tp6.0) (design ideas refer to laravel admin) Tpextbuilder – hasbuilder (encapsulating page) Tpextbuilder – form Tpextbuilder – Search Tpextbuilder – table Tpextbuilder – selectpage drop-down data Tpextbuilder – left tree navigation Tpextbuilder – displays [component] – field Tpextbuilder – displays [component] – when form linkage Tpextbuilder – […]

  • Jave Hbase API

    Time:2021-12-8

    Correspondence between HBase API class and data model       HBaseAdmin   Class: org.apache.hadoop.hbase.client.hbaseadmin Function: it provides an interface to manage the table information of HBase database. The methods it provides include: creating tables and deleting tables   In addition to tables, list table items, make tables valid or invalid, and add or delete […]

  • Tpextbuilder – displays [component] – field

    Time:2021-12-7

    Series articles: Background development framework based on (tp5.1, tp6.0) (design ideas refer to laravel admin) Tpextbuilder – hasbuilder (encapsulating page) Tpextbuilder – form Tpextbuilder – Search Tpextbuilder – table Tpextbuilder – selectpage drop-down data Tpextbuilder – left tree navigation Tpextbuilder – displays [component] – field Tpextbuilder – displays [component] – when form linkage Tpextbuilder – […]