microsoft / microsoft/sql-server-samples
Table Application.Logs produces error on the Clustered Columnstore Index when trying to deploy
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PowerShell
- Sterne
- 11.2k
- Forks
- 9.1k
- Ø Merge
- 2 T. 7 Std.
- Gemergte PRs (30 T.)
- 14
Beschreibung
Cloned the repro as of 2018-11-24. Attempted to deply the WWI database. Received the following error.
Creating [Application].[Logs].[CCX_Application_Logs]...
Warning! The maximum key length for a clustered index is 900 bytes. The index 'CCX_Application_Logs' has maximum length of 8000 bytes. For some combination of large values, the insert/update operation will fail.
(774,1): SQL72014: .Net SqlClient Data Provider: Msg 35343, Level 16, State 1, Line 4 The statement failed. Column 'LogEvent' has a data type that cannot participate in a columnstore index. Omit column 'LogEvent'.
(771,0): SQL72045: Script execution error. The executed script:
CREATE CLUSTERED INDEX [CCX_Application_Logs]
ON [Application].Logs;
CREATE CLUSTERED COLUMNSTORE INDEX [CCX_Application_Logs]
ON [Application].[Logs] WITH (DROP_EXISTING = ON);
An error occurred while the batch was being executed.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie mit der WWI-Datenbankbereitstellungsdefinition für Application.Logs und reproduzieren Sie die im Fehler gezeigte Bereitstellung des gruppierten Columnstore-Index. Überprüfen Sie die Definition von CCX_Application_Logs anhand der gemeldeten LogEvent-Inkompatibilität; abgeschlossen ist die Aufgabe, wenn die Bereitstellung ohne die Fehler SQL72014 oder SQL72045 abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- sql
- Bereich
- databases
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100