Tags: Database blog merge pos performance test test style hash resConfiguration file:leveldb: inch MB - in KB -in MB $ inMB /s # Yes| No HASHMAP:1 million, text total about 100MB, single write Time about 180s, a number of merge write about 30s, a single read about 150s, database occupied space 130MBString stitching into K-v:1 million pieces of stitching for about 30,000, the text of about 50MB, a single write about 18s, a number of merge write abo
higher than a single insert, but the size of one batch has little effect on performance. The parameters of whether each record refreshes the log have a significant impact on InnoDB performance. Overall, MyISAM performance is a bit more superior. One thing to note here is that during the insertion test, I monitored the system resources and found that MyISAM is very low on system resources, but InnoDB is very high on disk, and should be a lot more logs to log for transaction control.Test two: Dat
//Error statement: There is a syntax error near the keyword ' user '; - //user is the keyword in the SQL statement, if you want to use user as the table name, you must enclose the user in square brackets [], that is [user]; to + //processing result sets (including metadata); - //Print property name; theResultSetMetaData Rsmetadata =Resultset.getmetadata (); * for(inti = 1; I ) { $System.out.printf ("%-8s\t", Rsmetadata.getcolumnname (i));Panax N
IpvsadmStart the service [[emailprotected] keepalived]# systemctl start keepalived.service[[emailprotected] keepalived]# Systemctl status Keepalived.service Keepalived.service-lvs and VRRP High Availability Monitor loaded:loaded (/usr/lib/systemd/system/keepalived.service; disabled; vendor preset:disabled) Ac Tive:active (running) since Fri 2018-08-31 20:30:02 CST; 12s ago process:9657 execstart=/usr/sbin/keepalived $KEEPALIVED _options (code=exited
Label:Recently working on a problem, how to import large amounts of data (100mb+) to the remote MySQL server. Try 1: Statement executes the ExecuteBatch method. Import 1000 records at a time. Time is 12s/1000 bar. More slowly. For 1M insertions This means that it takes 4 hours and the load delay is raised to 85s/1000 or even higher due to network conditions, database load, and other factors. Poor results. Try 2: With PreparedStatement, this method
log for transaction control. Test two: Data read performance test. Reads 1000 records at random and reads them repeatedly. MyISAM Innodb Single thread, 200 reads 5.7s 16.7s 4 threads, 200 reads 12s 40.8s It can be seen that the read performance of MyISAM is very scary, the performance gap is 3 times times the appearance. The above two tests found that MyISAM almost outright win-win without the need for business, but to know that it is a tab
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.