Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite ›

Assistance Needed for Drupal 9 Custom Module Development: Having Performance and Database Queries Problems

Eingetragen von daisynaive96 (10) am 15.11.2024 - 08:32 Uhr in
  • Drupal

Hello Everyone,

I've encountered some difficulties with database queries and overall module performance while working on a custom module for a Drupal 9 website. I'm hoping that someone here can help me fix these problems by offering some advice or best practices.

Here is some background information about my work: Content display is dependent on a number of user-selected filters, and the module is made to retrieve and present content from multiple tables in the Drupal database. But I'm seeing serious problems with performance. As the database gets bigger, some of the queries are running far more slowly than I had expected. The performance is still lagging despite my best efforts to optimize them, and I have a suspicion that the current strategy is not scalable.

The details I'm dealing with are as follows:

Complex Joins: I'm wondering if there's a more effective way to handle joining multiple tables in Drupal, as some of my queries call for it.
Caching Strategies: I've read about Drupal's caching options, but I'm not sure which caching layer—or layers—would be most effective for regularly updated data.
Query Debugging: Although I am aware of the Devel module for performance testing, I would appreciate any extra advice on how to troubleshoot sluggish queries.

I would be very grateful if someone could suggest modules, code snippets, or best practices to optimize custom queries and boost module efficiency, or if they have experience with similar issues. Any recommendations for caching setups that could improve the efficiency of these queries are also welcome.

Thanks in advance for your help and support.

Regards
DaisyGcp

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • Mysql Ver 8.0.41 zu MariaDB 10.11.11
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
  • Doppelte Einträge verhindern
  • [abgeschlosen] PHP Composer von Plesk + .bashrc nicht vorhanden
  • Drupal 7 Focal Point – Bild auf Desktop vollständig anzeigen, nur in Responsive zuschneiden
  • ECA validiere Felder mit unlimitierter Eingabe
  • Zugriff auf Webform beschränken/gewähren
  • Drupal 10.4.5 und Bootstrap 3.x.
  • Probleme mit Drupal 10 - HTTP Statuscode 403 (gelöst)
  • View mit mehreren Ansichten, übersteuert nicht
  • [gelöst] Wiederherstellen mit backup&migrate
  • [gelöst] ID eines Webformulars ermitteln?
Weiter

Neue Kommentare

  • V-Server ..
    vor 6 Tagen 16 Stunden
  • ... generelle
    vor 6 Tagen 16 Stunden
  • oder..
    vor 2 Wochen 17 Stunden
  • Also ich will dich ja nicht
    vor 2 Wochen 1 Tag
  • nochmal MariaDB vs Mysql
    vor 2 Wochen 1 Tag
  • Vielen Dank - feedback zu den Videos
    vor 3 Wochen 5 Tagen
  • Falls dieses Thema noch mal
    vor 4 Wochen 1 Tag
  • Prima, dann schreib bitte
    vor 4 Wochen 2 Tagen
  • Ah perfekt. Es hat an der
    vor 4 Wochen 2 Tagen
  • Davon gibt es sogar zwei
    vor 4 Wochen 2 Tagen

Statistik

Beiträge im Forum: 249987
Registrierte User: 20269

Neue User:

  • CharlestydaY
  • Darrenwem
  • DavidSeero

» Alle User anzeigen

User nach Punkten sortiert:
wla9454
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3855
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 7 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association