filmov
tv
Database Optimization Tip for Drupal Sites

Показать описание
While working on a recent project, I encountered a database that had grown to 1GB in size - all because of unrestricted log message storage.
A common oversight in Drupal configuration can lead to significant database bloat.
For those using Drupal's Database Logging module, here's a crucial configuration tip:
1️⃣ Navigate to Configuration Logging and Errors
2️⃣ Locate the "Database log messages to keep" setting
3️⃣ Set the value to 100 or 1,000 messages
4️⃣ Save the configuration
This simple adjustment prevents your database from accumulating unnecessary log entries while maintaining recent system information for troubleshooting.
Remember: Never set this value to "All" or an extremely high number like 1,000,000. Your future self (and your database) will thank you.
Share this tip with your Drupal development team to prevent similar issues in your projects.
Alternatively, consider using the Syslog module.
#drupal
~~~
If you found this post helpful.
♻️ Please repost and follow.
📧 Join our newsletter; link in the first comment.
A common oversight in Drupal configuration can lead to significant database bloat.
For those using Drupal's Database Logging module, here's a crucial configuration tip:
1️⃣ Navigate to Configuration Logging and Errors
2️⃣ Locate the "Database log messages to keep" setting
3️⃣ Set the value to 100 or 1,000 messages
4️⃣ Save the configuration
This simple adjustment prevents your database from accumulating unnecessary log entries while maintaining recent system information for troubleshooting.
Remember: Never set this value to "All" or an extremely high number like 1,000,000. Your future self (and your database) will thank you.
Share this tip with your Drupal development team to prevent similar issues in your projects.
Alternatively, consider using the Syslog module.
#drupal
~~~
If you found this post helpful.
♻️ Please repost and follow.
📧 Join our newsletter; link in the first comment.
Database Optimization Tip for Drupal Sites
Drupal Optimization
DrupalCon Seattle 2019: Database Query Optimization in Drupal
5 Tips for a Scalable Drupal Store
MySQL Performance Tuning for #WordPress and #Drupal
Igor Cheledinov - Drupal Performance tips: configs optimization, partial caching, BigPipe and ESI
Back End Optimization of a Drupal website using Devel module
Designing for Drupal: Tips & Tricks for a Clean, User-Friendly Website
Drupal: How to generate view data from sql query?
Drupal: Get data from database
DrupalCon Amsterdam 2019: Caching in Drupal 8 has evolved: Tips on how to improve your code
How to Debug Queries Using Devel
Part 1 - Control Which Fields are Indexed in Drupal
Andy Thornton - Drupal Performance and Optimization (ADUG - 02082011)
Configuration Management: Tips, Tricks & Perspective
DrupalCon Los Angeles 2015: 4x High Performance for Drupal - Step by Step
Front End Optimization For Drupal Website - Part 4
Cursor AI Tricks That Made Me a Better Solo Developer (& more productive)
Developer Debugging Toolkit: Practical Techniques for Debugging Drupal Cache Problems
DrupalCon Dublin 2016: 4x High Performance for Drupal - Step by Step - The ultimate beginner's ...
Performance optimization in Drupal website - Valuebound
Session: 'Advanced Performance Optimisation - A case study on adairs.com.au' by Scott Ande...
10 Tips for Drupal Content Authors
Learn the new things in Drupal 8 via debugging
Комментарии