아무래도 양쪽 시력이 너무 달라서 안경을 껴야 할지도..
나도.. 국민학교 3학년때 끼기 시작했는데
딸래미는 더 빨라졌네..
'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글
| 그래도 추석이라고 보름달인데 (2) | 2019.09.13 | 
|---|---|
| 피자헛 오늘의 피자 맛있네 (0) | 2019.09.07 | 
| 분노조절 실패모드 (0) | 2019.08.24 | 
| 오늘도 키즈카페 (2) | 2019.08.18 | 
| 키즈카페 (0) | 2019.08.17 | 
아무래도 양쪽 시력이 너무 달라서 안경을 껴야 할지도..
나도.. 국민학교 3학년때 끼기 시작했는데
딸래미는 더 빨라졌네..
| 그래도 추석이라고 보름달인데 (2) | 2019.09.13 | 
|---|---|
| 피자헛 오늘의 피자 맛있네 (0) | 2019.09.07 | 
| 분노조절 실패모드 (0) | 2019.08.24 | 
| 오늘도 키즈카페 (2) | 2019.08.18 | 
| 키즈카페 (0) | 2019.08.17 | 
[링크 : https://www.postgresql.org/docs/9.1/functions-srf.html]
[링크 : https://blog.gaerae.com/2015/09/postgresql-generate-series.html]
| postgresql \copy에서 시작 몇줄 무시하기 (0) | 2019.09.02 | 
|---|---|
| postgresql custom database dump 복구하기 (0) | 2019.09.02 | 
| where 1=1 (4) | 2019.08.27 | 
| join (0) | 2019.08.27 | 
| postgresql ROW_COUNT (0) | 2019.08.27 | 
몰라서..
wayland로 하니 한글이 이상하다
| mx linux - xfce + debian (0) | 2019.10.14 | 
|---|---|
| ubuntu 18.04 / phpmyadmin 실행안될때 (0) | 2019.09.04 | 
| ubuntu virtual desktop (0) | 2019.08.28 | 
| ubuntu 18.04 fsck 예약(?) (0) | 2019.08.27 | 
| ubuntu postgresql 실행 (0) | 2019.07.30 | 
각 업체들 클라우드 서비스 보다보니
가상서버인데 cpu 할당을 한다는 이야기가 있어서 찾아보니
이건가 싶긴한데.. 도대체 가상머신에서 cpu를 고정할당한다는게 무슨 의미일까..
하이퍼바이저에 의한 스케쥴링이 아닌
특정 게스트에 cpu affinity를 지정해주는걸 의미하는걸려나?
그게 어떠한 메리트가 존재는 하는건가?
[링크 : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/virtualization/ch33s08]
| kvm ubuntu Xorg cpu 100% 문제 (0) | 2019.10.10 | 
|---|---|
| kvm/qemu 로그 위치 (0) | 2019.10.07 | 
| virsh host only network (0) | 2019.07.09 | 
| vmdk를 qcow2로 변경하기 (2) | 2019.07.09 | 
| kvm virsh console 사용하기 (0) | 2019.05.16 | 
상하로 된걸 좌우로 하고 싶고, 4개로도 2x2로 하고 싶어서 했는데 망...했어요~
unity는 구버전에서 쓰던 그건데 그거보단 지금의 gnome3가 나으니 크윽...
| gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-right "['Right']" | 
[링크 : https://askubuntu.com/questions/1033069/how-move-window-to-left-right-workspace]
헐...
깔다 보니 lightdm과 gdm을 묻는데.. 일단은 lightdm으로 해둠.. 잘 돌려나?
| $ sudo apt install ubuntu-unity-desktop unity-tweak-tool 패키지 목록을 읽는 중입니다... 완료  | 
[링크 : https://askubuntu.com/questions/1040075/can-i-have-rectangular-grid-workspace-in-ubuntu-18-04]
+
lightdm이 아니라 gdm3로 해주어야 하는구나..
| $ sudo dpkg-reconfigure gdm3 | 
[링크 : https://askubuntu.com/questions/152256/how-do-i-switch-from-lightdm-to-gdm]
+
unity는 캐노니컬에서 손 놔서 영 좋지 않은 상황이라고
[링크 : https://logon.tistory.com/720]
+
wayland로 바꾸어야 하는구나. 세션이 문제가 아니었나..
아니... wayland가 세션메니저인가?
| ubuntu 18.04 / phpmyadmin 실행안될때 (0) | 2019.09.04 | 
|---|---|
| ubuntu 18.04 wayland와 ubuntu session (0) | 2019.08.28 | 
| ubuntu 18.04 fsck 예약(?) (0) | 2019.08.27 | 
| ubuntu postgresql 실행 (0) | 2019.07.30 | 
| bash-completion (0) | 2019.07.09 | 
언젠간 써보고 말거야 -_-
| 요금제를 갈아타... 자? (0) | 2020.04.24 | 
|---|---|
| 포켓몬고 500번대 (2) | 2019.09.17 | 
| 게임 하나 접음 (2) | 2019.07.22 | 
| 일단은 freet SKT로 번호이동! (0) | 2019.04.08 | 
| 에라이 3g 못써먹겠다!!! (4) | 2019.04.05 | 
나~쁘게 말하면.. 조건식에서 AND를 넣냐 마냐로 고민하기 싫으니
where 1=1라는 항상 참인 조건을 주고 그 이후에 AND 조건식 이런식으로 붙여 나가는 방법을 쓰겠다~ 라는 것이군..
[링크 : http://hatisgood.tistory.com/entry/SQL-where-11-하는-이유]
| postgresql custom database dump 복구하기 (0) | 2019.09.02 | 
|---|---|
| postgresql generate_series() (0) | 2019.08.28 | 
| join (0) | 2019.08.27 | 
| postgresql ROW_COUNT (0) | 2019.08.27 | 
| sql select if or case (0) | 2019.08.26 | 
+

[링크 : https://www.w3schools.com/sql/sql_join.asp]
끄앙.. 다시 보려니 머리가 안돌아간다
left join
테이블 두개를 조인할때 왼쪽의 것과, 두개의 교집합 까지만 허용
[링크 : https://makand.tistory.com/entry/SQL-LEFT-JOIN-구문]
right join
두개 중에 오른쪽 것과, 두개의 교집합 허용이라는데.. 굳이 left, right할 이유가 있나 싶네..
걍 테이블 순서 바꾸어서 하세요~ 하면 되지 않았을려나?
[링크 : https://makand.tistory.com/entry/SQL-RIGHT-JOIN-구문]
inner join
교집합만
[링크 : https://makand.tistory.com/entry/SQL-INNER-JOIN-구문]
left outer join - 조건이 맞지 않더라도 왼쪽 테이블 전체 내용이 나옴
right outer join
full outer join(full join) 조건이 아닌 컬럼도 포함(왜?)
[링크 : https://limkydev.tistory.com/144]
(일종의.. 전체 목록 꺼내기에 가까운 느낌?)
[링크 : https://thebook.io/006696/part01/ch06/03/04/]
+
문득 full outer join 이랑 select distinct union 이랑 같은거 아닌가 싶긴한데..
찾아보니 union은 vertical이고 join은 horizontal이라고 하는데 무슨 의미인지 감이 잘 안오네..
full outer join vs union distinct
[링크 : https://www.quora.com/What-is-the-difference-between-full-outer-join-and-union-in-SQL]
| postgresql generate_series() (0) | 2019.08.28 | 
|---|---|
| where 1=1 (4) | 2019.08.27 | 
| postgresql ROW_COUNT (0) | 2019.08.27 | 
| sql select if or case (0) | 2019.08.26 | 
| order by group by (0) | 2019.08.26 | 
select 로 몇개 줄이 나왔는지는 못하는것 같고(perform 해서 어떻게 받는게 가능해 보이긴 하지만)
select into나
update, insert문 등에 의해 영향을 받은(affected) 것에 대해서 출력이 되는 듯
| GET DIAGNOSTICS integer_var = ROW_COUNT; | 
[링크 : https://www.postgresql.org/docs/9.0/plpgsql-statements.html]
변수 선언
| DO $$ DECLARE varname integer := 0; BEGIN get diagnostics age = row_count; raise notice '%', age; END $$; | 
[링크 : http://www.postgresqltutorial.com/plpgsql-variables/]
[링크 : http://www.gisdeveloper.co.kr/?p=4573]
+
pg 9.3 이후 부터 지원되는 듯
| Allow PL/pgSQL to access the number of rows processed by COPY (Pavel Stehule) A COPY executed in a PL/pgSQL function now updates the value retrieved by GET DIAGNOSTICS x = ROW_COUNT. | 
[링크 : https://stackoverflow.com/questions/16610449/get-the-count-of-rows-from-a-copy-command]
| where 1=1 (4) | 2019.08.27 | 
|---|---|
| join (0) | 2019.08.27 | 
| sql select if or case (0) | 2019.08.26 | 
| order by group by (0) | 2019.08.26 | 
| postgresql 정규 표현식 검색 (0) | 2019.08.26 | 
이라고 하긴 제목이 이상한데..
일단은 18.04에서는 기본적으로 fsck를 실행하도록 예약(?)이 되어있지 않는 것으로 보인다.
max. mount count가 -1이라 자동으로 하진 않는데..
| $ sudo tune2fs -l /dev/sda1 | grep -i count Inode count: 14655488 Block count: 58607360 Reserved block count: 2930368 Mount count: 53 Maximum mount count: -1 | 
[링크 : https://linuxconfig.org/how-to-force-fsck-to-check-filesystem-after-system-reboot-on-linux]
애가 상태 이상해지면
sudo touch /forcefsck
해주는수 밖에 없나?
| ubuntu 18.04 wayland와 ubuntu session (0) | 2019.08.28 | 
|---|---|
| ubuntu virtual desktop (0) | 2019.08.28 | 
| ubuntu postgresql 실행 (0) | 2019.07.30 | 
| bash-completion (0) | 2019.07.09 | 
| 우분투 리눅스에 카카오톡 깔기 (2) | 2019.07.09 |