Skocz do zawartości

aktualizacja do 1.30.5

Polecane posty

Czy na dysku jest wystarczająco dużo miejsca aby utworzyć kopię bazy danych? Można wykonać również archiwizację bazy z programu, wtedy będzie możliwość pominięcia tworzenia kopii.

Aktualizacja powinna być również wykonywana na komputerze serwerowym, można również dodatkowo uruchomić Sello jak administrator, aby ominąć ewentualne problemy z uprawnieniami do folderów.

Link to postu
Msg 8909, Level 16, State 1, Line 1
Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 0 (type Unknown), page ID (1:1705880) contains an incorrect page ID in its page header. The PageId in the page header = (0:0).
Msg 8909, Level 16, State 1, Line 1
Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 0 (type Unknown), page ID (1:1705881) contains an incorrect page ID in its page header. The PageId in the page header = (0:0).
Msg 8909, Level 16, State 1, Line 1
Table error: Object ID 0, index ID -1, partition ID 0, alloc unit ID 0 (type Unknown), page ID (1:1705882) contains an incorrect page ID in its page header. The PageId in the page header = (0:0).
Msg 8921, Level 16, State 1, Line 1
Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.
CHECKDB found 0 allocation errors and 3 consistency errors not associated with any single object.
Msg 8928, Level 16, State 1, Line 1
Object ID 795149878, index ID 0, partition ID 72057594049331200, alloc unit ID 72057594055819264 (type In-row data): Page (1:1705880) could not be processed.  See other errors for details.
Msg 8928, Level 16, State 1, Line 1
Object ID 795149878, index ID 0, partition ID 72057594049331200, alloc unit ID 72057594055819264 (type In-row data): Page (1:1705881) could not be processed.  See other errors for details.
Msg 8928, Level 16, State 1, Line 1
Object ID 795149878, index ID 0, partition ID 72057594049331200, alloc unit ID 72057594055819264 (type In-row data): Page (1:1705882) could not be processed.  See other errors for details.
CHECKDB found 0 allocation errors and 3 consistency errors in table 'tr_History' (object ID 795149878).
CHECKDB found 0 allocation errors and 6 consistency errors in database 'LEMI_AUKCJE'.

 

Link to postu

Czyli są błędy. Akurat dotyczą historii transakcji więc ewentualna utrata kilku danych nie będzie raczej problemem.

Aby naprawić te problemy należy skorzystać z poniższego polecenia:

alter database TUTAJ_NAZWA_BAZY set SINGLE_USER
dbcc checktable ( 'tr_History', REPAIR_ALLOW_DATA_LOSS )
alter database TUTAJ_NAZWA_BAZY set MULTI_USER

Jest również błąd informujący o uszkodzeniu systemowej tabeli serwera SQL, więc chyba jakaś grubsza awaria prądu była lub zaczynają się problemy z dyskiem twardym/SSD. Tutaj też poleciłbym przeskanować dyski.

Link to postu

pokazał się taki błąd

Msg 2501, Level 16, State 45, Line 2
Cannot find a table or object with the name "tr_History". Check the system catalog.

a jak robie select na tej tabeli to jest błąd

Msg 824, Level 24, State 2, Line 1
SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:1705880; actual 0:0). It occurred during a read of page (1:1705880) in database ID 10 at offset 0x00000340f30000 in file 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\LEMI_AUKCJE-kopia-kopia.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.

 

Link to postu

w koncu wykonał się skrypt

alter database TUTAJ_NAZWA_BAZY set SINGLE_USER
dbcc checktable ( 'tr_History', REPAIR_ALLOW_DATA_LOSS )
alter database TUTAJ_NAZWA_BAZY set MULTI_USER

zwrócił

DBCC results for 'tr_History'.
There are 0 rows in 0 pages for object "tr_History".
DBCC execution completed. If DBCC printed error messages, contact your system administrator.

ale przy backupie bazy danych nadal jest błąd CRC

skrypt

DBCC CheckDB ('LEMI_AUKCJE') WITH NO_INFOMSGS, ALL_ERRORMSGS

zwraca

Msg 8921, Level 16, State 1, Line 1
Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.

wygląda jak by coś było z tempem ale jak pisałem wcześniej na dysku jest pond 100 GB wolnego chyba ze jakos specjalnie trzeba allokowac pamieć

Link to postu

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.
Uwaga: Twój wpis zanim będzie widoczny, będzie wymagał zatwierdzenia moderatora.

Użytkownik forum
Odpowiedz...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

×
×
  • Dodaj nową pozycję...