Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- Alembic
- alb
- 캐시서버
- 가비지컬렉션
- 싱글톤 디자인 패턴
- EKS
- CPU스케쥴링
- 글또
- 로드밸런서
- Django
- golang
- nestjs
- K8S
- 회고
- AWS
- 스레드풀
- 멀티스레드
- gunicorn
- FastAPI
- 분산처리
- Python
- 2022년
- 쿠버네티스
- 쿠베네티스
- SQLAlchemy
- 백엔드 개발자
- 스케줄링
- 메모리구조
- uvicorn
- nodejs
Archives
- Today
- Total
목록SQLAlchemy (1)
서버에서 살아남기

언어 : Python 프레임워크 : FastAPI ORM : SQLAlchemy 마이그레이션 툴 : alembic alembic documentaion : https://alembic.sqlalchemy.org/en/latest/index.html 1. SQLAlchemy SQLAlchemy 의 경우 migration 기능을 포함하지 않으며, Alembic 이라는 별도 패키지를 함께 사용해야합니다. 2. Alembic transsactional DDL 을 지원합니다. 그래서 Database Scema가 생성되기 전에는 Database 변경이 일어나지 않습니다. 마이그레이션 명령어를 입력하면 upgrade & downgrade function과 함께 script 파일이 생성됩니다. 해당 파일에는 revis..
python
2023. 7. 22. 13:29