---
title: Magento 2 - SHOW TABLE STATUS Patch
description: So installieren Sie unseren isTableExists() Patch für MySQL
---

[Zu Content springen](https://knowledge.maxcluster.de/show-table-status-patch-magento-2#main-content)

- [Deutsch](https://knowledge.maxcluster.de/show-table-status-patch-magento-2)
- [English](https://knowledge.maxcluster.de/en/show-table-status-patch-magento-2)

Deutsch

Untermenü für Übersetzungen anzeigen

[![maxcluster\_byteamblue\_logo\_main](https://knowledge.maxcluster.de/hubfs/maxcluster_byteamblue_logo_main.svg)](https://knowledge.maxcluster.de/)

Hauptnavigation öffnen

Hauptnavigation schließen

- - [Deutsch](https://knowledge.maxcluster.de/show-table-status-patch-magento-2)
    - [English](https://knowledge.maxcluster.de/en/show-table-status-patch-magento-2)

  Deutsch
  
  Untermenü für Übersetzungen anzeigen
- [maxcluster.de](https://maxcluster.de/)

[maxcluster.de](https://maxcluster.de/)

 Wie können wir Ihnen helfen?

- Es gibt keine Vorschläge, da das Suchfeld leer ist.

1. [Knowledge Base](https://knowledge.maxcluster.de/)
2. [Magento](https://knowledge.maxcluster.de/magento)
3. [Information](https://knowledge.maxcluster.de/magento#information)

27\. November 2025

# Magento 2 - SHOW TABLE STATUS Patch

## So installieren Sie unseren isTableExists() Patch für MySQL

**INFO:** Der untenstehende Patch ist seit der Version Magento 2.4.2 bereits enthalten.

Falls Sie einen Onlineshop mit einer früheren Version von Magento betreiben, gibt es mehrere Methoden, um unseren Performance-Patch für MySQL zu installieren. Für eine sichere Installation des Updates empfehlen wir die Installation über Composer.

### **Composer Methode**

Für die Installation über Composer muss die Datei [composer-fasterisTableExists.diff.gz](https://maxcluster.de/knowledge-base/downloads/fasteristableexists/composer-fasterisTableExists.diff.gz) heruntergeladen und innerhalb des Magento-Stammverzeichnisses in den Ordner patches/composer entpackt werden. Falls dieser Ordner bisher nicht existiert, legen Sie ihn bitte vorher an.

Möglich ist dies per SSH mit den folgenden Befehlen:

`cd <MagentoStammverzeichnis>`

`mkdir -p patches/composer`

`curl https://maxcluster.de/knowledge-base/downloads/fasteristableexists/composer-fasterisTableExists.diff.gz > patches/composer/fasterisTableExists.diff.gz`

`gunzip patches/composer/fasterisTableExists.diff.gz`

Damit Patches über Composer installiert werden können, benötigen Sie das Tool `cweagans/composer-patches`, das mit folgendem Befehl installiert werden kann:

`composer require cweagans/composer-patches`

Im nächsten Schritt erweitern Sie die Extra-Sektion der `composer.json`, um den Patch zu installieren. Hierfür fügen Sie bitte Folgendes ein:

`...`

`    'extra': {`

`...`

`         'composer-exit-on-patch-failure': true,`

`         'patches': {`

`           'magento/framework': {`

`             'fasterisTableExists': 'patches/composer/fasterisTableExists.diff'`

`           }`

`         }`

`    }`

Falls Sie eine Build Pipeline verwenden, oder die `composer.json` in einem externen Repository verwalten, stellen Sie bitte sicher, dass die `composer.json` auch jeweils dort angepasst wird, damit der Patch auch bei zukünftigen Deployments angewandt wird.

Der Patch kann nun mit folgendem Befehl installiert werden:

`composer -v install`

Die Ausgabe sollte dabei bestätigen, dass die Datei `vendor/magento/framework/DB/Adapter/Pdo/Mysql.php` angepasst wurde.

Die Ausgabe sieht für gewöhnlich so aus:

`Gathering patches for root package.`

`Removing package magento/framework so that it can be re-installed and re-patched.`

`  - Removing magento/framework (102.0.5)`

`Loading composer repositories with package information`

`Installing dependencies (including require-dev) from lock file`

`Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies.`

`It is recommended that you run `composer update` or `composer update <package name>`.`

`Dependency resolution completed in 0.026 seconds`

`Analyzed 1049 packages to resolve dependencies`

`Analyzed 6937 rules to resolve dependencies`

`Package operations: 1 install, 0 updates, 0 removals`

`Installs: magento/framework:102.0.5`

`Gathering patches for root package.`

`Gathering patches for dependencies. This might take a minute.`

`Found 1 patches for magento/framework.`

`  - Installing magento/framework (102.0.5): Loading from cache`

` Extracting archive  - Applying patches for magento/framework`

`    patches/composer/fasterisTableExists.diff (fasterisTableExists)`

`patch '-p1' --no-backup-if-mismatch -d '/var/www/share/magento2-demoshop-maxcluster.de/2.3.5-p1/vendor/magento/framework' < '/var/www/share/magento2-demoshop-maxcluster.de/2.3.5-p1/patches/composer/fasterisTableExists.diff'`

`can't find file to patch at input line 3`

`Perhaps you used the wrong -p or --strip option?`

`The text leading up to this was:`

`--------------------------`

`|--- DB/Adapter/Pdo/Mysql.php   2020-06-04 17:19:28.439003997 +0200`

`|+++ DB/Adapter/Pdo/Mysql.php   2020-06-04 17:19:45.295945396 +0200`

`--------------------------`

`File to patch: `

`Skip this patch? [y] `

`Skipping patch.`

`3 out of 3 hunks ignored`

`patch '-p0' --no-backup-if-mismatch -d '/var/www/share/magento2-demoshop-maxcluster.de/2.3.5-p1/vendor/magento/framework' < '/var/www/share/magento2-demoshop-maxcluster.de/2.3.5-p1/patches/composer/fasterisTableExists.diff'`

`patching file DB/Adapter/Pdo/Mysql.php`

`Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.`

`Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.`

`Generating autoload files`

`35 packages you are using are looking for funding.`

`Use the `composer fund` command to find out more!`

`Running PHPCodeSniffer Composer Installer`

`PHP CodeSniffer Config installed_paths set to ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility,../../codeception`

`Using config file: /var/www/share/magento2-demoshop-maxcluster.de/2.3.5-p1/vendor/squizlabs/php_codesniffer/CodeSniffer.conf`

`Config value 'installed_paths' updated successfully; old value was '../../codeception,../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility'`

**Hinweis:** Die Meldung 'can't find file to patch at input line 3' ist hierbei normal und verhindert nicht die korrekte Installation des Patches.

Abschließend muss noch die `composer.lock`-Datei aktualisiert werden, was mit folgendem Befehl möglich ist:

`composer update --lock`

Beachten Sie bitte, dass auch diese Datei bei Bedarf in die Versionsverwaltung übernommen werden muss.

Bitte denken Sie auch daran, den Patch bei einem Update auf Magento 2.4.2 wieder aus der `composer.json` zu entfernen.

### **Patch Methode**

Alternativ zu der Methode über Composer ist es auch möglich, den Patch direkt zu installieren.

Hierzu kann der Patch aus dem Magento-Stammverzeichnis mit folgendem Befehl heruntergeladen werden:

`wget https://maxcluster.de/knowledge-base/downloads/fasteristableexists/fasterisTableExists.diff.gz`

`gunzip fasterisTableExists.diff.gz`

Anschließend wird er mit diesem Befehl installiert:

`patch -p0 < fasterisTableExists.diff`

Nach der Patch-Installation können Sie die Datei `fasterisTableExists.diff` wieder entfernen. Bitte beachten Sie, dass dieses Vorgehen nach jedem Magento-Update wiederholt werden muss.

Wenn Sie mehr über **Magento Hosting** bei **maxcluster** erfahren möchten, finden Sie alle Informationen auf [maxcluster.de/magento-hosting](https://maxcluster.de/magento-hosting)

Bei Fragen steht Ihnen unser Support telefonisch unter 05251/414130 oder per E-Mail an [support@maxcluster.de](mailto:support@maxcluster.de) zur Verfügung.

- [Erste Schritte](https://knowledge.maxcluster.de/erste-schritte#main-content)

    - [Migration zu maxcluster](https://knowledge.maxcluster.de/erste-schritte#migration-zu-maxcluster)
    - [Nutzerverwaltung](https://knowledge.maxcluster.de/erste-schritte#nutzerverwaltung)
    - [Zugriff](https://knowledge.maxcluster.de/erste-schritte#zugriff)
    - [Information für Neukunden](https://knowledge.maxcluster.de/erste-schritte#information-für-neukunden)
- [Application Center](https://knowledge.maxcluster.de/application-center#main-content)

    - [Persönliche Daten](https://knowledge.maxcluster.de/application-center#persönliche-daten)
    - [Übersicht über Kunden, Cluster und mehr](https://knowledge.maxcluster.de/application-center#übersicht-über-kunden-cluster-und-mehr)
    - [Verträge: Bestellung und Kündigung](https://knowledge.maxcluster.de/application-center#verträge-bestellung-und-kündigung)
    - [Rechnungen](https://knowledge.maxcluster.de/application-center#rechnungen)
    - [Bestellungen](https://knowledge.maxcluster.de/application-center#bestellungen)
    - [Erweiterungen](https://knowledge.maxcluster.de/application-center#erweiterungen)
    - [Partner-Portal](https://knowledge.maxcluster.de/application-center#partner-portal)
- [Managed Center](https://knowledge.maxcluster.de/managed-center#main-content)

    - [Dashboard](https://knowledge.maxcluster.de/managed-center#dashboard)
    - [Monitoring](https://knowledge.maxcluster.de/managed-center#monitoring)
    - [Webserver](https://knowledge.maxcluster.de/managed-center#webserver)
    - [Datenbanken](https://knowledge.maxcluster.de/managed-center#datenbanken)
    - [Suchengines](https://knowledge.maxcluster.de/managed-center#suchengines)
    - [Zugriff & Verwaltung](https://knowledge.maxcluster.de/managed-center#zugriff-verwaltung)
    - [ShopPerformance](https://knowledge.maxcluster.de/managed-center#shopperformance)
    - [ShopSecurity](https://knowledge.maxcluster.de/managed-center#shopsecurity)
    - [Analyse](https://knowledge.maxcluster.de/managed-center#analyse)
    - [Sicherheit](https://knowledge.maxcluster.de/managed-center#sicherheit)
    - [Systemdienste](https://knowledge.maxcluster.de/managed-center#systemdienste)
    - [Weitere Informationen](https://knowledge.maxcluster.de/managed-center#weitere-informationen)
- [SSL-Zertifikate](https://knowledge.maxcluster.de/ssl-zertifikate#main-content)

    - [Anleitung](https://knowledge.maxcluster.de/ssl-zertifikate#anleitung)
    - [Information](https://knowledge.maxcluster.de/ssl-zertifikate#information)
- [Domain](https://knowledge.maxcluster.de/domain#main-content)

    - [Informationen](https://knowledge.maxcluster.de/domain#informationen)
- [Tipps & Tricks](https://knowledge.maxcluster.de/tipps-tricks#main-content)

    - [Allgemein](https://knowledge.maxcluster.de/tipps-tricks#allgemein)
    - [ASV-Scan](https://knowledge.maxcluster.de/tipps-tricks#asv-scan)
    - [E-Mail](https://knowledge.maxcluster.de/tipps-tricks#e-mail)
    - [PCI-DSS](https://knowledge.maxcluster.de/tipps-tricks#pci-dss)
    - [Penetrationstest](https://knowledge.maxcluster.de/tipps-tricks#penetrationstest)
- [Allgemeines](https://knowledge.maxcluster.de/allgemeines)
- [Aktuelle Sicherheitsmeldungen](https://knowledge.maxcluster.de/aktuelle-sicherheitsmeldungen)
- [Magento](https://knowledge.maxcluster.de/magento#main-content)

    - [Information](https://knowledge.maxcluster.de/magento#information)
- [Shopware](https://knowledge.maxcluster.de/shopware#main-content)

    - [Anleitung](https://knowledge.maxcluster.de/shopware#anleitung)
- [Pimcore](https://knowledge.maxcluster.de/pimcore#main-content)

    - [Anleitung](https://knowledge.maxcluster.de/pimcore#anleitung)
    - [FAQ](https://knowledge.maxcluster.de/pimcore#faq)
- [Akeneo](https://knowledge.maxcluster.de/akeneo#main-content)

    - [Anleitung](https://knowledge.maxcluster.de/akeneo#anleitung)
    - [FAQ](https://knowledge.maxcluster.de/akeneo#faq)
- [Mage-OS](https://knowledge.maxcluster.de/mage-os#main-content)

    - [FAQ](https://knowledge.maxcluster.de/mage-os#faq)
- [Hyvä](https://knowledge.maxcluster.de/hyv%C3%A4#main-content)

    - [FAQ](https://knowledge.maxcluster.de/hyv%C3%A4#faq)

[![maxcluster-logo\_schwarz\_rot\_ohne\_claim\_cmyk](https://knowledge.maxcluster.de/hs-fs/hubfs/maxcluster-logo_schwarz_rot_ohne_claim_cmyk.png?width=200&height=31&name=maxcluster-logo_schwarz_rot_ohne_claim_cmyk.png "maxcluster-logo_schwarz_rot_ohne_claim_cmyk")](https://maxcluster.de/)

<https://www.xing.com/pages/maxclustergmbh> <https://www.linkedin.com/company/maxcluster-gmbh/> <https://www.facebook.com/> <https://www.youtube.com/@maxcluster>

Copyright © 2025, maxcluster GmbH