'2019/06/12'에 해당되는 글 4건

  1. 2019.06.12 postresql backup & recovery
  2. 2019.06.12 postgresql schema
  3. 2019.06.12 ArduinoDroid
  4. 2019.06.12 docker api

기존의 시스템에서 사용자가 설치한 postgresql 을 쓰고 있는데

이걸 리눅스 패키지에서 제공하는 녀석으로 파일 레벨에서 갈아 치우는 방법 찾는 중

(일일이 백업해서 옮기기 귀찮...)

 

[링크 : https://www.postgresql.org/docs/9.1/backup-file.html]

[링크 : https://stackabuse.com/backing-up-and-restoring-postgresql-databases/]

 

 

+

[링크 : https://h391106.tistory.com/352]

 

 

+

정 안되면 

pg_dumpall | gzip > backup.gz

식으로 한번 뺴봐야 할 듯

 

[링크 : https://www.postgresql.org/docs/9.1/backup-dump.html]

 

+

[링크 : https://www.opsdash.com/blog/postgresql-backup-restore.html]

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

postgresql dbms 설정  (0) 2019.06.14
pgadmin dashboard 살려내기  (0) 2019.06.13
postgresql schema  (0) 2019.06.12
postgres db 속도 향상  (0) 2019.06.07
postgresql drop all tables  (0) 2019.06.05
Posted by 구차니

pgadmin 으로 보다 보니 database > schema > table 순서로 냐오는게 있어서 찾는중

기본은 public schema인데 이게 머하는거지?

 

DB는 하나 이상의 'named schemaf'를 포함함. 

일단은.. 귀찮으면 기본으로 제공되는 public 하나만 쓰고 테이블 별로 권한을 주고 싶으면

schema를 생성해서 테이블별로 사용자 권한을 주면 될 듯.

A database contains one or more named schemas, which in turn contain tables. Schemas also contain other kinds of named objects, including data types, functions, and operators.

 

There are several reasons why one might want to use schemas:
 To allow many users to use one database without interfering with each other. 
 To organize database objects into logical groups to make them more manageable.
 Third-party applications can be put into separate schemas so they do not collide with the names of other objects.

 

database.schema.table

 

Thus, the following are equivalent:

CREATE TABLE products ( ... );
and:

CREATE TABLE public.products ( ... );

[링크 : https://www.postgresql.org/docs/9.1/ddl-schemas.html]

 

 

스키마는 테이블들의 named collection 이다.

A schema is a named collection of tables. A schema can also contain views, indexes, sequences, data types, operators, and functions.

[링크 : https://www.tutorialspoint.com/postgresql/postgresql_schema.htm]

[링크 : http://www.postgresqlforbeginners.com/2010/12/schema.html]

 

[링크 : https://ktdsoss.tistory.com/184]

[링크 : https://blog.naver.com/seuis398/70097173659]

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

pgadmin dashboard 살려내기  (0) 2019.06.13
postresql backup & recovery  (0) 2019.06.12
postgres db 속도 향상  (0) 2019.06.07
postgresql drop all tables  (0) 2019.06.05
postgresql import from csv  (0) 2019.06.04
Posted by 구차니
파일방2019. 6. 12. 16:15

헐.. 핸드폰에서 바로 아두이노 프로그래밍하고 올릴수 있는 신세계라니!

 

[링크 : https://www.youtube.com/watch?v=YgK2l6xdmbE]

[링크 : https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2&hl=ko]

'파일방' 카테고리의 다른 글

MagicaVoxel  (0) 2020.03.23
ether / win32diskimager 대체 프로그램  (0) 2020.03.07
ups protocol  (0) 2019.04.29
열해석 프로그램(오픈소스)  (0) 2019.03.31
배터리 체크 유틸리티  (2) 2019.03.25
Posted by 구차니
프로그램 사용/docker2019. 6. 12. 10:12

 

윽... 뱀은 있어도 c계열은 unofficial이네..

걍 소켓으로 HTTP로 주고 받는게 편하려나...

 

[링크 : https://docs.docker.com/develop/sdk/]

'프로그램 사용 > docker' 카테고리의 다른 글

docker / win10 home / hyper-V  (0) 2019.07.09
docker run -p hport:cport  (0) 2019.06.13
docker ps 옵션 차이  (0) 2019.06.11
docker 컨테이너 이미지 이름으로 검색하기  (0) 2019.06.10
docker create와 docker rm  (0) 2019.05.30
Posted by 구차니