Oracle dataguard - Redo applyHow can I lock an INSERT operationWriting a large update/delete script that...
Why do phishing e-mails use faked e-mail addresses instead of the real one?
For a 1-action spell, do I need to take a turn to ready the spell before I can cast it, or can I cast it immediately?
Do higher etale homotopy groups of spectrum of a field always vanish?
lead or lag function to get several values, not just the nth
Are there any other Chaos-worshipping races?
Rationale to prefer local variables over instance variables?
Did Amazon pay $0 in taxes last year?
A right or the right?
What happened to QGIS 2.x LTR?
Are small insurances worth it
Sometimes a banana is just a banana
Borrowing Characters
Levi-Civita symbol: 3D matrix
Get length of the longest sequence of numbers with the same sign
Difference between 'stomach' and 'uterus'
Make me a metasequence
Dystopian novel where telepathic humans live under a dome
What is a term for a function that when called repeatedly, has the same effect as calling once?
What are all the squawk codes?
When was drinking water recognized as crucial in marathon running?
Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
I can't die. Who am I?
Plagiarism of code by other PhD student
Oracle dataguard - Redo apply
How can I lock an INSERT operationWriting a large update/delete script that doesn't provoke locksHow do transactions affect PostgreSQL's REFRESH MATERIALIZED VIEW CONCURRENTLY command?Long running SELECT query fails as deadlock victim to a DELETE on SQL SERVER - Why, and how to avoid this?Setting up the Listeners for Oracle DataguardHow to allow in-progress transactions to complete when shutting down PostgreSQL?Transaction log growing out of control on random timesadvantages of single-leader (transactions) over multi-leader replicationOracle RAC and DataGuard configurationUtilizing DBLINK[_EXEC] to control transactions within PL/PgSQL functions?
In a low bandwidth environment when a transaction commits that generates a large amount of redo data will cause other independent transactions to slow down. This is because the redo data of small transactions will be blocked until the large redo data of the previous transaction is transported to the DR site. Is there a way that we can control small redo data takes priority over the large one so the other independent transactions complete quicker.
Any suggestions?
oracle-11g transaction rdbms dataguard
bumped to the homepage by Community♦ 18 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 |
In a low bandwidth environment when a transaction commits that generates a large amount of redo data will cause other independent transactions to slow down. This is because the redo data of small transactions will be blocked until the large redo data of the previous transaction is transported to the DR site. Is there a way that we can control small redo data takes priority over the large one so the other independent transactions complete quicker.
Any suggestions?
oracle-11g transaction rdbms dataguard
bumped to the homepage by Community♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
If that was possible, you risk "starving" the large transactions, which isn't desired. If you really need SYNC dataguard, you should seriously consider getting a better network link.
– Mat
Sep 29 '14 at 15:15
add a comment |
In a low bandwidth environment when a transaction commits that generates a large amount of redo data will cause other independent transactions to slow down. This is because the redo data of small transactions will be blocked until the large redo data of the previous transaction is transported to the DR site. Is there a way that we can control small redo data takes priority over the large one so the other independent transactions complete quicker.
Any suggestions?
oracle-11g transaction rdbms dataguard
In a low bandwidth environment when a transaction commits that generates a large amount of redo data will cause other independent transactions to slow down. This is because the redo data of small transactions will be blocked until the large redo data of the previous transaction is transported to the DR site. Is there a way that we can control small redo data takes priority over the large one so the other independent transactions complete quicker.
Any suggestions?
oracle-11g transaction rdbms dataguard
oracle-11g transaction rdbms dataguard
asked Sep 29 '14 at 11:39
SashikaXPSashikaXP
1011
1011
bumped to the homepage by Community♦ 18 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♦ 18 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
If that was possible, you risk "starving" the large transactions, which isn't desired. If you really need SYNC dataguard, you should seriously consider getting a better network link.
– Mat
Sep 29 '14 at 15:15
add a comment |
If that was possible, you risk "starving" the large transactions, which isn't desired. If you really need SYNC dataguard, you should seriously consider getting a better network link.
– Mat
Sep 29 '14 at 15:15
If that was possible, you risk "starving" the large transactions, which isn't desired. If you really need SYNC dataguard, you should seriously consider getting a better network link.
– Mat
Sep 29 '14 at 15:15
If that was possible, you risk "starving" the large transactions, which isn't desired. If you really need SYNC dataguard, you should seriously consider getting a better network link.
– Mat
Sep 29 '14 at 15:15
add a comment |
1 Answer
1
active
oldest
votes
No. The operations go to DR site in exactly the same sequential order as they were performed on the primary site. You can only re-order operations at the level of your application code, the database engine cannot do this for you.
The database engine cannot reorder changes to data because it needs to ensure that DR database is bit-to-bit identical to the state of primary database at a very recent point-in-time.
Your impression that COMMIT transfers all the data is incorrect. Data is transferred all the time throughout the transaction, and COMMIT is quite a small transfer itself that ends it. The only special thing about the COMMIT is that it is the only transfer for which the primary database has to wait until the COMMIT mark is transferred to DR, written there to disk, and acknowledged back to primary.
Anyway, I would strongly suggest to change SYNC to ASYNC in your archive_log_dest_x, which would obviously solve your problem (problem of waiting for COMMIT), at a cost of potential loss of the unsynchronized data in a real DR situation. If your software controls real-time multimillion FOREX transactions, and you have a high-bandwidth high-available network connection, then SYNC is the way to go. If not, you should accept this small risk, as most other users do.
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
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%2f77930%2foracle-dataguard-redo-apply%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
No. The operations go to DR site in exactly the same sequential order as they were performed on the primary site. You can only re-order operations at the level of your application code, the database engine cannot do this for you.
The database engine cannot reorder changes to data because it needs to ensure that DR database is bit-to-bit identical to the state of primary database at a very recent point-in-time.
Your impression that COMMIT transfers all the data is incorrect. Data is transferred all the time throughout the transaction, and COMMIT is quite a small transfer itself that ends it. The only special thing about the COMMIT is that it is the only transfer for which the primary database has to wait until the COMMIT mark is transferred to DR, written there to disk, and acknowledged back to primary.
Anyway, I would strongly suggest to change SYNC to ASYNC in your archive_log_dest_x, which would obviously solve your problem (problem of waiting for COMMIT), at a cost of potential loss of the unsynchronized data in a real DR situation. If your software controls real-time multimillion FOREX transactions, and you have a high-bandwidth high-available network connection, then SYNC is the way to go. If not, you should accept this small risk, as most other users do.
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
add a comment |
No. The operations go to DR site in exactly the same sequential order as they were performed on the primary site. You can only re-order operations at the level of your application code, the database engine cannot do this for you.
The database engine cannot reorder changes to data because it needs to ensure that DR database is bit-to-bit identical to the state of primary database at a very recent point-in-time.
Your impression that COMMIT transfers all the data is incorrect. Data is transferred all the time throughout the transaction, and COMMIT is quite a small transfer itself that ends it. The only special thing about the COMMIT is that it is the only transfer for which the primary database has to wait until the COMMIT mark is transferred to DR, written there to disk, and acknowledged back to primary.
Anyway, I would strongly suggest to change SYNC to ASYNC in your archive_log_dest_x, which would obviously solve your problem (problem of waiting for COMMIT), at a cost of potential loss of the unsynchronized data in a real DR situation. If your software controls real-time multimillion FOREX transactions, and you have a high-bandwidth high-available network connection, then SYNC is the way to go. If not, you should accept this small risk, as most other users do.
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
add a comment |
No. The operations go to DR site in exactly the same sequential order as they were performed on the primary site. You can only re-order operations at the level of your application code, the database engine cannot do this for you.
The database engine cannot reorder changes to data because it needs to ensure that DR database is bit-to-bit identical to the state of primary database at a very recent point-in-time.
Your impression that COMMIT transfers all the data is incorrect. Data is transferred all the time throughout the transaction, and COMMIT is quite a small transfer itself that ends it. The only special thing about the COMMIT is that it is the only transfer for which the primary database has to wait until the COMMIT mark is transferred to DR, written there to disk, and acknowledged back to primary.
Anyway, I would strongly suggest to change SYNC to ASYNC in your archive_log_dest_x, which would obviously solve your problem (problem of waiting for COMMIT), at a cost of potential loss of the unsynchronized data in a real DR situation. If your software controls real-time multimillion FOREX transactions, and you have a high-bandwidth high-available network connection, then SYNC is the way to go. If not, you should accept this small risk, as most other users do.
No. The operations go to DR site in exactly the same sequential order as they were performed on the primary site. You can only re-order operations at the level of your application code, the database engine cannot do this for you.
The database engine cannot reorder changes to data because it needs to ensure that DR database is bit-to-bit identical to the state of primary database at a very recent point-in-time.
Your impression that COMMIT transfers all the data is incorrect. Data is transferred all the time throughout the transaction, and COMMIT is quite a small transfer itself that ends it. The only special thing about the COMMIT is that it is the only transfer for which the primary database has to wait until the COMMIT mark is transferred to DR, written there to disk, and acknowledged back to primary.
Anyway, I would strongly suggest to change SYNC to ASYNC in your archive_log_dest_x, which would obviously solve your problem (problem of waiting for COMMIT), at a cost of potential loss of the unsynchronized data in a real DR situation. If your software controls real-time multimillion FOREX transactions, and you have a high-bandwidth high-available network connection, then SYNC is the way to go. If not, you should accept this small risk, as most other users do.
answered Oct 7 '14 at 18:09
kubanczykkubanczyk
1,642712
1,642712
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
add a comment |
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
Hmmm...this is one very good answer. A bit of background reading also confirmed this is how it happens. In fact during a large transaction the redo log buffer at SGA frequently writes redo records to the current active local redo log file as well as to the standby redo log file. So this means whats written to the local redo log is sync with the standby redo log. I was under the impression that the standby is synched through only by shipping a redo "log file" to the standby. But then the question comes how the redo wastage happens as there cant be any half filled redo log files.
– SashikaXP
Oct 8 '14 at 1:51
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%2f77930%2foracle-dataguard-redo-apply%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
If that was possible, you risk "starving" the large transactions, which isn't desired. If you really need SYNC dataguard, you should seriously consider getting a better network link.
– Mat
Sep 29 '14 at 15:15