"Simple Solution for Complex Connection"
Bazen yükseltme SQL veritabanını doğru şekilde güncellemez ve eksik/yanlış adlandırılmış sütunlar ve/veya dizinler nedeniyle raporlama düzgün çalışmayacaktır.
“Exec sql-local rebuild-db” ilk seçenektir, ancak bu sorunu çözmezse veritabanının silinmesi ve yeniden oluşturulması bir sonraki adımdır.
Çözüm;
SQL db’yi kaldırın ve yeniden oluşturun:
1) Çalışma modunu collector olarak değiştirin.
#config system global
#set log-mode collector
#end
2) SQL’i devre dışı bırakın ve mevcut veritabanını kaldırın.
#config system sql
#set status disable
#end
#execute sql-local remove-db
3) SQL’i yeniden etkinleştirin.
#config system sql
#set status local
#end
4) Çalışma modunu tekrar analizer olarak değiştirin.
#config system global
#set log-mode analyzer
#end
5) Veritabanını yeniden oluşturun.
#exec sql-local rebuild-db
Notlar:
(1) rebuild-db komutu, cihazın yeniden başlatılmasına neden olur ve cihaz geri geldiğinde yeniden oluşturma işlemi başlar.
(2) Yeniden oluşturma durumunu göstermek için ‘diag sql status rebuild-db’ komutunu kullanın.
(3) Veritabanını yeniden oluşturmak için gereken süre, cihazda depolanan log miktarına bağlıdır.
(4) Bu yordam herhangi bir log dosyasını kaldırmasa da, önlem olarak log dosyalarını yedeklemeniz önerilir.
| Çerez | Süre | Açıklama |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |