• Huawei cloud database gaussdb (for Cassandra) unveils phase II: troubleshooting experience of abnormal memory growth


    Summary:Huawei cloud database gaussdb (for Cassandra) is a cloud native NoSQL database based on the separation architecture of computing and storage and compatible with Cassandra ecology; It relies on shared storage pool to achieve strong consistency and ensure the safety and reliability of data. This article is shared from Huawei cloud community《Huawei cloud database gaussdb […]

  • Loser! Redis wasted so much memory!


    As an in memory database, the size of memory space is very important for redis. More memory means more data will be stored. But I don’t know if you have ever encountered such a situation. Obviously, the space is very large, but the use of memory is not very ideal. Why did this happen? In […]

  • 15 minutes! A text helps Xiaobai understand the memory of the operating system


    preface Operating system is a difficult course to learn. At the same time, operating system knowledge is very important for developers. I believe that when you learn the operating system, there are too many abstract words and concepts that are difficult to understand, which directly dissuade us. Even if you learn the operating system with […]

  • Viewpager + fragment to slide the navigation bar


    This example shares the specific code of viewpager + fragment to realize the sideslip navigation bar for your reference. The specific contents are as follows This paper mainly arranges and records Originally, I wanted to use GIF pictures. Here, I’ll replace them with pictures for the time being: Activity: package com.example.administrator.android006; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; […]

  • Redis memory fragmentation


    catalogue 1、 What is memory fragmentation 2、 How to judge whether there are memory fragments 3、 How is memory fragmentation formed 3.1 jemalloc allocation mechanism leads to 3.2 modification and deletion of data results in 4、 How to clean up memory fragments 4.1 restart 4.2 redis memory fragmentation automatic cleaning mechanism 5、 Analogy with reality […]

  • How to deal with the problem of MySQL | space fragmentation


    1、 Sharing of serious cases of space fragmentation 1.1 problem description The disk space of the instance has an obvious upward trend in recent one month, mainly due to the large storage of individual log tables and the space fragmentation of some tables. 1.2 treatment process 1. Through daily inspection and monitoring, it is found […]

  • Linux kernel vs memory fragmentation (Part 2)


    fromLinux kernel vs memory fragmentationWe can see that grouping according to the migration type only delays the memory fragmentation, but does not fundamentally solve it. Therefore, as time goes on, when there are too many memory fragmentation to meet the continuous physical memory requirements, it will cause performance problems. Therefore, it is not enough to […]

  • Huawei cloud database gaussdb (for Cassandra) unveils phase 2: troubleshooting experience of abnormal memory growth


    Abstract:The abnormal growth of memory is a fatal problem for the program, because it may trigger oom, process abnormal downtime, business interruption and other results, so the reasonable planning and control of memory is particularly important. This article is shared from Huawei cloud community《Huawei cloud database gaussdb (for Cassandra) unveils phase 2: troubleshooting experience of […]

  • A memory leak analysis of a. Net foreign trade web station


    1: Background 1. Tell a story Last Thursday, a friend of mine, Jia Wx, inquired that there was a certain degree of memory leakage in his program, and it could not be recycled by GC. Finally, the machine ran out of memory, which was very embarrassing. After communication, this friend’s ability is still very good. […]

  • CSS3 custom scroll bar style: WebKit scroll bar


    The default scroll bar style in windows is very ugly, and there are many places in the project where the scroll bar will be displayed, so I turn back to CSS3, and I really can realize the custom scroll bar style without plug-ins, which is just what I want The code is as follows: /The […]

  • Puppeter series step pit log – 1 – batch screenshot turns white


    In ordinary times, the most common use of puppeter is screenshots (daily batch automatic screenshots). My goal is the homepage of some stores in xbao. This time, the problem is that in some wireless terminals, the merchant’s page is very long, even more than 60000-100000 pixels. Often appear white screen or incomplete phenomenon. The first […]

  • SQL Server index defragmentation


    There are four methods of index defragmentation 1) Delete index and rebuild 2) Using drop_ The existing statement rebuilds the index 3) Use the alter index rebuild statement to rebuild the index 4) Reorganizing indexes using alter index reorganize –1. View fragments SELECT DB_NAME() AS DatbaseName , SCHEMA_NAME(o.Schema_ID) AS SchemaName , OBJECT_NAME(s.[object_id]) AS TableName , […]