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

  • Drupal CMS installieren
  • [erledigt]MP3 in Drupal 10 einbinden
  • (gelöst)Drupal 11 installieren
  • Titel ausblenden
  • Ich brauche dringen Hilfe zu Updates oder ggf. wwie geht Composer?
  • Dynamische Ansicht von Seiteninhalt (als Tabelle?)
  • Vergabe von Berechtigungen für bestimmte Rollen; mir fehlt der Haken bzw. das „Veröffentlicht“
  • Medien und andere Daten mit Feeds von Drupal 7 auf Drupal 10 migrieren
  • Rolle erstellen nicht zu finden
  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
Weiter

Neue Kommentare

  • Verwende doch das Tag dafür,
    vor 2 Tagen 13 Stunden
  • Guckst du hier: step by step
    vor 2 Tagen 3 Stunden
  • Guckst du hier: step by step
    vor 2 Tagen 3 Stunden
  • Ich habe ja keine Angst vor
    vor 1 Woche 4 Tagen
  • Ist grundsätzlichmachbar – aber nichts für „einfach mal schnell“
    vor 1 Woche 6 Tagen
  • Vielen Dank erst einmal, aber
    vor 2 Wochen 1 Tag
  • Du hast die "Trusted host
    vor 2 Wochen 1 Tag
  • Bitte genauer den aktuellen Lösungs-Ansatz beschreiben
    vor 4 Wochen 17 Stunden
  • Git und rsync sind die wichtigsten Werkzeuge
    vor 4 Wochen 4 Tagen
  • Arrrrg. Nix Tabelle :-D /*
    vor 8 Wochen 6 Tagen

Statistik

Beiträge im Forum: 250284
Registrierte User: 20498

Neue User:

  • Inga GuAph
  • Robertolix
  • DavidBit

» Alle User anzeigen

User nach Punkten sortiert:
wla9464
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 13 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