The database administration team has asked you to help them improve the performance of their new database server running on Google Compute Engine.
The database is for importing and normalizing their performance statistics and is built with MySQL running on Debian Linux.
They have an n1-standard-8 virtual machine with 80 GB of SSD persistent disk.
What should they change to get better performance from this system?
Click on the arrows to vote for the correct answer
A. B. C. D. E.C.
The performance of the database server can be improved by several means, including hardware and software optimization. The available options in the answer choices are:
A. Increase the virtual machine's memory to 64 GB: Increasing the memory can improve the database's performance by allowing it to store more data in memory, reducing disk I/O operations. However, it depends on the current memory utilization of the server. If the server is not utilizing its current memory fully, increasing memory may not yield significant performance improvements.
B. Create a new virtual machine running PostgreSQL: This option is not suitable for the given scenario as it requires migrating the entire database from MySQL to PostgreSQL, which can be a complex and time-consuming process. It may also require rewriting the application code to work with the new database.
C. Dynamically resize the SSD persistent disk to 500 GB: Increasing the disk size can improve the database's performance by providing more space for storing data and indexes. It can also help reduce I/O operations by enabling more data to be stored in memory. However, it depends on the current disk utilization and the rate at which data is being added to the database.
D. Migrate their performance metrics warehouse to BigQuery: BigQuery is a cloud-based data warehouse that can handle large amounts of data and perform analytics on it. It is not suitable for transactional databases like MySQL, which are optimized for fast read and write operations.
E. Modify all of their batch jobs to use bulk inserts into the database: Using bulk inserts can improve performance by reducing the overhead of individual insert statements. However, it may require modifying the application code and testing to ensure that the data is inserted correctly.
Overall, option C (dynamically resize the SSD persistent disk to 500 GB) is the most suitable option for improving the performance of the given database server as it provides more space for storing data and indexes, which can help reduce I/O operations.