cache = max memory * 50%
Procedure cache size = max memory * 20-30%
Number of user connections = N (default = 25)
Number of lock = N * Maximum number of locks required by a single user * 120%
(Generally, this is difficult to estimate. The reference value provided by senior syabse engineers: 1.8 million for users. I estimate that 100000 is recommended for 10 Gb of data)
Number of open objects = 10000
Number of open indexed = 10000
This configuration can basically be used normally. You can down
Some small aspects of database Performance tuning:1. 1 Performance IndexDatabase performance is generally measured in two metrics: response time and throughput. The faster the response, the greater the throughput and the better the database performance. Response time and thr
Need for Performance Tuning
In this world of SAP programming, ABAP is the universal language. in most of the projects, the focus is on getting a team of ABAP programmers as soon as possible, handing over the technical specifications to them and asking them to church n out of the ABAP programs within the "given deadlines ".
Often due to this pressure of schedules and deliveries, the main focus of m
I will share 11 practical tips on Java performance tuning and java Tuning
Most developers think that performance optimization is a complicated problem and requires a lot of experience and knowledge. Yes, it is not wrong. It is not easy to optimize the application to achieve
Title:java Program Performance Tuning notes (3)-tips to help improve performanceTags: tips to help improve performance grammar_cjkruby:true 1. Use exceptions with caution
@Test public
void Testinfortrycatch () {//performance
Author: (US) Tony Andrews Translator: Chen Yong Yang Health Series name: Chapter Hua programmer library Publishing House: Machinery Industry Publishing House ISBN: 9787111425021 shelving time: -6-4 published on: July 4,: 16 webpage: 86 versions: 1-1 category: more about computers> DB2 SQL Performance Tuning tips computer books DB2 SQL
Want to keep your project running at high performance? Here are some tips you can take to eliminate cache bottlenecks, as well as some other performance tuning recommendations.Most developers think that performance optimization is a complex topic that requires a lot of work
rich, powerful, and flexible, and you can do a variety of tasks with it, and in this article we'll discuss some tips for improving the performance of Linux servers.1. Tuning the Linux kernel elevator algorithm for disk I/OAfter selecting the file system, there are some kernel and mount options that may affect its performance
snippets. The general idea is simple: reusing these resources is cheaper than creating new resources over and over again.A typical example is the database connection in the cache pool. The creation of a new connection takes time, and if you reuse an existing connection, you can avoid this situation.You can also find other examples in the Java language itself. For example, the valueof method of the integer class caches a value between 128 and 127. You might say that creating a new integer is not
Oracle Database 10g Performance Tuning tips and techniques is recommended. For Oracle performance test, diagnosis, analysis, and optimization, see!
Chapter 2 Basic index principles (beginner developer and beginner dBA). For Oracle index optimization, refer!
Chapter 4 tuning
Performance Tuning is not a simple task. There is no omnipotent solution at all, but you can use some basic principles to implement it.
In general, performance tuning is the role of DBA. however, DBA does not have time to carefully check every change made to the stored procedure. so learning some basic
Web server itself to obtain the best performance, each Apache connection uses a process, so it will not be affected, but a single process Web server, such as Zeus is a file descriptor for each connection, therefore, it is easy to be affected by the default limit.The file opening limit is a limit that can be adjusted using the ulimit command. The ulimit-aS command displays the current limit, and the ulimit-aH command displays the hard limit (before Ke
our library to collect data: User events, DOM changes, network requests, exceptions, debug messages, and so on. Our players are highly optimized to render and use all the data collected in sequence, from both visual and technical aspects to provide you with a perfect pixel-level simulation of everything the user has done in the browser.If you want to try it, you can try Sessionstackfor free.Resources
Https://developers.google.com/web/fundamentals/p
, which can significantly improve performance. Experience shows that the biggest improvement in SQL Server performance is due to logical database design, index design, and query design. Conversely, the biggest performance problems are often caused by deficiencies in these same areas. In fact, the essence of SQL optimization is that the result is correct, with th
prevents people from overwriting the length () method. In addition, if you specify a class to be final, all methods of that class are final. the Java compiler will look for opportunities for inline (inline) all final methods ( This is related to the specific compiler implementation ). This will increase the performance on average 50%. 1.6 Use local variables as much as possibleparameters that are passed when the method is called and temporary varia
/how-to-drastically-improve-your-app-with-an-afternoon-and-instruments) There are some code that can be used to parse the ISO-8601 date string, and simply rewrite it to use it.Well, just use C to make it look good, but do you believe that we have a better plan!If you can control the date format you are working with, try to choose a Unix timestamp. You can easily convert from timestamp to NSDate: -(nsdate*return[NSDate datewithtimeintervalsince1970:timestamp];}This will be faster than using C
) name:@"IdleNotification" object:nil]; NSNotification *notification = [NSNotification notificationWithName:@"IdleNotification" object:nil]; [[NSNotificationQueue defaultQueue] enqueueNotification:notification postingStyle:NSPostWhenIdle];} Five, memory optimization
Use Autorelease pool to reduce memory spikes
Six, Code details optimization
1, not in the viewwillapear time-consuming operation
2. If the key code is more efficient with C/C + +
Seven, picture optim
some code that can be used to parse the ISO-8601 date string, and simply rewrite it to use it.Well, just use C to make it look good, but do you believe that we have a better plan!If you can control the date format you are working with, try to choose a Unix timestamp. You can easily convert from timestamp to NSDate:-(nsdate*) Datefromunixtimestamp: (nstimeinterval) timestamp {return [nsdate Datewithtimeintervalsince1970:timestamp]; }This will be faster than using C to parse the date string!It is
add the following line to the boot auto mount in the/etc/fstab file:
/dev/sdb1/ssd ext3 defaults00
Now we move MySQL to the new diskFirst stop the MySQL service:
#service mysqld stop
I suggest you?? Stop Apache/nginx at the same time to prevent any attempts to write to the database:
#service httpd stop
#service nginx stop
Now copy the entire MySQL directory into the new partition:
#cp/var/lib/mysql/ssd/-Rp
This may take some time, depe
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.