Dataguard terms
hi,
i am beginner,
can you explain me dataguard terms
switchover, failover, physical standby, logical standby , broker etc
i googled, but i couldnt understand exactly
thanks in advance.
pa1
sachinpawan wrote:
hi,
i am beginner,
can you explain me dataguard terms
switchover, failover, physical standby, logical standby , broker etcRefer for switchover/failover
http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-switchoverfailoverbest-128455.pdf
Refer for logical vs physical
http://www.orafaq.com/node/957
Similar Messages
-
Dataguard broker setup - Licensing terms
Hi,
This is a simple question. I have searched Oracle documentation fairly elaborately, but could not find an answer.
The question is: Can I co-host Dataguard Broker configuration with RMAN Catalog+EMGC ?
We already have one host (Running EE) catering to RMAN Catalog and EMGC repository (On a single server). Since we have a requirement of configuring dataguard broker, the thought was to co-host this on the same server.
Is there a licensing consideration to this? Can someone refer some relevant documentation please? Thanks in advance.
Cheers,
-GaneshIs there a licensing consideration to this? Can someone refer some relevant documentation please? Thanks in advance.
Standby is an copy of the primary database is maintained on a separate server at all times. the standby database is activated to act as the new primary database.
"In this environment, both the primary and the standby databases must be fully licensed."
Oracle standby servers need to be fully licensed if they are “hot standby” servers that can be used for production SQL queries. Some sources say that cold standby servers used less than 10 days per year do not need to be licensed, but you should verify this with your Oracle representative or the Oracle Store. In sum, current 2006 Oracle Data Guard licensing policies suggest that if Data Guard is installed for "standby" purposes, it requires full licensing.
Check this discussion, it may help you.
http://www.oracle.com/us/corporate/pricing/price-lists/index.html
http://www.oracle.com/us/corporate/pricing/technology-price-list-070617.pdf
license required for Data GUARD ??
http://www.orafaq.com/forum/t/52173/0/ -
Buffer busy waits on UNDO data in Active Dataguard
Oracle Version: 11.1.0.7.0
Active Dataguard
Statspack has been configured for Active Dataguard on Primary database.
We got an spike of Buffer busy waits for about 5 min in Active Dataguard, this was causing worse Application SQL's response time during this 5 min window.
Below is what i got from statspack report for one hour
Snapshot Snap Id Snap Time Sessions Curs/Sess Comment
~~~~~~~~ ---------- ------------------ -------- --------- -------------------
Begin Snap: 18611 21-Feb-13 22:00:02 236 2.2
End Snap: 18613 21-Feb-13 23:00:02 237 2.1
Elapsed: 60.00 (mins)
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
buffer busy waits 2,359 2,133 904 76.2
reliable message 7,210 179 25 6.4
parallel recovery control message reply 8,831 109 12 3.9
CPU time 100 3.6
latch free 13 85 6574 3.1
Host CPU (CPUs: 16)
~~~~~~~~ Load Average
Begin End User System Idle WIO WCPU
1.07 0.82 0.68 0.39 98.88 0.00Since this is 11g version I was able to drill down on the segment on which buffer busy waits were occurring by using v$active_session_history on Active Dataguard.
SQL> select count(*),p1,p2 from v$active_session_history where event='buffer busy waits' and sample_time between to_date('21-FEB-2013 21:55:00','DD-MON-YYYY HH24:MI:SS') and to_date('21-FEB-2013 22:09:00','DD-MON-YYYY HH24:MI:SS') group by p1,p2
COUNT(*) P1 P2
2136 3 99405
17 3 7293
SQL> select owner,segment_name,segment_type from dba_extents where file_id = 3 and 99405 between block_id AND block_id + blocks - 1
OWNER SEGMENT_NAME SEGMENT_TYPE
SYS _SYSSMU14_1303827994$ TYPE2 UNDO
SQL> select owner,segment_name,segment_type from dba_extents where file_id = 3 and 7293 between block_id AND block_id + blocks - 1;
OWNER SEGMENT_NAME SEGMENT_TYPE
SYS _SYSSMU11_1303827994$ TYPE2 UNDOThought to check the SQL_ID which were waiting on this buffer busy waits.
SQL> select count(*),sql_id,session_state from v$active_session_history where event='buffer busy waits' and sample_time between to_date('21-FEB-2013 21:55:00','DD-MON-YYYY HH24:MI:SS') and to_date('21-FEB-2013 22:09:00','DD-MON-YYYY HH24:MI:SS') group by sql_id,session_state order by 1;
COUNT(*) SQL_ID SESSION_STATE
1 cvypjyh0mm56x WAITING
1 02dtz82as4y42 WAITING
1 80gz2r4hx1wrj WAITING
2 6tfk1t4mwt7hu WAITING
9 0q63qhsbqmpf0 WAITING
12 0jgnx96ur0bmb WAITING
12 7pguapqcc6372 WAITING
14 4t6hqk5r2zbqs WAITING
18 1qwt0qkd59xj3 WAITING
23 5phgg8btvhh6p WAITING
23 banp2v6yttym7 WAITING
30 a1kdmb1x084yh WAITING
30 8hxuagk22f8jz WAITING
30 9r0nysyp360hn WAITING
31 cackx62yu477k WAITING
32 40zxqg1qrdvuh WAITING
32 0jqrd56ds1rbm WAITING
32 7009zmuhvac54 WAITING
38 1jb37ryn1c871 WAITING
60 aum74caa623rs WAITING
63 cr8mv0wawhak9 WAITING
63 3xgk3vsh3nm08 WAITING
86 3k9cq3jv0c3rg WAITING
95 0sy9vjuutgwqu WAITING
122 bhn2kk76wpg12 WAITING
134 4pkfqgyt7rh34 WAITING
139 1sbzsw7y88c7t WAITING
146 92y0ha2nqd6zj WAITING
163 djjqcp1sg2twb WAITING
173 arxq6au12zazw WAITING
256 fa0gzxmgyyxj2 WAITING
282 2f17qywcgu751 WAITINGSo top 10 sql_id's were on tables TAB1 and TAB2 under schemas SCHEMA1 to SCHEMA8.
Checked DML's occurred on Primary using dba_tab_modifications view since last stats job ran on these was about 10 hours ago from when the issue occurred on Active Dataguard.
SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES from dba_tab_modifications where TABLE_NAME='TAB1' order by 3;
TABLE_OWNER TABLE_NAME INSERTS UPDATES DELETES
SCHEMA1 TAB1 4448 0 3728
SCHEMA2 TAB1 4547 0 4022
SCHEMA3 TAB1 4612 0 4152
SCHEMA4 TAB1 4628 0 3940
SCHEMA5 TAB1 4719 0 4258
SCHEMA6 TAB1 4809 0 4292
SCHEMA7 TAB1 4853 0 4356
SCHEMA8 TAB1 5049 0 4536
SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES from dba_tab_modifications where TABLE_NAME='TAB2' order by 3;
TABLE_OWNER TABLE_NAME INSERTS UPDATES DELETES
SCHEMA1 TAB2 25546 0 26360
SCHEMA2 TAB2 26728 0 27565
SCHEMA3 TAB2 27403 0 27763
SCHEMA4 TAB2 27500 0 28149
SCHEMA5 TAB2 28408 0 30440
SCHEMA6 TAB2 30453 0 31906
SCHEMA7 TAB2 31469 0 31988
SCHEMA8 TAB2 32875 0 34670 But confused about Why there could sudden spike of demand on UNDO data in Active Data Guard ? Could any one please shed some lights on finding the reason for this issue ?But confused about Why there could sudden spike of demand on UNDO data in Active Data Guard ? Could any one please shed some lights on finding the reason for this issue ?It's been interesting, The job runs only on ADG?
Even it is only reporting purposes, Which runs only select statements. Are you sure that issue is only because of this job?
Moreover am interested to know, How you able to monitor at the same time? Using EM?
What all are the jobs ran on primary at the same time?
Then, is it possible to run the job on primary and see whats the response?
I suggest you to run the same job again on standby and see the ET of the job and also gather the statspack to check whether you got same buffer busy waits or not.
What storage you are using for primary and standby? In terms of I/O and performance all are same?
You got chance to take statspack even on primary database?
What are the parameters differ in primary and standby?
Also check this note, Heresome work around provided.
*Resolving Intense and "Random" Buffer Busy Wait Performance Problems [ID 155971.1]* -
Dataguard Interview questions and most frequeently asked DG issues
Hi Gurus,
I am new to this forum and happy to be a part of it.
Can someone help me in posting " Dataguard Interview questions and most frequeently asked DG issues" as i am preparing for the interviews.
And also share the enhancements to DG in 11g.
Thanks in advance.I'm not impressed by any of the questions at any of the linked sites provided so here are the one's I would expect someone to be able to answer:
1. What is the difference between Physical and Logical Data Guard in terms of how they work and how they are used in the enterprise?
2. What is the difference between vanilla Data Guard and Active and Snapshot?
3. How do you enable the Data Guard Broker process and why and when would you want to?
4. Who is Larry Carpenter and why should you care?
5. What parameters in using orapwd are critical for success?
6. What would you recommend as a value for SEND_BUF_SIZE and why?
7. Given a primary production database, and a full RMAN backup that takes 1 hour to fully restore ... how long would it take you to implement Physical Data Guard from the time you started working?
If the answer to question 7 is greater than 2 hours ... my assumption would be that you probably had never done it before and it wouldn't matter that you got the first six questions correct. -
Whats is diffrence between Dataguard and Stand by?
Hi All
I was asked for diffrence between Dataguard and StandBy Database in an interview.
I answered that prior to 9I, (in 8i) It was called StandBy Database and from 9I onwards, It is called DataGuard.
But interviewer doesnt seems to be satisfied with my answer. Not sure why?
Then i was asked for Diffrence in Logical Dataguard and Physical Dataguard?
I replied with "Logical DG" is one in which sql stements are applied onto standby whereas "Physical DG" is one in which redo logs are shipped from one server to other by itself (with services) and secondary upgrades itself from those. Again, interviewer didnt feel happy enough.
This has made me think, was my answer incorrect because i answered whatever i know. which i feel like is correct.
Please help me identify correct answer.
Thanks
apsaps wrote:
Hi All
I was asked for diffrence between Dataguard and StandBy Database in an interview.
I answered that prior to 9I, (in 8i) It was called StandBy Database and from 9I onwards, It is called DataGuard.No - DataGuard is intimately involved with Standby Database, but it is NOT standby. A Data Guard 'configuration' actually includes the primary database and one or more standby databases as well as some additional processes and the connectivity between these things.
In simplistic terms:
Standby Database is an operating mode of the database in which it continuously applies redo logs that are shipped from another (primary) database. The mode of operation often stops the database from being accessible to users.
Logical standby database uses a 'recieving process' (SQL Apply) that extracts from the log and creates SQL statements which are applied to keep the standyby database in step with the primary.
Physical standby database uses a form of continuous database recovery by directly applying the redo logs received from the primary.
Data Guard was originally a set of scripts, but now is the entire environment including a set of processes that control the extraction of redo (directly from log bugger, from redo logs or archive redo logs) from the primary, shipping to the standby, ensuring that the logs are applied. Data Guard processes also include the mechanics needed to make the standby database active automatically (failover) or manually (switchover) and also to re-sync and make the original database active again (switchback).
You could (should) read more about this. Oracle has a fine set of documentation which you can access from http://tahiti.oracle.com - indeed selecting Database 10gR2, and switching to the Books tab you get to http://www.oracle.com/pls/db102/portal.portal_db?selected=3 . And by scrolling down a little to "Data Guard Concepts and Administration" you would get decent introduction in the first 2 pages of Chapter 1 "Introduction to Oracle Data Guard".
But interviewer doesnt seems to be satisfied with my answer. Not sure why?I would not be satisfied either. Especially if I was looking for swomeone to be responsible for availability scenarios for my corporate data.
Then i was asked for Diffrence in Logical Dataguard and Physical Dataguard?
I replied with "Logical DG" is one in which sql stements are applied onto standby whereas "Physical DG" is one in which redo logs are shipped from one server to other by itself (with services) and secondary upgrades itself from those. Again, interviewer didnt feel happy enough.Well ... you are moderately close on this. However, you seem to be missing "how do we get data from the primary in the SQL Apply case". The implication is that you are not at all comfortable with the basic concepts.
Again, I would not be terribly happy either. I would not be confident that you had read Chapter 1 of the Data Guard Concepts manual. And that could imply that you had not read Chapter 1 of ANY of the Concepts manuals. That chapter in each of the manuals is an easy read, complete with pictures, and it describes the basics of operating the big machine that the interviewer wants to entrust you with.
All that said, Data Guard is only available on Enterprise Edition. Standby capability is available on Standard Edition. And there are commercial products around that provide capability similar to Data Guard for Standard Edition. -
Infrastructure suggestion for Oracle RAC and Dataguard
Hello,
We are working on migration business proposal and need to suggest HA and DR infrastructure solution with Oracle 11G databases. I am thinking to suggest Oracle 11g RAC and Dataguard to meet this requirement. We also wanted to cover Dev, Test and Pre Prod along with Prod in new environment. Can someone suggest cost effective, stable and scalable infrastructure for this requirement
Best regards,
VenkatIn terms of cost ? Perhaps.
In terms of performance? NO.
Bear in mind I'm not trying to sell anything here, but in my experience hardly anything matches the performance of Exadata. It has specific features for the DB such as de iDB protocol which enables the offloading of queries to the exadata storage servers. More unique features include: storage indexes, HCC compression, smart flash cache... It's all a matter of how much you want to spend.
Yes, you can have all your servers on the same box if you want, just make sure it is not a single point of failure. (Have appropriate safeguards in place in case of power failure, Data center catastrophes, etc). In case of LPARs on the same box, be aware of one server over-utilizing resources which would affect the other LPARs (configurable).
More info on Exadata: http://www.oracle.com/technetwork/server-storage/engineered-systems/exadata/dbmachine-x3-twp-1867467.pdf
If your company has a tight budget you might also look at your options with Database appliance: http://www.oracle.com/technetwork/server-storage/engineered-systems/database-appliance/documentation/oracle-db-appliance…
Database appliance has more flexibility in terms of licensing and it's also a complete hardware solution from oracle for Databases.
Regards -
Since upgrading my phone to the iOS7, I can no longer download music or apps on neither my iphone or through itunes on my computer. On my phone, it won't let me accept the terms & conditions. On my computer, an error message keeps flashing up: 'Error (-50)'. Please help?...
Sounds like the device is in recovery mode. You will need to restore the phone. See this support document for instructions. http://support.apple.com/kb/HT1808
-
Dear Friends,
I have 2 queries -
1. Can we configured the Payment Terms which will enable while invoicing to create the multiple line item while Invoice Posting ( accounting entry ) say, while doing MIRO / FB60 transaction. And one of those would go to Special GL. e.g. we have to deduct the Retention Money @ 5% from Invoice Amount and we are using one of Special GL for Retention money so can i configure the Payment Term as -
1. 95% -
60 Days
2. 5% -
365 Days
So here 2 ( 5% ) will be posted as Special GL item while Invoice Entry.
( Currently we are transferring those entries to special gl manually using T code - F-02 from Vendor Open items )
2. We have configured the number of Payment Terms but sometimes negotiated Terms does fall into the category of existing Payment Terms and it is not possible to create the Payment Terms for such requirement. So can we configure one Payment Term which will be editable while Purchase ORder Creation or Invoicing ( like payment term with "OTHERS" would be created and initially it would be configured for 0 Days and those would be edited while making Purchase Order as per requirement.
Since this is affecting our Ageing Analysis and Payment Due Report as both are based on Payment Terms in PO.
If anyone has solution pls suggest the way to do it . will assign full marks if gets solution.
Thanks in advance.
PSHi
I think we can't maintain cash discounts more than two %.
Goto OBB8, choose account type customer/vendor.
goto payment terms segment. 1) 3% days 0 2) 2% days 15.
3) we can enter %, only days. it means no cash discount.
Regards,
Chandra -
I cannot use Itunes store to redeem my gift card because it says that my apple id has not been used in the Itunes store yet. When I click review i then clicked continue and everytime that I agree to the terms and policies on the second page it just sends me back to the top of the page and doesnt allow me to go any farther in the itunes store process any idea of how to get this to work?
Have you done as the message tells you and contacted iTunes Support ? If not (these are user-to-user forums) :
- go to http://www.apple.com/support/itunes/ww
- click on your country's flag
- click on the Contact Support at the bottom of the left-hand column
- click on Contact iTunes Store Support on the right-hand side of the page
- then Purchases, Billing & Redemption -
How can I repeat a for loop, once it's terms has been fulfilled???
Well.. I've posted 2 different exceptions about this game today, but I managed to fix them all by myself, but now I'm facing another problem, which is NOT an error, but just a regular question.. HOW CAN I REPEAT A FOR LOOP ONCE IT HAS FULFILLED IT'S TERMS OF RUNNING?!
I've been trying many different things, AND, the 'continue' statement too, and I honestly think that what it takes IS a continue statement, BUT I don't know how to use it so that it does what I want it too.. -.-'
Anyway.. Enought chit-chat. I have a nice functional game running that maximum allows 3 apples in the air in the same time.. But now my question is: How can I make it create 3 more appels once the 3 first onces has either been catched or fallen out the screen..?
Here's my COMPLETE sourcecode, so if you know just a little bit of Java you should be able to figure it out, and hopefully you'll be able to tell me what to do now, to make it repeat my for loop:
Main.java:
import java.applet.*;
import java.awt.*;
@SuppressWarnings("serial")
public class Main extends Applet implements Runnable
private Image buffering_image;
private Graphics buffering_graphics;
private int max_apples = 3;
private int score = 0;
private GameObject player;
private GameObject[] apple = new GameObject[max_apples];
private boolean move_left = false;
private boolean move_right = false;
public void init()
load_content();
setBackground(Color.BLACK);
public void run()
while(true)
if(move_left)
player.player_x -= player.movement_speed;
else if(move_right)
player.player_x += player.movement_speed;
for(int i = 0; i < max_apples; i++)
apple.apple_y += apple[i].falling_speed;
repaint();
prevent();
collision();
try
Thread.sleep(20);
catch(InterruptedException ie)
System.out.println(ie);
private void prevent()
if(player.player_x <= 0)
player.player_x = 0;
else if(player.player_x >= 925)
player.player_x = 925;
private void load_content()
MediaTracker media = new MediaTracker(this);
player = new GameObject(getImage(getCodeBase(), "Sprites/player.gif"));
media.addImage(player.sprite, 0);
for(int i = 0; i < max_apples; i++)
apple[i] = new GameObject(getImage(getCodeBase(), "Sprites/apple.jpg"));
try
media.waitForAll();
catch(Exception e)
System.out.println(e);
public boolean collision()
for(int i = 0; i < max_apples; i++)
Rectangle apple_rect = new Rectangle(apple[i].apple_x, apple[i].apple_y,
apple[i].sprite.getWidth(this),
apple[i].sprite.getHeight(this));
Rectangle player_rect = new Rectangle(player.player_x, player.player_y,
player.sprite.getWidth(this),
player.sprite.getHeight(this));
if(apple_rect.intersects(player_rect))
if(apple[i].alive)
score++;
apple[i].alive = false;
if(!apple[i].alive)
apple[i].alive = false;
return true;
public void update(Graphics g)
if(buffering_image == null)
buffering_image = createImage(getSize().width, getSize().height);
buffering_graphics = buffering_image.getGraphics();
buffering_graphics.setColor(getBackground());
buffering_graphics.fillRect(0, 0, getSize().width, getSize().height);
buffering_graphics.setColor(getForeground());
paint(buffering_graphics);
g.drawImage(buffering_image, 0, 0, this);
public boolean keyDown(Event e, int i)
i = e.key;
if(i == 1006)
move_left = true;
else if(i == 1007)
move_right = true;
return true;
public boolean keyUp(Event e, int i)
i = e.key;
if(i == 1006)
move_left = false;
else if(i == 1007)
move_right = false;
return true;
public void paint(Graphics g)
g.drawImage(player.sprite, player.player_x, player.player_y, this);
for(int i = 0; i < max_apples; i++)
if(apple[i].alive)
g.drawImage(apple[i].sprite, apple[i].apple_x, apple[i].apple_y, this);
g.setColor(Color.RED);
g.drawString("Score: " + score, 425, 100);
public void start()
Thread thread = new Thread(this);
thread.start();
@SuppressWarnings("deprecation")
public void stop()
Thread thread = new Thread(this);
thread.stop();
GameObject.java:import java.awt.*;
import java.util.*;
public class GameObject
public Image sprite;
public Random random = new Random();
public int player_x;
public int player_y;
public int movement_speed = 15;
public int falling_speed;
public int apple_x;
public int apple_y;
public boolean alive;
public GameObject(Image loaded_image)
player_x = 425;
player_y = 725;
sprite = loaded_image;
falling_speed = random.nextInt(10) + 1;
apple_x = random.nextInt(920) + 1;
apple_y = random.nextInt(100) + 1;
alive = true;
And now all I need is you to answer my question! =)package forums;
import java.util.Random;
import javax.swing.Timer;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class VimsiesRetardedAppleGamePanel extends JPanel implements KeyListener
private static final long serialVersionUID = 1L;
private static final int WIDTH = 800;
private static final int HEIGHT = 600;
private static final int MAX_APPLES = 3;
private static final Random RANDOM = new Random();
private int score = 0;
private Player player;
private Apple[] apples = new Apple[MAX_APPLES];
private boolean moveLeft = false;
private boolean moveRight = false;
abstract class Sprite
public final Image image;
public int x;
public int y;
public boolean isAlive = true;
public Sprite(String imageFilename, int x, int y) {
try {
this.image = ImageIO.read(new File(imageFilename));
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException("Bailing out: Can't load images!");
this.x = x;
this.y = y;
this.isAlive = true;
public Rectangle getRectangle() {
return new Rectangle(x, y, image.getWidth(null), image.getHeight(null));
class Player extends Sprite
public static final int SPEED = 15;
public Player() {
super("C:/Java/home/src/images/player.jpg", WIDTH/2, 0);
y = HEIGHT-image.getHeight(null)-30;
class Apple extends Sprite
public int fallingSpeed;
public Apple() {
super("C:/Java/home/src/images/apple.jpg", 0, 0);
reset();
public void reset() {
this.x = RANDOM.nextInt(WIDTH-image.getWidth(null));
this.y = RANDOM.nextInt(300);
this.fallingSpeed = RANDOM.nextInt(8) + 3;
this.isAlive = true;
private final Timer timer = new Timer(200,
new ActionListener() {
public void actionPerformed(ActionEvent e) {
repaint();
public VimsiesRetardedAppleGamePanel() {
this.player = new Player();
for(int i=0; i<MAX_APPLES; i++) {
apples[i] = new Apple();
setBackground(Color.BLACK);
setFocusable(true); // required to generate key listener events.
addKeyListener(this);
timer.setInitialDelay(1000);
timer.start();
public void keyPressed(KeyEvent e) {
if (e.getKeyCode() == e.VK_LEFT) {
moveLeft = true;
moveRight = false;
} else if (e.getKeyCode() == e.VK_RIGHT) {
moveRight = true;
moveLeft = false;
public void keyReleased(KeyEvent e) {
moveRight = false;
moveLeft = false;
public void keyTyped(KeyEvent e) {
// do nothing
public void paintComponent(Graphics g) {
super.paintComponent(g);
//System.err.println("DEBUG: moveLeft="+moveLeft+", moveRight="+moveRight);
if ( moveLeft ) {
player.x -= player.SPEED;
if (player.x < 0) {
player.x = 0;
} else if ( moveRight ) {
player.x += player.SPEED;
if (player.x > getWidth()) {
player.x = getWidth();
//System.err.println("DEBUG: player.x="+player.x);
Rectangle playerRect = player.getRectangle();
for ( Apple apple : apples ) {
apple.y += apple.fallingSpeed;
Rectangle appleRect = apple.getRectangle();
if ( appleRect.intersects(playerRect) ) {
if ( apple.isAlive ) {
score++;
apple.isAlive = false;
g.drawImage(player.image, player.x, player.y, this);
for( Apple apple : apples ) {
if ( apple.isAlive ) {
g.drawImage(apple.image, apple.x, apple.y, this);
g.setColor(Color.RED);
g.drawString("Score: " + score, WIDTH/2-30, 10);
private static void createAndShowGUI() {
JFrame frame = new JFrame("Vimsies Retarded Apple Game");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().add(new VimsiesRetardedAppleGamePanel());
frame.pack();
frame.setSize(WIDTH, HEIGHT);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
public static void main(String[] args) {
SwingUtilities.invokeLater(
new Runnable() {
public void run() {
createAndShowGUI();
}Hey Vimsie, try resetting a dead apple and see what happens. -
Credit Memo - Terms of Payment Default
My earlier post received no response, so I am posting again,
In MIRO if I create a credit Memo, payment terms default from PO. (not from vendor master) I do not know if was configured that way. How can I find out ?
I do not want payment terms to default from any thing, neither PO nor vendor master.
It should fall due immediately say based on base line date, which is posting date in our case.
How can I do this ?
ThanksHello,
You might find interesting this OSS Note: [322430 - MIRO: Proposal logic for terms of payment|https://service.sap.com/sap/support/notes/322430]
Regards,
Milen. -
Getting split payment terms in case of customer credit memo(Doc type DG)
Hi Guys,
Is there any FM available for getting split payment terms in case of customer credit memo(Document type DG). There will be no invoice/billing doc for this document type and will be created from FB75 transaction. For billing document i am using FM SD_PRINT_TERMS_OF_PAYMENT_SPLI. Please let me know if there is any FM for accounting document also.
Thanks,
Vinod.Hi,
Try this bapi
BAPI_AR_ACC_GETSTATEMENT -
How to grey out terms of payment in sales order.
Hi,
While making sales order ,user should not make changes in terms of payment.how we can restrict the user for any changes.
and what is procedure for this.
Regards,you can get many treads if you had searched with your subject.Anyway please find one among them.
payment terms-greyed out field
I would prefer going for option of activating critical field in OVA8 if Credit management is configured in your client process.
thanks,
Srinu. -
Duplicate check on search term for BP creation in CRM
HI,
I want to do a duplicate check on search term for BP creation in CRM.
i found one BADI ADDRESS_SEARCH. But the method address_search is not getting called.
Is there any other BADI available? how can I handle this issue?hello,
BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
br,
dez_ -
Error in Creation of Dataguard for RAC
My pfile of RAC looks like:
RACDB2.__large_pool_size=4194304
RACDB1.__large_pool_size=4194304
RACDB2.__shared_pool_size=92274688
RACDB1.__shared_pool_size=92274688
RACDB2.__streams_pool_size=0
RACDB1.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/RACDB/adump'
*.background_dump_dest='/u01/app/oracle/admin/RACDB/bdump'
*.cluster_database_instances=2
*.cluster_database=true
*.compatible='10.2.0.1.0'
*.control_files='+DATA/racdb/controlfile/current.260.627905745','+FLASH/racdb/controlfile/current.256.627905753'
*.core_dump_dest='/u01/app/oracle/admin/RACDB/cdump'
*.db_block_size=8192
*.db_create_file_dest='+DATA'
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='+DATA/RACDB','+DATADG/RACDG'
*.db_name='RACDB'
*.db_recovery_file_dest='+FLASH'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=RACDBXDB)'
*.fal_client='RACDB'
*.fal_server='RACDG'
RACDB1.instance_number=1
RACDB2.instance_number=2
*.job_queue_processes=10
*.log_archive_config='DG_CONFIG=(RACDB,RACDG)'
*.log_archive_dest_1='LOCATION=+FLASH/RACDB/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=RACDB'
*.log_archive_dest_2='SERVICE=RACDG VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=RACDG'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='DEFER'
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='+DATA/RACDB','+DATADG/RACDG'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_listener='LISTENERS_RACDB'
*.remote_login_passwordfile='exclusive'
*.service_names='RACDB'
*.sga_target=167772160
*.standby_file_management='AUTO'
RACDB2.thread=2
RACDB1.thread=1
*.undo_management='AUTO'
RACDB2.undo_tablespace='UNDOTBS2'
RACDB1.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/RACDB/udump'
My pfile of Dataguard Instance in nomount state looks like:
RACDG.__db_cache_size=58720256
RACDG.__java_pool_size=4194304
RACDG.__large_pool_size=4194304
RACDG.__shared_pool_size=96468992
RACDG.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/RACDG/adump'
*.background_dump_dest='/u01/app/oracle/admin/RACDG/bdump'
##*.cluster_database_instances=2
##*.cluster_database=true
*.compatible='10.2.0.1.0'
##*.control_files='+DATA/RACDG/controlfile/current.260.627905745','+FLASH/RACDG/controlfile/current.256.627905753'
*.core_dump_dest='/u01/app/oracle/admin/RACDG/cdump'
*.db_block_size=8192
*.db_create_file_dest='+DATADG'
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='+DATADG/RACDG','+DATA/RACDB'
*.db_name='RACDB'
*.db_recovery_file_dest='+FLASHDG'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=RACDGXDB)'
*.FAL_CLIENT='RACDG'
*.FAL_SERVER='RACDB'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(RACDB,RACDG)'
*.log_archive_dest_1='LOCATION=+FLASHDG/RACDG/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=RACDG'
*.log_archive_dest_2='SERVICE=RACDB VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=RACDB'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.log_archive_format='%t_%s_%r.arc'
*.log_file_name_convert='+DATADG/RACDG','+DATA/RACDB'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
##*.remote_listener='LISTENERS_RACDG'
*.remote_login_passwordfile='exclusive'
SERVICE_NAMES='RACDG'
sga_target=167772160
standby_file_management='auto'
undo_management='AUTO'
undo_tablespace='UNDOTBS1'
user_dump_dest='/u01/app/oracle/admin/RACDG/udump'
DB_UNIQUE_NAME=RACDG
and here is what I am doing on the standby location:
[oracle@dg01 ~]$ echo $ORACLE_SID
RACDG
[oracle@dg01 ~]$ rman
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 17 21:19:21 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect auxiliary /
connected to auxiliary database: RACDG (not mounted)
RMAN> connect target sys/xxxxxxx@RACDB
connected to target database: RACDB (DBID=625522512)
RMAN> duplicate target database for standby;
Starting Duplicate Db at 2007-07-17 22:27:08
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
contents of Memory Script:
restore clone standby controlfile;
sql clone 'alter database mount standby database';
executing Memory Script
Starting restore at 2007-07-17 22:27:10
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /software/backup/ctl4.ctl
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/software/backup/ctl4.ctl tag=TAG20070717T201921
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:23
output filename=+DATADG/racdg/controlfile/current.275.628208075
output filename=+FLASHDG/racdg/controlfile/backup.268.628208079
Finished restore at 2007-07-17 22:27:34
sql statement: alter database mount standby database
released channel: ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/17/2007 22:27:43
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs2.265.627906771 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/example.264.627905917 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/users.259.627905395 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/sysaux.257.627905385 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs1.258.627905395 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/system.256.627905375 conflicts with a file used by the target database
RMAN>
Any help to clear this error will be apprecited.......
Message was edited by:
Bal
nullHi
Thanks everybody for helping me on this issue...........
As suggested, I had taken the parameter log_file_name_convert and db_file_name_convert out of my RAC primary database but still I am getting the same error.
Any help will be appriciated..............
SQL> show parameter convert
NAME TYPE VALUE
db_file_name_convert string
log_file_name_convert string
SQL>
oracle@dg01<3>:/u01/app/oracle> rman
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 18 17:07:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect auxiliary /
connected to auxiliary database: RACDB (not mounted)
RMAN> connect target sys/xxx@RACDB
connected to target database: RACDB (DBID=625522512)
RMAN> duplicate target database for standby;
Starting Duplicate Db at 2007-07-18 17:10:53
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
contents of Memory Script:
restore clone standby controlfile;
sql clone 'alter database mount standby database';
executing Memory Script
Starting restore at 2007-07-18 17:10:54
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /software/backup/ctl5.ctr
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/software/backup/ctl5.ctr tag=TAG20070718T170529
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:33
output filename=+DATADG/racdg/controlfile/current.275.628208075
output filename=+FLASHDG/racdg/controlfile/backup.268.628208079
Finished restore at 2007-07-18 17:11:31
sql statement: alter database mount standby database
released channel: ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/18/2007 17:11:43
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs2.265.627906771 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/example.264.627905917 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/users.259.627905395 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/sysaux.257.627905385 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/undotbs1.258.627905395 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/racdb/datafile/system.256.627905375 conflicts with a file used by the target database
Maybe you are looking for
-
I have an iTunes account for my personal iPod Touch - have had for several years. When my work provided me with an iPhone and now and iPad 2, they all fall under my personal iTunes account. Is it possible for me to create a separate account for my
-
HT4095 How do I get a refund for a movie that won't download
I wanted to rent a movie and it started to download and stopped. It won't restart.
-
Exc– ORA-00604: error occurred at recursive SQL level 1 ORA-01003;No Stat P
I am getting above mentioned error when calling the below procedure. Please guide me procedure xyz(P_ROTATION_NO , P_VESL_NO , P_VESL_NAME , P_CM_REGN_NO , P_FINAL_CLOSE_STA , P_FROM_REG_DATE , P_TO_REG_DATE , P_FROM_ARRIVAL_DATE, P_TO_ARRIVAL_DATE,
-
Uploading .txt file to z table
Hai Friends, I want to upload a .txt file to Z table which contains around 27 fields. but .txt file contains data in two lines by as follows. 4.5 2.36 21.56 25 36.14 47.00 145.3 1247.6 10.2 4.6 23.5 589.1 20.1 45.6 Is it possible to upload
-
PDFs, ZIP files won't launch or download when clicked.
When I click on a link to a pdf or zip file in Safari, I'm no longer able to view the pdf in my browser with the Preview plugin, nor am I able to download the pdf (or zip file.) On clicking, a new blank window launches, but that's it. Nothing downloa