Tag:Clear

  • Summary of garbage cleaning methods in Linux system

    Time:2020-11-24

    One of the biggest advantages of Linux is that it remains stable after a period of use. The biggest challenge for Linux is to install it and find and configure the software you need to do your job. Once you’ve done that, it’s almost going to work. As for system maintenance, there is not much […]

  • Redis solves the key garbled problem and cleans up the detailed explanation

    Time:2020-10-15

    Key garbled code problem Since redis uses the jdkserializationredisserializer by default, the key is garbled, as follows: keys ‘*!report:flag:phon*’ 1) “\xac\xed\x00\x05t\x00!report:flag:phone_156464” 2) “\xac\xed\x00\x05t\x00!report:flag:phone_198946” 3) “\xac\xed\x00\x05t\x00!report:flag:phone_183302” Solve key garbled code private RedisTemplate redisTemplate; @Autowired(required = false) public void setRedisTemplate(RedisTemplate redisTemplate) { RedisSerializer stringSerializer = new StringRedisSerializer(); redisTemplate.setKeySerializer(stringSerializer); redisTemplate.setValueSerializer(stringSerializer); redisTemplate.setHashKeySerializer(stringSerializer); redisTemplate.setHashValueSerializer(stringSerializer); this.redisTemplate = redisTemplate; } Clean up […]

  • Batch processing of cleaning up garbage files of Windows Server

    Time:2020-7-5

    Copy codeThe code is as follows: @echo off Echo is cleaning up system garbage files, please waitdel /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.chk del /f /s /q %systemdrive%\*.old del /f /s /q %systemdrive%\recycled\*.* del /f /s /q […]

  • Explanation of CentOS clear command

    Time:2020-4-17

    In the era of DOS, the command to list the directory is dir, and the command to clear the screen is CLS. Similar commands in Linux are ls and clear. If you are not used to them, we can use aliases to use the same commands: [[email protected] ~]$ alias dir=’ls -l’ [[email protected] ~]$ dir Total […]

  • Explain how to clear the extra disk space occupied by mongodb

    Time:2019-12-5

    The first point is that mongodb will not release the occupied hard disk space, even drop collection, unless drop database. If a DB once had a large amount of data deleted after a period of time, hard disk space is a problem. How to recover the extra space occupied by mongdodb? There are two ways […]

  • How Mac Cleans QQ Cache Apple Mac Cleans QQ Cache Method

    Time:2019-5-14

    Usually after using QQ on Mac for a long time, it is unavoidable to receive a lot of pictures, documents, text and other content. After a long time, it will become more and more. If these things are too much, they will not only occupy disk space, but also affect the speed of QQ. Here […]

  • The Most Detailed Cleaning Method of C Disk in History

    Time:2019-5-8

    First, the software SpaceSniffer is used to analyze the occupancy of disk files and clean up the corresponding files. First: Adjust and delete Win7 Hiberfil.sys You can enter powercfg-h off in the command window to turn off the dormancy function. In addition, if you can run the command line powercfg-h-size 70, you can reduce the […]

  • SQLite Tutorial (5): Indexing and Data Analysis/Cleaning

    Time:2019-3-27

    1. Create an index: In SQLLite, the SQL syntax for creating indexes is basically the same as most other relational databases, because here are just examples of usage:   Copy codeThe code is as follows:     sqlite> CREATE TABLE testtable (first_col integer,second_col integer);Create the simplest index based on a field of a table.     sqlite> […]