database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Devel 3522 게시물 읽기
No. 3522
PostgreSQL 응용 프로그램 작성하기 (II)
작성자
정재익(advance)
작성일
2001-10-17 10:22
조회수
11,233
첨부파일: node1.html (10,685bytes)

왜 Database 를 사용하는가?

 

번역자 : 정재익

원문 : http://www.ca.postgresql.org/docs/momjian/writing_apps/node1.html

 

Database 를 기반으로 하는 응용프로그램들은 database 를 대단히 특성있게 사용한다. 그들은 응용프로그램에서의 입력, 처리 그리고 출력 모두에 사용한다. 그들은 database 를 응용프로그램에서 이용할 정보를 저장하고, 그리고 다른 응용프로그램과 공유하기 위해 사용한다.

 

요약하여 말하면 응용프로그램들은 자신들만의 :

 

. 입력

. 처리

. 출력

 

을 가지며, 데이터베이스의 종류에 따라서 :

 

. 영구저장장치

. 정보공유

 

등으로 나눌수 있다.

 

예를들면, 응용프로그램이 일단 그들의 query 를 commit 시키면, 다른 사용자들은 그 내용을 볼수 있다. 마찬가지로 응용 프로그램이 종료된 후에라도 정보는 데이터베이스 내부에 저장되어 남아 있게 된다.

 

물론 데이터에비스가 꼭 정보를 영원히 저장하고 공유할 필요는 없다. 정보라고 하는 것은 단순한 파일 내부에 영원히 저장될 수도 있고, 응용 프로그램간에 정보를 공유하기 위해서 공유메모리 공간 내에 저장할 수도 있다. 데이터베이스는 이들은 아주 쉽게 가능하게 만든다. 그리고 프로그램머의 응용프로그램 작업을 더 쉽게 마들어 주는 transaction, indexing, join, aggregates 그리고 테이블 구조 등이 가능하다.

 

 

Why Use a Database?

 

Database-backed applications use databases in very specific ways. They do all the input, processing, and display in the application. They use the database to store information that must be kept after the application exits and information that must be shared with other applications. In summary, the application does its own:

 

 

. Input

. Processing

. Display

 

and relies on the database for:

 

. Permanent storage

. Sharing information

 

For example, once an application commits a query, all users can see its changes. Also, when the application exits, all information remains stored in the database.

Of course, a database is not required to permanently store or share information. Information can be stored permanently in flat files and a shared memory area can be used to share information among applications. However, databases make this much easier, and have features like transactions, indexing, joins, aggregates, and a table structure that makes the job of the application programmer easier.

[Top]
No.
제목
작성자
작성일
조회
3544PostgreSQL 응용 프로그램 작성하기 (V)
정재익
2001-10-18
13095
3537PostgreSQL 응용 프로그램 작성하기 (IV)
정재익
2001-10-18
11844
3536PostgreSQL 응용프로그램 작성하기 (III)
정재익
2001-10-18
11004
3522PostgreSQL 응용 프로그램 작성하기 (II)
정재익
2001-10-17
11233
3521PostgreSQL 응용 프로그램 작성하기 (I)
정재익
2001-10-17
13435
3513Technical Documents for PostgreSQL [1]
정재익
2001-10-16
10766
3490계정에 관한 간단한 팁(admin)
송정훈
2001-10-12
9492
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.048초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다