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 - 07: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

  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
  • Wie erlaubt man neuen Benutzern auf die Resetseite zugreifen zu dürfen.
  • [gelöst] Anzeigeformat Text mit Bild in einem Artikel, Drupal 11
  • Social Media Buttons um Insteragram erweitern
  • Nach Installation der neuesten D10-Version kein Zugriff auf Website
  • Composer nach Umzug
  • [gelöst] Taxonomie Begriffe zeigt nicht alle Nodes an
  • Drupal 11 + Experience Builder (Canvas) + Layout Builder
  • Welche KI verwendet ihr?
  • Update Manger läst sich nicht Installieren
Weiter

Neue Kommentare

  • melde mich mal wieder, da ich
    vor 2 Tagen 3 Stunden
  • Hey danke
    vor 2 Tagen 21 Stunden
  • Update: jetzt gibt's ein
    vor 3 Tagen 16 Stunden
  • Hallo, im Prinzip habe ich
    vor 1 Woche 1 Tag
  • Da scheint die Terminologie
    vor 1 Woche 1 Tag
  • Kannst doch auch alles direkt
    vor 1 Woche 5 Tagen
  • In der entsprechenden View
    vor 1 Woche 5 Tagen
  • Dazu müsstest Du vermutlich
    vor 1 Woche 5 Tagen
  • gelöst
    vor 4 Wochen 2 Tagen
  • Ja natürlich. Dass ist etwas,
    vor 4 Wochen 2 Tagen

Statistik

Beiträge im Forum: 250233
Registrierte User: 20449

Neue User:

  • Mroppoofpaync
  • 4aficiona2
  • AppBuilder

» Alle User anzeigen

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