Lets start with my question first:
Does having multiple schemas (1 main and 1 daily – having 5-6 tables with same structure as main, but only working for the day and will be synced back with the main one every night) in MySQL (5.7) server can impact its performance ?
The problem I’m facing with my database is that the application was working fine under certain load (still does but LA goes up to 8), but past few days I’m fighting over CPU usage … I dig the problem and the reason for that is that there are locks going on and my workers are stuck trying to insert/update new data.
To go even deeper I’m doing at least 1K inserts per minute, up to 2K updates per minute (some are on the previously inserted records), and more than 4-5K selects per minute.
And I’m not talking for simple integer inserts … lots of strings, timestamps, integers and 6 indexes (total column number in the table is 32)
My server is fairly powerful (huh, fairly).
- 16GB RAM
- 1TB SSD
- 8 Core, Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
- Software: MySQL 5.7
Part of my my.cnf
innodb_buffer_pool_size = 12G innodb_buffer_pool_instances = 8 innodb_log_file_size = 30G innodb_log_buffer_size = 16M innodb_flush_log_at_trx_commit = 2 innodb_thread_concurrency = 8
and still I’m getting LA of up to 8.00
The problem with all this is because all my workers start every minute and they sort of confront each other.
What I came with is following scenario: – create separate schema with my ‘daily’ working tables (mostly the SELECTS) and do the inserts/updates in my original schema.
Will that decrease the load on the server?
And one off-topic question: Is LA of up to 8.00 healthy for the server ?
P.S. If you need any further info, just let me know I’ll share it.
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!