[Java required course] performance comparison of contains method between ArrayList and HashSet (JMH performance test)

1 Introduction In daily development, ArrayList and HashSet are very common collection classes in Java. ArrayList is the most commonly used implementation class of List interface. HashSet is the implementation that holds the unique element Set. This paper mainly makes a simple discussion on the common method contains(), mainly the performanc ...

Added by CodeEye on Wed, 23 Oct 2019 17:03:08 +0300

oracle releases table space to OS (resize)

1. View the objects in the tablespace SELECT OWNER AS OWNER, SEGMENT_NAME AS SEGMENT_NAME, SEGMENT_TYPE AS SEGMENT_TYPE, SUM (BYTES) / 1024 / 1024 AS SEGMENT_SIZE FROM DBA_SEGMENTS WHERE TABLESPACE_NAME = 'TBS' GROUP BY OWNER, SEGMENT_NAME, SEGMENT_TYPE; 2. move the ordinary ...

Added by FlashHeart on Sat, 19 Oct 2019 22:09:59 +0300

Android output Log class and save to file

There are five common methods for android.util.Log: Log.v(), Log.d(), Log.i(), Log.w(), and Log.e(). Corresponding to VERBOSE,DEBUG,INFO,WARN,ERROR according to the initial.   1. The debug color of Log.v is black, and any message will be output. V here represents verbose meaning, which is usually used as Log.v("", "") ...

Added by DiscoTrio on Sat, 19 Oct 2019 21:54:34 +0300

oracle_11.2.0.1 Silent Installation Deployment under CentOS 7.5

Production and Construction Environment:Operating System: CentOS 7.5Memory size: 32GBHard disk: 1TNote: The optimization of the kernel parameters in the text is modified according to the actual environment.1. Software preparation for installation1.1 Software preparation jdk-8u161-linux-x64 http://www.oracle.com ORACLE linux.x64_11gR2_databas ...

Added by phonydream on Fri, 11 Oct 2019 03:13:06 +0300

Middle School Student Status Management System

Middle School Student Status Management System Middle school student status management system mysql database creation statement Middle school student status management system oracle database creation statement Middle school student status management system SQL Server database creation statement ...

Added by bleh on Tue, 08 Oct 2019 17:05:47 +0300

Initial Knowledge of Mysql Library Table Operation

Initial Knowledge of Mysql Library Table Operation Terminal login mysql Here only demonstrate win, cmd terminal. As for how to install Linux and MAC under win, it feels like an entry level search problem. Installation is uncertain. It's a bit awkward and embarrassing. -- win + R input cmd rails c C:\Users\chenjie> mysql -u root -p -- Enter ...

Added by Hexxx on Sun, 06 Oct 2019 23:06:59 +0300

ORACLE ORION Tests IO Performance

https://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html Download address Orion is an IO performance testing tool provided by Oracle. It does not need to install oracle database software or create database to run this tool. It can simulate the IO load of oracle database, and it can also be used to simulate the striping function of ASM ...

Added by Hell Toupee on Fri, 04 Oct 2019 20:37:08 +0300

Oracle basic knowledge accumulation-oracle for recycling

Scene: Basic Knowledge Query Motivation: Pure basic knowledge is accumulated to facilitate follow-up inquiries. In many occasions, people in charge are talking about going to IOE. Therefore, inevitably, the use of occasions will be more or less reduced, so according to the customary thinking record. ...

Added by Randomizer on Fri, 04 Oct 2019 06:38:06 +0300

Installation of mariadb in linux

1. Overview mysql is a relational database. mysql (itself), a branch of mysql, was acquired by SUN before and after 2008 and then by oracle. System integration - everything is done (set solution) After the acquisition of mariadb mysql, the author developed mariadb based on earlier versions of MySQL in order to avoid the monopoly of the data ...

Added by hyd_guy on Thu, 03 Oct 2019 02:33:29 +0300

spring boot teaches you how to handle global exceptions

spring boot global exception handling Handling global exceptions requires three steps Custom exception enumeration Custom exception Sprboot AOP exception handling Below I write a relatively simple, hope to combine according to their own situation, here I simply write some code ideas. 1 Custom Same ...

Added by drepster on Wed, 02 Oct 2019 01:53:05 +0300