Is it possible today to replicate 30 TB from multiple databases to PostgreSQL close to real-time?Request...
Virginia employer terminated employee and wants signing bonus returned
Why the color red for the Republican Party
Latest web browser compatible with Windows 98
How to create a hard link to an inode (ext4)?
Algorithm to convert a fixed-length string to the smallest possible collision-free representation?
Should QA ask requirements to developers?
How to pass a string to a command that expects a file?
What is the likely impact of grounding an entire aircraft series?
Single word request: Harming the benefactor
Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?
Word for a person who has no opinion about whether god exists
Built-In Shelves/Bookcases - IKEA vs Built
What Happens when Passenger Refuses to Fly Boeing 737 Max?
Finding algorithms of QGIS commands?
What wound would be of little consequence to a biped but terrible for a quadruped?
Set and print content of environment variable in cmd.exe subshell?
Offered promotion but I'm leaving. Should I tell?
Good allowance savings plan?
How much attack damage does the AC boost from a shield prevent on average?
How do I express some one as a black person?
PTIJ: How can I halachically kill a vampire?
Can someone explain what is being said here in color publishing in the American Mathematical Monthly?
Extra alignment tab has been changed to cr. } using table, tabular and resizebox
How do I deal with a powergamer in a game full of beginners in a school club?
Is it possible today to replicate 30 TB from multiple databases to PostgreSQL close to real-time?
Request suggestion for a database between MySQL and PostgresqlMonitoring real-time statistics on PostgreSQLSQL Server Many-to-One replicationStorage snapshots for consistent backup of postgresql - different data and log volumesStoring historical data in DB vs on diskWhat does MySQL mean by “Major Version”, and is MySQL replication supported between 5.1 and 5.6?Postgres sharding installation with citusdbReturn Maximum Rolling/Moving Count For Each Person For Any 90-day PeriodHow to real time replicate a SQL Server DB without primary keys definedFailure with ongoing replication from SQL Server RDS using AWS DMS
If you had 20 databases spread across 20 servers, could you replicate them all into a single PostgreSQL instance? And can this be done on a server costing less than $100,000?
The databases total 30 TB on disk. There are ~30,000 tables. The maximum number of rows in a single table is 1.2 billion. The number of rows changed per second is modest (100s or less).
Some of the servers run PostgreSQL, some MySQL. The versions are different, but they're relatively current (PostgreSQL >= 9.1, MySQL >= 5.6).
postgresql replication
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
If you had 20 databases spread across 20 servers, could you replicate them all into a single PostgreSQL instance? And can this be done on a server costing less than $100,000?
The databases total 30 TB on disk. There are ~30,000 tables. The maximum number of rows in a single table is 1.2 billion. The number of rows changed per second is modest (100s or less).
Some of the servers run PostgreSQL, some MySQL. The versions are different, but they're relatively current (PostgreSQL >= 9.1, MySQL >= 5.6).
postgresql replication
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Postgres 9.1 is not really current. It's out of support since 2016, September: Versioning policy
– ypercubeᵀᴹ
Apr 30 '17 at 15:55
Easily done if you refactor. 30k tables smells of bad design. Large well indexed tables scale
– Philᵀᴹ
Apr 30 '17 at 17:30
2
Sounds doable, but not really Stack Overflow material. More postgresql.org/support/professional_support material. (Disclaimer, I work for one of the listed companies).
– Craig Ringer
May 1 '17 at 1:34
add a comment |
If you had 20 databases spread across 20 servers, could you replicate them all into a single PostgreSQL instance? And can this be done on a server costing less than $100,000?
The databases total 30 TB on disk. There are ~30,000 tables. The maximum number of rows in a single table is 1.2 billion. The number of rows changed per second is modest (100s or less).
Some of the servers run PostgreSQL, some MySQL. The versions are different, but they're relatively current (PostgreSQL >= 9.1, MySQL >= 5.6).
postgresql replication
If you had 20 databases spread across 20 servers, could you replicate them all into a single PostgreSQL instance? And can this be done on a server costing less than $100,000?
The databases total 30 TB on disk. There are ~30,000 tables. The maximum number of rows in a single table is 1.2 billion. The number of rows changed per second is modest (100s or less).
Some of the servers run PostgreSQL, some MySQL. The versions are different, but they're relatively current (PostgreSQL >= 9.1, MySQL >= 5.6).
postgresql replication
postgresql replication
asked Apr 30 '17 at 12:18
dba_leveling_updba_leveling_up
61
61
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Postgres 9.1 is not really current. It's out of support since 2016, September: Versioning policy
– ypercubeᵀᴹ
Apr 30 '17 at 15:55
Easily done if you refactor. 30k tables smells of bad design. Large well indexed tables scale
– Philᵀᴹ
Apr 30 '17 at 17:30
2
Sounds doable, but not really Stack Overflow material. More postgresql.org/support/professional_support material. (Disclaimer, I work for one of the listed companies).
– Craig Ringer
May 1 '17 at 1:34
add a comment |
1
Postgres 9.1 is not really current. It's out of support since 2016, September: Versioning policy
– ypercubeᵀᴹ
Apr 30 '17 at 15:55
Easily done if you refactor. 30k tables smells of bad design. Large well indexed tables scale
– Philᵀᴹ
Apr 30 '17 at 17:30
2
Sounds doable, but not really Stack Overflow material. More postgresql.org/support/professional_support material. (Disclaimer, I work for one of the listed companies).
– Craig Ringer
May 1 '17 at 1:34
1
1
Postgres 9.1 is not really current. It's out of support since 2016, September: Versioning policy
– ypercubeᵀᴹ
Apr 30 '17 at 15:55
Postgres 9.1 is not really current. It's out of support since 2016, September: Versioning policy
– ypercubeᵀᴹ
Apr 30 '17 at 15:55
Easily done if you refactor. 30k tables smells of bad design. Large well indexed tables scale
– Philᵀᴹ
Apr 30 '17 at 17:30
Easily done if you refactor. 30k tables smells of bad design. Large well indexed tables scale
– Philᵀᴹ
Apr 30 '17 at 17:30
2
2
Sounds doable, but not really Stack Overflow material. More postgresql.org/support/professional_support material. (Disclaimer, I work for one of the listed companies).
– Craig Ringer
May 1 '17 at 1:34
Sounds doable, but not really Stack Overflow material. More postgresql.org/support/professional_support material. (Disclaimer, I work for one of the listed companies).
– Craig Ringer
May 1 '17 at 1:34
add a comment |
1 Answer
1
active
oldest
votes
How fast is the network connection? Do some math -- 30TB through a single pipe will take how many days? That's just to get the data started. Then redo the calculation based on how fast the data grows.
There is some amount of overhead; I guestimate that the initial 30TB would take a few weeks. You have not provided numbers for how much traffic per hour in steady state. You can estimate that by watching the size of the binlogs on a representative server, then multiply by 20.
Once you have the 30TB on a single server, have you figured out what you can do with it? Again, some math would compute how many days or weeks it would take to do something with all that data.
Oh, I forgot about the overhead that you might incur to get the index(es) built. Are you using SSDs?
add a comment |
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
});
}
});
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%2f172369%2fis-it-possible-today-to-replicate-30-tb-from-multiple-databases-to-postgresql-cl%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
How fast is the network connection? Do some math -- 30TB through a single pipe will take how many days? That's just to get the data started. Then redo the calculation based on how fast the data grows.
There is some amount of overhead; I guestimate that the initial 30TB would take a few weeks. You have not provided numbers for how much traffic per hour in steady state. You can estimate that by watching the size of the binlogs on a representative server, then multiply by 20.
Once you have the 30TB on a single server, have you figured out what you can do with it? Again, some math would compute how many days or weeks it would take to do something with all that data.
Oh, I forgot about the overhead that you might incur to get the index(es) built. Are you using SSDs?
add a comment |
How fast is the network connection? Do some math -- 30TB through a single pipe will take how many days? That's just to get the data started. Then redo the calculation based on how fast the data grows.
There is some amount of overhead; I guestimate that the initial 30TB would take a few weeks. You have not provided numbers for how much traffic per hour in steady state. You can estimate that by watching the size of the binlogs on a representative server, then multiply by 20.
Once you have the 30TB on a single server, have you figured out what you can do with it? Again, some math would compute how many days or weeks it would take to do something with all that data.
Oh, I forgot about the overhead that you might incur to get the index(es) built. Are you using SSDs?
add a comment |
How fast is the network connection? Do some math -- 30TB through a single pipe will take how many days? That's just to get the data started. Then redo the calculation based on how fast the data grows.
There is some amount of overhead; I guestimate that the initial 30TB would take a few weeks. You have not provided numbers for how much traffic per hour in steady state. You can estimate that by watching the size of the binlogs on a representative server, then multiply by 20.
Once you have the 30TB on a single server, have you figured out what you can do with it? Again, some math would compute how many days or weeks it would take to do something with all that data.
Oh, I forgot about the overhead that you might incur to get the index(es) built. Are you using SSDs?
How fast is the network connection? Do some math -- 30TB through a single pipe will take how many days? That's just to get the data started. Then redo the calculation based on how fast the data grows.
There is some amount of overhead; I guestimate that the initial 30TB would take a few weeks. You have not provided numbers for how much traffic per hour in steady state. You can estimate that by watching the size of the binlogs on a representative server, then multiply by 20.
Once you have the 30TB on a single server, have you figured out what you can do with it? Again, some math would compute how many days or weeks it would take to do something with all that data.
Oh, I forgot about the overhead that you might incur to get the index(es) built. Are you using SSDs?
answered May 25 '17 at 5:47
Rick JamesRick James
43.4k22259
43.4k22259
add a comment |
add a comment |
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%2f172369%2fis-it-possible-today-to-replicate-30-tb-from-multiple-databases-to-postgresql-cl%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
1
Postgres 9.1 is not really current. It's out of support since 2016, September: Versioning policy
– ypercubeᵀᴹ
Apr 30 '17 at 15:55
Easily done if you refactor. 30k tables smells of bad design. Large well indexed tables scale
– Philᵀᴹ
Apr 30 '17 at 17:30
2
Sounds doable, but not really Stack Overflow material. More postgresql.org/support/professional_support material. (Disclaimer, I work for one of the listed companies).
– Craig Ringer
May 1 '17 at 1:34