Creating tablespaces in Postgresql ; Best practices
How do dictionaries source attestation?
Website seeing facebook data from another site?
What is an efficient way to digitize a family photo collection?
What would be some possible ways of escaping higher gravity planets?
How bad is a Computer Science course that doesn't teach Design Patterns?
Where does documentation like business and software requirement spec docs fit in an agile project?
Is the symmetric product of an abelian variety a CY variety?
Are all power cords made equal?
"Starve to death" Vs. "Starve to the point of death"
Boss asked me to sign a resignation paper without a date on it along with my new contract
What is a good way to explain how a character can produce flames from their body?
why typing a variable (or expression) prints the value to stdout?
Does it take energy to move something in a circle?
RS485 using USART or UART port on STM32
Besides PR credit, does diversity provide anything that meritocracy does not?
Identical projects by students at two different colleges: still plagiarism?
Should a new user just default to LinearModelFit (vs Fit)
Why is Shelob considered evil?
How to deal with an underperforming subordinate?
How to politely refuse in-office gym instructor for steroids and protein
How can find the 2D Voronoi cell area distribution?
Kernel and image of matrix: What are they? Why do they exist?
Is .NET Framework 3.5 still needed with a SQL Server 2017 installation to utilize Database Mail?
Coworker asking me to not bring cakes due to self control issue. What should I do?
Creating tablespaces in Postgresql ; Best practices
PostgreSQL version : 11.2
OS : RHEL or Oracle Linux 7.6 (Yet to be decided)
I am at the design stage of setting up a production database. In production, this DB size will be around 300GB to 400GB in size.
This is what I have in mind. Please let me know if this is a good idea for a Postgres production deployment.
I will get the below filesystems mounted with the following sizes.
/db ----> 50 GB
/db_data ---> 500 GB
I will initialize the database cluster in the custom location /db/postgres/pg11/data
.
And right from the start I will start creating tablespaces like below
CREATE TABLESPACE orders_tbs LOCATION '/pgdata/<db_name>/orders_tbs';
and place business objects in these tablespaces like below
CREATE TABLE orders (id int, order_item text) tablespace orders_tbs;
postgresql
New contributor
add a comment |
PostgreSQL version : 11.2
OS : RHEL or Oracle Linux 7.6 (Yet to be decided)
I am at the design stage of setting up a production database. In production, this DB size will be around 300GB to 400GB in size.
This is what I have in mind. Please let me know if this is a good idea for a Postgres production deployment.
I will get the below filesystems mounted with the following sizes.
/db ----> 50 GB
/db_data ---> 500 GB
I will initialize the database cluster in the custom location /db/postgres/pg11/data
.
And right from the start I will start creating tablespaces like below
CREATE TABLESPACE orders_tbs LOCATION '/pgdata/<db_name>/orders_tbs';
and place business objects in these tablespaces like below
CREATE TABLE orders (id int, order_item text) tablespace orders_tbs;
postgresql
New contributor
add a comment |
PostgreSQL version : 11.2
OS : RHEL or Oracle Linux 7.6 (Yet to be decided)
I am at the design stage of setting up a production database. In production, this DB size will be around 300GB to 400GB in size.
This is what I have in mind. Please let me know if this is a good idea for a Postgres production deployment.
I will get the below filesystems mounted with the following sizes.
/db ----> 50 GB
/db_data ---> 500 GB
I will initialize the database cluster in the custom location /db/postgres/pg11/data
.
And right from the start I will start creating tablespaces like below
CREATE TABLESPACE orders_tbs LOCATION '/pgdata/<db_name>/orders_tbs';
and place business objects in these tablespaces like below
CREATE TABLE orders (id int, order_item text) tablespace orders_tbs;
postgresql
New contributor
PostgreSQL version : 11.2
OS : RHEL or Oracle Linux 7.6 (Yet to be decided)
I am at the design stage of setting up a production database. In production, this DB size will be around 300GB to 400GB in size.
This is what I have in mind. Please let me know if this is a good idea for a Postgres production deployment.
I will get the below filesystems mounted with the following sizes.
/db ----> 50 GB
/db_data ---> 500 GB
I will initialize the database cluster in the custom location /db/postgres/pg11/data
.
And right from the start I will start creating tablespaces like below
CREATE TABLESPACE orders_tbs LOCATION '/pgdata/<db_name>/orders_tbs';
and place business objects in these tablespaces like below
CREATE TABLE orders (id int, order_item text) tablespace orders_tbs;
postgresql
postgresql
New contributor
New contributor
New contributor
asked 40 secs ago
Keith BrabantKeith Brabant
4
4
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Keith Brabant is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f230656%2fcreating-tablespaces-in-postgresql-best-practices%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Keith Brabant is a new contributor. Be nice, and check out our Code of Conduct.
Keith Brabant is a new contributor. Be nice, and check out our Code of Conduct.
Keith Brabant is a new contributor. Be nice, and check out our Code of Conduct.
Keith Brabant is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f230656%2fcreating-tablespaces-in-postgresql-best-practices%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown