<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,<br>
<br>
Bài viết mới về cấu trúc thư mục dữ liệu PostgreSQL.<br>
<br>
Mời mọi người tham khảo và cho ý kiến.<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.postgresql.vn/blog/databasecluster">https://www.postgresql.vn/blog/databasecluster</a><br>
<br>
--- trích dẫn ---<br>
</p>
<h1 style="margin: 1em 0px 0.5em; font-weight: inherit; font-size:
1.357em; color: rgb(0, 0, 0); font-family: Nunito, sans-serif;
font-style: normal; font-variant-caps: normal; letter-spacing:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;">Thư mục dữ liệu PostgreSQL</h1>
<p style="margin: 0px 0px 1.2em; color: rgb(59, 59, 59);
font-family: Nunito, sans-serif; font-size: 16.279199600219727px;
font-style: normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;">Để chạy một câu lệnh SQL, tạo
bảng dữ liệu, hay lưu trữ dữ liệu PostgreSQL cũng như các RDBMS
khác chúng ta cần một thư mục chứa dữ liệu, PostgreSQL gọi đó là
database cluster. Sau khi cài đặt PostgreSQL, database cluster
được tạo ra bởi lệnh initdb. Nếu bạn cài đặt qua installer trên
Windows, database cluster sẽ tự động được tạo ra trong quá trình
cài đặt. Sau khi tạo một database cluster, ta có thể khởi động
database cluster này lên và thực hiện các câu truy vấn tuỳ ý.</p>
<blockquote style="background-color: rgb(247, 247, 247);
border-left-width: 1px; border-left-style: solid;
border-left-color: rgb(187, 187, 187); font-style: italic; margin:
1.5em 10px; padding: 0.5em 10px; color: rgb(59, 59, 59);
font-family: Nunito, sans-serif; font-size: 16.279199600219727px;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-position: initial
initial; background-repeat: initial initial;">
<p style="margin: 0px 0px 1.2em; display: inline;">Các database
cluster phân biệt bởi parameter port (postgresql.conf). Ta có
thể cài đặt nhiều database cluster trên một hệ điều hành bằng
cách đặt port khác nhau cho mỗi database cluster.<br>
</p>
</blockquote>
<p><br>
...<br>
---------------<br>
<br>
<br>
Xin cảm ơn<br>
—<br>
Together we work better<br>
Cộng đồng PostgreSQL Việt Nam<br>
</p>
</body>
</html>