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

  • Dynamische Ansicht von Seiteninhalt (als Tabelle?)
  • Vergabe von Berechtigungen für bestimmte Rollen; mir fehlt der Haken bzw. das „Veröffentlicht“
  • Ich brauche dringen Hilfe zu Updates oder ggf. wwie geht Composer?
  • 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
  • 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
Weiter

Neue Kommentare

  • Arrrrg. Nix Tabelle :-D /*
    vor 2 Wochen 15 Stunden
  • Textboxen mit Tabelle
    vor 2 Wochen 21 Stunden
  • Du sollst ja auch keine
    vor 2 Wochen 22 Stunden
  • Theme
    vor 2 Wochen 22 Stunden
  • Welches Theme benutzt du
    vor 2 Wochen 1 Tag
  • Mit Responsive Raster hatte
    vor 2 Wochen 1 Tag
  • Hallo Alex,um das Häkchen
    vor 2 Wochen 2 Tagen
  • Modul view_unpublished
    vor 2 Wochen 3 Tagen
  • Modul "override node options"
    vor 2 Wochen 4 Tagen
  • Im Grunde ist dass ein
    vor 2 Wochen 6 Tagen

Statistik

Beiträge im Forum: 250270
Registrierte User: 20478

Neue User:

  • Stevebok
  • Robertnobia
  • AltonRaf

» Alle User anzeigen

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