Does a normal view write to any log i.e archive or undo log
Hi ,
can i check if a normal view writes to the archive or undo log ?
e.g
select a.* , b.* from A , B
tks & rdgs
SELECT statements, including those that are selecting views, aren't making any data changes, so there would be no reason to generate UNDO or REDO log entries. There would be nothing to undo or to redo.
Justin
Similar Messages
-
Logs are not archived at Standby site on same server
Hello all,
I am using 11gR2 on Redhat Linux 5
i have a testing to do in which i have created my standby database through rman duplicate command
i have my standby db on the same machine.
my primary database is : prod
standby database is : std
on primary site:
SQL> select database_role,open_mode,name from v$database;
DATABASE_ROLE OPEN_MODE NAME
PRIMARY READ WRITE PROD
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 53
Next log sequence to archive 55
Current log sequence 55
but the archiving is not being done on standby site it shows the following:
/*SQL> select database_role,open_mode,name,db_unique_name from v$database;
DATABASE_ROLE OPEN_MODE NAME DB_UNIQUE_NAME
PHYSICAL STANDBY MOUNTED PROD std
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 0
Next log sequence to archive 0
Current log sequence 0
and in alert logfile os standby database its shoing follwoing error
Fatal NI connect error 12543, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.25.217.137)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)(CID=(PROGRAM=oracle)(HOST=sm-alpha)(USER=oracle))))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 10-DEC-2012 10:51:10
Tracing not turned on.
Tns error struct:
ns main err code: 12543
TNS-12543: TNS:destination host unreachable
ns secondary err code: 12560
nt main err code: 513
TNS-00513: Destination host unreachable
nt secondary err code: 113
nt OS err code: 0
Fatal NI connect error 12543, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.25.217.137)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)(CID=(PROGRAM=oracle)(HOST=sm-alpha)(USER=oracle))))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 10-DEC-2012 10:51:14
Tracing not turned on.
Tns error struct:
ns main err code: 12543
TNS-12543: TNS:destination host unreachable
ns secondary err code: 12560
nt main err code: 513
TNS-00513: Destination host unreachable
nt secondary err code: 113
nt OS err code: 0
Error 12543 received logging on to the standby
FAL[client, MRP0]: Error 12543 connecting to toprod for fetching gap sequence
here is my /etc/hosts
[root@sm-alpha ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.25.217.137 sm-alpha
and when i ping to sm-alpha
it gives
PING sm-alpha (10.25.217.137) 56(84) bytes of data.
From 10.25.205.117 icmp_seq=1 Destination Host Unreachable
From 10.25.205.117 icmp_seq=2 Destination Host Unreachable
From 10.25.205.117 icmp_seq=3 Destination Host Unreachable
From 10.25.205.117 icmp_seq=4 Destination Host Unreachable
From 10.25.205.117 icmp_seq=5 Destination Host Unreachable
would any one have a kind look at my problem.
thanksHi;
You are at wrong forum site. I suggest close your issue here as answered than move your issue Forum Home » High Availability » DATAGUARD which is DG dedicated forum site.
Regard
Helios -
Next log sequence to archive in Standby Database (RAC Dataguard Issue)
Hi All,
I just had implemented Data Guard in our server. My primary Database is RAC configured, but it is only single node. The other Instance was removed and converted it to Developement Instance. For the reason I kept the primary as RAC is when I will implement dataguard, my Primary Database is RAC with 7 nodes.
The first test is successful, and I was able to "switchover" from my primary to standby. I failed in the 'FAILOVER" test.
I restore my primary server and redo the setup.
BTW, my standby DB is physical standby.
When I try to switchover again and issue archive log list, below is my output.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 38
*Next log sequence to archive 0*
Current log sequence 38
SQL> select open_mode, database_role from v$database;
OPEN_MODE DATABASE_ROLE
MOUNTED PHYSICAL STANDBY
===============================================
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 38
*Next log sequence to archive 38*
Current log sequence 38
SQL> select open_mode, database_role from v$database;
OPEN_MODE DATABASE_ROLE
READ WRITE PRIMARY
In my first attempt to switchover before I failed in "FAILOVER" test, I also issue +archive log list+ in both primary and standby database, and if I remember it right, next log sequence on both should be identical. Am I right on this?
Thanks in Advance.
Jay AOr Am i just overthinking on this?
Is dataguard only looking for the current and oldest log sequence? -
Next log sequence to archive is different
Hi,
I have doubt on standby (DR) concept.
I can see that in my standby database next log sequence to archive shows 0.
Is this ok or something is wrong?
PRODUCTION
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u006/app/archive/XXPROD/arch
Oldest online log sequence 2627
Next log sequence to archive 2631
Current log sequence 2631
STANDBY
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u006/app/archive/XXPROD/arch
Oldest online log sequence 2627
Next log sequence to archive 0
Current log sequence 2631Hello;
Short answer no nothing is wrong.
Its the same on mine :
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 5069
Next log sequence to archive 0
Current log sequence 5071
SQL> I use v$archived_log to check mine standby :
SELECT name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;Against my Primary I get the last log :
select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;Data Guard has a set of v$ views to check results, 8archive log list8 isn't so good since with Data Guard you have two copies of the same database in different roles.
Another query I like is : (Run on the standby)
select process, status, sequence#, block# from v$managed_standby;The Oracle doc E10700-02 has several example in chapter 9 "Monitoring Primary, Physical Standby, and Snapshot Standby Databases"
Also section "3.2.7 Verify the Physical Standby Database Is Performing Properly"
Best Regards
mseberg -
How do I manually archive 1 redo log at a time?
The database is configured in archive mode, but automatic archiving is turned off.
For both Oracle 901 and 920 on Windows, when I try to manually archive a single redo log, the database
archives as many logs as it can up to the log just before the current log:
For example:
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 NO INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 NO INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 NO INACTIVE 425088 28-MAR-05
4 1 17 512000 1 NO INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
6 rows selected.
SQL> alter system archive log next;
System altered.
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 YES INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 YES INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 YES INACTIVE 425088 28-MAR-05
4 1 17 512000 1 YES INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
See - instead of only 1 log being archive, 4 of them were. Oracle behaves the same way if I use the "sequence" option:
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 NO INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 NO INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 NO INACTIVE 425088 28-MAR-05
4 1 17 512000 1 NO INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
6 rows selected.
SQL> alter system archive log next;
System altered.
SQL> select * from v$log order by sequence#;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 14 104857600 1 YES INACTIVE 424246 19-JAN-05
2 1 15 104857600 1 YES INACTIVE 425087 28-MAR-05
3 1 16 104857600 1 YES INACTIVE 425088 28-MAR-05
4 1 17 512000 1 YES INACTIVE 425092 28-MAR-05
5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
Is there some default system configuration property telling Oracle to archive as many logs as it can?
Thanks,
DGRThanks Yoann (and Syed Jaffar Jaffar Hussain too),
but I don't have a problem finding the group to archive or executing the alter system archive log command.
My problem is that Oracle doesn't work as I expect it.
This comes from the Oracle 9.2 online doc:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_23a.htm#2053642
"Specify SEQUENCE to manually archive the online redo log file group identified by the log sequence number integer in the specified thread."
This implies that Oracle will only archive the log group identified by the log sequence number I specify in the alter system archive log sequence statement. However, Oracle is archiving almost all of the log groups (see my first post for an example).
This appears to be a bug, unless there is some other system parameter that is configured (by default) to allow Oracle to archive as many log groups as possible.
As to the reason why - it is an application requirement. The Oracle db must be in archive mode, automatic archiving must be disabled and the application must control online redo log archiving.
DGR -
version 5 loaded on windows 7. all went well for a while. one day while using, ratio of normal screen doubled in width; i.e. half the page disappears off the screen to the right (on a wide screen). when full screen mode applied, ratio is fine. it only happens in normal view, which is the usually prefered option. I cannot determine any means within the program to resize the normal screen. nothing else is affected, only mozilla firefox in normal view. not that when program is opened from keyboard the page is correct for a moment, then enlarges the width with 1/2 page dissappearing.
This issue can be caused by the Babylon Toolbar 1.1.8 extension
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
i accidentally tapped my iPhone 6 and everything got huge on my screen. now i can't even log onto my phone because everything is so big on the screen. how do i get it back to normal view, so i can log on?
i googled for answer to resolve the zoom problem. all the anwers just told you to read links but didn't tell how to fix the screem back to normal then it can be able to go to Setting to fix the zoom funciton. HOWEVER, I accidentally found the solution myself by using a fingers or more
to draw circles clockwise on the screen....it will reset it normally. I spent hours trying to go diagonally, compressively still didn't work. -
my ipad with retina eye updated to IOs 7 not able to boot ....the normal way of pressing the sleep/wake button and the home button does'nt work....any ideas i think that IOs 7 is a crap cos form the time i loaded it it was shaky...now my ipad is dead
If it is one year old minus one day it is still under warranty. If it is more than a year since you purchased it then yes, the warranty has expired.
Millions of iPads have been sold. Most continue to function long after their warranty has expired. Check the many requests about updating the iOS on the original iPad on these forums and you'll see that there are many iPads still working after three years. My iPad 2, which I had for over two years is still working well for my son in law who took it over from me when I bought a new one.
Given that there will always be a few iPads that fail early. Most of those will be covered under warranty. But some will fail after the warranty has expired and before the owner expected it to. I'm sorry to hear that you are in this category. Take your iPad to an Apple store and have it looked at. They will provide you with alternatives, one of which is to purchase a like model to the one that failed at a discount. You can then know your options and make the best choice for you. -
Reading Floating Point PLC5 Registers Kills my ability to write to any register
When ever I create an object that reads a PLC5 Floating Point Register(F8:5),it kills my ability to write to any other PLC register. The problem only shows up with Floating Point registers. If I use integer registers (N7:121 etc.)I can read/write fine. It also severely slows down my normal driver scan update time. Even though it is set to scan every 30 seconds, I may only get an update every few minutes. Anyone else ever run into this? Thanks in advance!
Hi,
It might be helpful creating a log file to monitor com port activity.
Here's the Knowledgebase article about it.
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/cac576863ff648a186256b5900794761?OpenDocument
Another way to check the serial port activity would be using "portmon"
software available at
http://www.sysinternals.com/ntw2k/freeware/portmon.shtml
I hope this helps.
Remzi A.
Applications Engineering
National Instruments -
I recently upgraded from iPhone 5s to iPhone 6 Plus. When I go to view my photos, all of them are blank and at the bottom, it says "Downloading..." It has been this way for two days, but hasn't really downloaded any of my photos yet. Does it normally take this long? Is there anything I can do to speed it up?
IF you are getting no messages period - not just no iMessages - then it is very likely a carrier issue. It is AT&T and not the phone. SMS travels via the carrier wave used to make phone calls - iMessages use data and go through Apple servers as you know
If you are getting no messages at all - then I wonder if your cell service is ok or if you are in an area of strong signal - then does your SIM card need to be looked at -
Pasteboard color in Normal View mode
I know I can change the color of the pasteboard when in preview mode, but does anyone know of a way I can change the color of the pasteboard when in normal view? Or a way to have white-filled objects/text pop-up off the white pasteboard?
(The white is great, but when working with a lot of reversed copy, dealing with frame edges across multiple text boxes can become confusing and having to switch between color and white text can be tedious)This is a total workaround:
Go to the master page for the document.
Draw a frame that covers the whole pasteboard.
Draw a smaller frame that is slightly larger than the pages for the master.
Select the two frames that you just drew.
Choose Object > Paths > Make Compound Path.
Apply a light color to this object. This object will color the pasteboard for all pages that use this master. Duplicate for any other pages.
Optional steps
Put this object on its own layer. This allows you to turn this color on or off.
Set the layer as non-printing. This object shouldn't print because it doesn't touch the pages, but if you're paranoid, set it not to print.
Save as a snippet that can be dragged onto other documents. -
Hi guys I just bught a
WVC210 Wireless-G PTZ Internet Camera
I need to install it so that I can view it from any where in the world. I have no Idea how to do this.
I would like if some one can send me a video tutorial on how to do it.
I have a website that I am runing so I guess I can use that if I need something like Hosting and Domain things.
I want to know if it is posible that I can some how configure it so I can view the camera on one of my websites page.
For exaple: www.example.com/mycamera???
If not well I would love to here the options I have.
Thank you very much in advance!Rogerio,
I have never seen a router like you have and I wouldn't dare advise you about changing the settings. It appears that it is a router/modem that was provided by your ISP. If this is the case, I recommend that you call your ISP and ask them for Port Forwarding assistance. You need to forward port 80 to the LAN IP address of your camera. The LAN IP address of your camera is the IP address that you use to log into the web interface. You should not need to change any settings on the camera. After you have had the ISP help you forward the port to the camera, go to ipchicken.com and you will see your WAN IP address. Write that address down and then go to a remote location and type it into your web browser. You should get the login page of the camera. Note that your WAN IP is subject to change. You can ask your ISP to provide you with a static IP address which will be an additional charge each month but your IP address will not change. Another option is to use a service such as dyndns to create a unique URL that you can use to access the camera remotely even if your WAN IP address changes. We can discuss that after you get access to the camera if you have further questions. -
SQLPlus silent mode no output Error: Directory does not existfor read/write
Hi
I am able to run sqlplus in normal mode
However when i run it in silent mode, there is no output and i see a folder oradiag_[unix_loginid], being created.
Here is the output. I tried creating the folder /apps/oracle/product/11.1.0.6/client/log but it did not help.
ldndsr2396$ pwd
/home/akbaraza
ldndsr2396$ sqlplus RFD_1E@rfdlnt02/****** <---- I have masked the password
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jul 15 10:57:06 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select sysdate from dual;
SYSDATE
15-JUL-10
SQL> exit;
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ldndsr2396$ sqlplus -S RFD_1E@rfdlnt02/****** <---- I have masked the password
select sysdate from dual;
exit;
END;
ldndsr2396$ find oradiag_akbaraza/
oradiag_akbaraza/
oradiag_akbaraza/diag
oradiag_akbaraza/diag/clients
oradiag_akbaraza/diag/clients/user_akbaraza
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/trace
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/trace/sqlnet.log
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/alert
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/alert/log.xml
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/incident
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/metadata
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/metadata/ADR_CONTROL.ams
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/metadata/INC_METER_IMPT_DEF.ams
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/metadata/INC_METER_PK_IMPTS.ams
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/incpkg
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/sweep
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/lck
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/lck/AM_3216668543_3129272988.lck
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/lck/AM_1096102193_3488045378.lck
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/lck/AM_1096102262_3454819329.lck
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/cdump
oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/stage
ldndsr2396$ cat oradiag_akbaraza/diag/clients/user_akbaraza/host_3201174597_11/trace/sqlnet.log
Thu Jul 15 10:57:03 2010
Create Relation ADR_CONTROL
Create Relation INC_METER_IMPT_DEF
Create Relation INC_METER_PK_IMPTS
Directory does not exist for read/write [apps/oracle/product/11.1.0.6/client/log] [apps/oracle/product/11.1.0.6/client/log/diag]
Thu Jul 15 10:57:26 2010
Directory does not exist for read/write [apps/oracle/product/11.1.0.6/client/log] [apps/oracle/product/11.1.0.6/client/log/diag]
ldndsr2396$You write
Here is the output. I tried creating the folder /apps/oracle/product/11.1.0.6/client/log but it did not help.
But it is complaining about also
Directory does not exist for read/write [apps/oracle/product/11.1.0.6/client/log] *[apps/oracle/product/11.1.0.6/client/log/diag]*Maybe create that one also ??
HTH
FJFranken
My Blog: http://managingoracle.blogspot.com -
Hello,
I have few OSB proxy service and we have configured few log operations for logging but while testing, I noticed logs are getting written in both osb_server1.out and osb_server1.log file. I dont want to write logs in osb_server1.out file.
I am running my weblogic server in development mode.
Could someone please advice me whats wrong I am doing here.Hello,
I have few OSB proxy service and we have configured few log operations for logging but while testing, I noticed logs are getting written in both osb_server1.out and osb_server1.log file. I dont want to write logs in osb_server1.out file.
I am running my weblogic server in development mode.
Could someone please advice me whats wrong I am doing here. -
How do I get Internet Explorer back to Normal View on my Treo Pro
Hi
I have the Treo Pro through Sprint. I switched by Internet Explore to full screen view. I used the 5-way button to scroll to the top and to the bottom and the address bar does not show up. What do I do to get it back to normal view.
Thanks
Post relates to: Treo 650 (Sprint)tap and hold on the screen then when the menu opens tap on full screen to uncheck the it...
Message Edited by BOLTRON73 on 05-30-2009 09:58 AM
Maybe you are looking for
-
I recently upgraded to a Palm T/X and after a couple of issues with synchronizing and installing files I think I've got the issues solved by changing the conduit of certain programs and upgrading to the new Palm Desktop (which I don't like as well a
-
How do I open a Word document in InDesign?
I have a 50 page document I would like to work on thru InDesign. The only way I found so far is to Cut and Paste.....is there a quicker way?
-
Why does my MacBook Air's shutting down slow down after the recent update?
After the newly update OS X Update 10.9.4, the shut down of my MacBook Air slows down. It will stay several seconds more than before the update. This happens every time I try to shut down my MacBook, please meet my problem.
-
Lenovo Helix Driver Issues on Windows 8.1!!!
Hello, hopfully some Tech Guys are reading this message. Most of the Drivers, downloadable for Windows 8.1 are not working at all. Due some reasons you can install them but they are not showing up in the Hardware list, instead the "Generic Microsoft
-
Is it possible to delete the 2.02 update and then re-download it?
I am wondering if there was a problem when I downloaded 2.02 for my 2G. Can I yank the version I have and re-download it?