본문 바로가기

SQL

(4)
mariadb 백업 복원 전체 db 백업 mysqldump -uroot --all-databases > backup.sql 전체 나 특정 db 복원 mysql -uaccount -ppassword < backup.sql mysql -uaccount -ppassword dbname < backup.sql
MariaDB Connect Storage Engine 설치 (Windows) 다른 DB연결을 위한 디비링크 플러그인 Connect Storage Engine MariaDB에서는 10.2 버젼 이후부터 정식적으로 지원 하기 때문에 10.2 버젼 이상 설치를 권장, https://mariadb.com/kb/en/connect/ Connect VersionIntroducedMaturity Connect 1.07.0002 MariaDB 10.5.9, MariaDB 10.4.18, MariaDB 10.3.28, MariaDB 10.2.36 Stable Connect 1.07.0001 MariaDB 10.4.12, MariaDB 10.3.22, MariaDB 10.2.31, MariaDB 10.1.44 Stable Connect 1.06.0010 MariaDB 10.4.8, MariaDB ..
MSSQL 트랜젝션 로그(transaction log) 축소(shrink) ALTER DATABASE testdb -- DB명 SET RECOVERY SIMPLE; GO -- 로그파일을 50MB로 축소 DBCC SHRINKFILE (testdb_log, 50); -- LOG 파일 명 GO ALTER DATABASE testdb SET RECOVERY FULL; GO
MSSQL Cluster 환경 내 리포팅 서비스(Reporting Services) 설치 하기 참고 원문 : https://www.mssqltips.com/sqlservertip/2778/how-to-add-reporting-services-to-an-existing-sql-server-clustered-instance/ MS Cluster가 구성 된 환경에서 리포팅 기능 추가 시 하기와 같이 메시지가 노출되며 설치 진행이 불가합니다. 자세한 보고서 보기 클릭 하여 확인 체크 하는 부분을 스킵Setup.exe /SkipRules=StandaloneInstall_HasClusteredOrPreparedInstanceCheck /Action=Install 설치 진행 설치할 인스턴스 설정 후 다음 Reporting Services 체크 설치만(구성은 설치 완료 후에 진행) Reporting Servic..