본문 바로가기

데이터베이스12

MYSQL 테이블 대소문자 구분 안하기 프로젝트에서 Quartz Scheduler 연동하는데 내 PC LocalDB에서 아래 오류가 계속 발생 한다. Table 'sfs_sds_rotterdam_db.QRTZ_TRIGGERS' doesn't exist 원인을 확인해보니 MySQL에서 테이블 대소문자를 구분하도록 되어 있어서 발생한 현상으로 아래 Query로 설정 정보를 확인할 수 있다. show variables like 'lower_case_table_names'; 나의 경우엔 Value값이 '0'으로 구분하는 것으로 설정되어 있다. 해당값을 '1'로 변경 후 다시 시도해본다. 2022. 7. 21.
MySQL 테이블 생성 Query 확인 MySQL 테이블 생성 Query 확인 SHOW CREATE TABLE [Table명]; Ex) SHOW CREATE TABLE test_table; 2022. 1. 26.
[MySQL]대용량 데이터 처리 Option (innodb_buffer_pool_size) 업무에 대용량 데이터를 핸들링할 일이 생겼다. Query의 속도도 문제지만 해당 데이터를 불러와 loading해야 하는데 실행되지 않는다. 이때 innodb_buffer_pool_size를 조정, 문제를 해결 했다. # InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and # row data. The bigger you set this the less disk I/O is needed to # access data in tables. On a dedicated database server you may set this # parameter up to 80% of the machine physical memory size. Do not s.. 2021. 10. 16.
MySQL WorkBench에서 사용관련 정리 Schedule Event 조회 select * from information_schema.events; Schedule Event 활성화 여부 확인 show variables like 'event%'; set global event_scheduler=ON; #event_scheduler 사용 set global event_scheduler=OFF; #event_scheduler 사용안함 참조 게시물 link https://pinokio0702.tistory.com/85 2021. 6. 3.