client_info is empty to logminer
We put DBMS_APPLICATION_INFO. SET_CLIENT_INFO (p_value);
session of $ v shows this client_info correctly, but in logminer, this field is blank.
DB version: 11.2.0.4 SE
How we fill this field to logminer?
user9507488 wrote:
We implemented DBMS_APPLICATION_INFO. SET_CLIENT_INFO (p_value);
session of $ v shows this client_info correctly, but in logminer, this field is blank.
DB version: 11.2.0.4 SE
How we fill this field to logminer?
> DBMS_APPLICATION_INFO. SET_CLIENT_INFO in datastructure of the SGA.
Dbms_logmnr read REDO log files.
If the content of DBMS_APPLICATION_INFO. SET_CLIENT_INFO was never included in any DML, it will NOT exist in the roll FORWARD file.
Tags: Database
Similar Questions
-
The lowest SCN in an existing LogMiner dictionary
What is the SQL query to know the SNA lowest in the existing Logminer dictionary that can be used as the FIRST_SCN of a NEW procedure of collection?
Thank you.You must delete the lines in system.logmnr_restart_ckpt$ when their SNA is less than the new first_scn.
column spare1 hole of the LCR CNS. Here's a test case:For streams, it is clear that losing an archive means data will not be replicated.
Normally, you're supposed to re - export the source site and import into the target site.
Given that it is not always possible, we will explore a different scenario.
Needless to say that this is not supported by Oracle.(1) from a healthy state of mind, we will:
-export the data dictionary
-Stop the capture
-Switch logfile
-Insert rows in the source, it will enter the new log file
-Switch logfile
-export the data dictionary
-remove the archive between the data dictionary 2 exports.
-Restart the capture.After having done this, we created a corrupt streams environment that we had
to get back on track with some data on the left.
We will study this:We are building a new data dict
[stream01:SRCV10G]:/home/oracle> cap -build -x set serveroutput on variable f_scn number; begin :f_scn := 0; dbms_capture_adm.build(:f_scn); dbms_output.put_line('the first_scn value is ' || :f_scn); end; / PL/SQL procedure successfully completed. [stream01:SRCV10G]:/oracle/home> cap -stop CAPTURE_SCOTT -x execute DBMS_CAPTURE_ADM.STOP_CAPTURE( capture_name => 'CAPTURE_SCOTT'); PL/SQL procedure successfully completed.
Then connect us as sysdba and switch logfile.
SQL> alter system switch logfile; System altered.
Now, we insert a LINE that will never be on the target site, because we intend to remove
This archive until the capture can eveer treat this. Capture will be forced
to jump over this archive and its contents if she ever wants to restart.sqlplus scott/tiger and some sql to insert a new row into scott.t1 old 1: insert into t1 values (&max_col1+1,'SRC',systimestamp) new 1: insert into t1 values ( 2314+1,'SRC',systimestamp) 1 row created. [stream01:SRCV10G]:/home/orcle> view_t1.ksh 2315 SRC 2009-11-12 14:32:10.229045 2314 SRC 2009-11-12 11:34:41.644761 2313 SRC 2009-11-12 11:23:54.914966 2312 SRC 2009-11-12 11:04:07.953361 2311 MYSQYPOQBAQOPUKWEVJCFHPHUCLSLMNIZEJBPPJFZLQYJHAGUS 2009-11-09 15:11:37.878694
Now it's time to pass logfile, export again a new datadict
and remove the logs to check-in between:SQL> alter system switch logfile ; System altered.
Before removing the archive that we need to be sure there aren't any mode active or we corrupt
and our database failed: If so, then a 'clear the no archived log file' will speed up the call for DBWR.[stream01:SRCV10G]:/home/orcle> rdl Size Group THREAD# Member Archived Status SEQUENCE# FIRST_CHANGE# (MB) ----- ---------- --------------------------------------------- ---------- ---------- ---------- -------------- ---- 1 1 /oradata/datafiles/SRCV10G/redo01.log YES ACTIVE 67 2143941 50 2 1 /oradata/datafiles/SRCV10G/redo02.log YES ACTIVE 66 2143738 50 3 1 /oradata/datafiles/SRCV10G/redo03.log NO CURRENT 68 2143966 50 SQL> alter database clear unarchived logfile group 1 ; Database altered. SQL> alter database clear unarchived logfile group 2 ; Database altered. [stream01:SRCV10G]:/home/orcle> rdl Size Group THREAD# Member Archived Status SEQUENCE# FIRST_CHANGE# (MB) ----- ---------- --------------------------------------------- ---------- ---------- ---------- -------------- ---- 1 1 /oradata/datafiles/SRCV10G/redo01.log YES UNUSED 0 2143941 50 2 1 /oradata/datafiles/SRCV10G/redo02.log YES UNUSED 0 2143738 50 3 1 /oradata/datafiles/SRCV10G/redo03.log NO CURRENT 68 2143966 50 Our archives stands like: Standby Deleted Dic THREAD# SEQUENCE# First time Next time APP Status Dest By Rman REGISTR Beg ---------- ---------- --------------------- --------------------- --- ---------- ------- ------- ------- --- 1 70 2009-11-12 14:33:22 2009-11-12 14:33:26 NO A NO NO ARCH YES 1 69 2009-11-12 14:33:22 2009-11-12 14:33:22 NO A NO NO ARCH NO 1 68 2009-11-12 14:32:29 2009-11-12 14:33:22 NO A NO NO ARCH NO 1 67 2009-11-12 14:31:53 2009-11-12 14:32:29 NO A NO NO ARCH NO 1 66 2009-11-12 14:31:26 2009-11-12 14:31:53 NO A NO NO ARCH NO 1 65 2009-11-12 14:31:24 2009-11-12 14:31:26 NO A NO NO RMAN YES 1 64 2009-11-12 14:31:24 2009-11-12 14:31:24 NO A NO NO ARCH NO 1 63 2009-11-12 11:25:05 2009-11-12 14:31:24 NO A NO NO ARCH NO
We have 2 dictionary on archive 65 and 70.
So we can jump over 66,67,68 and 69 and jump their content. Once we're done permanently lose
the ability to replicate the line 2315, which has been created on source archive 66 was active:[stream01:SRCV10G]:/oraadm01/app/oracle/flash_recovery_area/SRCV10G/archivelog/2009_11_12> ll -rw-r----- 1 oracle oinstall 9395712 Nov 12 11:25 o1_mf_1_62_5hqrn1wg_.arc -rw-r----- 1 oracle oinstall 7015424 Nov 12 14:31 o1_mf_1_63_5hr3kd9v_.arc -rw-r----- 1 oracle oinstall 1024 Nov 12 14:31 o1_mf_1_64_5hr3kddm_.arc -rw-r----- 1 oracle oinstall 9426944 Nov 12 14:31 o1_mf_1_65_5hr3kgk7_.arc -rw-r----- 1 oracle oinstall 90112 Nov 12 14:31 o1_mf_1_66_5hr3l90x_.arc -rw-r----- 1 oracle oinstall 10752 Nov 12 14:32 o1_mf_1_67_5hr3mflf_.arc -rw-r----- 1 oracle oinstall 13312 Nov 12 14:33 o1_mf_1_68_5hr3o2mf_.arc -rw-r----- 1 oracle oinstall 1024 Nov 12 14:33 o1_mf_1_69_5hr3o2nt_.arc -rw-r----- 1 oracle oinstall 9414144 Nov 12 14:33 o1_mf_1_70_5hr3o6lt_.arc [stream01:SRCV10G]:/oraadm01/app/oracle/flash_recovery_area/SRCV10G/archivelog/2009_11_12> rm o1_mf_1_69_5hr3o2nt_.arc o1_mf_1_68_5hr3o2mf_.arc o1_mf_1_67_5hr3mflf_.arc o1_mf_1_66_5hr3l90x_.arc
We finally managed to created a, irreversible coruption in our environment of data flow.
We will restart the capture, he will wait for you to do it again:[stream01:SRCV10G]:/home/oracle> cap -start capture_scott -x Log Captured Capture ID Capture user Start scn CHANGE_TIME Type Rule set Name Neg rule set Status ---- -------------------- ------------- -------------- ---------- --------------- --------------- -------- 61 STRMADMIN 2135135 12-11 14:35:33 LOCAL RULESET$_44 ENABLED Last remote Log Last system Last scn Delay Last scn confirmed Delay ID Capture name QUEUE_NAME scn Scanned Scanned enqueued scn Applied Enq-Applied ---- ---------------------- ------------------------------ ------------- ------------- ---------- ------------- ------------- ----------- 61 CAPTURE_SCOTT SCOTT_CAP_Q 2144965 2143738 1227 0 2143220 -2143220 Log Process Row creation total msg total msg ID Name SID SERIAL# STATE Capture at initial time Lat(s) Captured Enqueue ---- -------- ---------- ---------- ------------------------ ----------------- ----------------- ---------- ---------- ---------- 61 C001 140 23 WAITING FOR REDO 14:35:47 11/12/09 263 5100 0
It's expected flow behaviour when archives are missing and the counters of the situations like:
[stream01:SRCV10G]:/home/oracle> cap -lck Checkpoint Retention Last scn Requiered Max Capture name First scn Start scn Applied scn Captured scn time Enqueued Checkpoint scn Checkpoint scn ---------------------- ------------- ------------- ------------- ------------- ---------- ------------- -------------- -------------- CAPTURE_SCOTT 2135135 2135135 2143220 2143220 1 0 2137328 2143220 [stream01:SRCV10G]:/home/oracle> apl THREAD# SEQUENCE# First time Next time APP Status Dest By Rman REGISTR Beg ---------- ---------- --------------------- --------------------- --- ---------- ------- ------- ------- --- 1 70 2009-11-12 14:33:22 2009-11-12 14:33:26 NO A NO NO ARCH YES 1 69 2009-11-12 14:33:22 2009-11-12 14:33:22 NO A NO NO ARCH NO 1 68 2009-11-12 14:32:29 2009-11-12 14:33:22 NO A NO NO ARCH NO 1 67 2009-11-12 14:31:53 2009-11-12 14:32:29 NO A NO NO ARCH NO 1 66 2009-11-12 14:31:26 2009-11-12 14:31:53 NO A NO NO ARCH NO
Now, let's find the new value appropriate for the new FIRST_SCN that will allow us to ignore the content of archive 66-> 69
[stream01:SRCV10G]:/home/oracle> apl -n If 'Name' is empty then the archive is not on disk anymore THREAD# Logseq Start End First Change Next Change Name ---------- ------- -------------- -------------- -------------- -------------- ------------------------------------------------------- 1 70 11-12 14:33:22 11-12 14:33:26 2144015 2144611 /oraadm01/app/oracle/flash_recovery_area/SRCV10G/archiv elog/2009_11_12/o1_mf_1_70_5hr3o6lt_.arc 1 69 11-12 14:33:22 11-12 14:33:22 2144013 2144015 /oraadm01/app/oracle/flash_recovery_area/SRCV10G/archiv elog/2009_11_12/o1_mf_1_69_5hr3o2nt_.arc
The new FIRST_SCN must be in an archive with a dictionary, so here it is 70 and the value is 2144015.
But oracle performs a check on FIRST_SCN<>
It's embarrassing because it will prevent the reset of the FIRST_SCN:dbms_capture_adm.alter_capture( capture_name => 'CAPTURE_SCOTT',first_scn=> 2144015); DECLARE * ERROR at line 1: ORA-26667: invalid STREAMS parameter FIRST_SCN ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 166 ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 212 ORA-06512: at line 28
The trick is to remove the system. LOGMNR_RESTART_CKPT$ all CRL
whose YVERT is less than the first SCN of archives 70, which is 2144015:SQL> delete from system.logmnr_restart_ckpt$ where spare1 < 2144015 ; 4 rows deleted. SQL> commit ; Commit complete. SQL> exec dbms_capture_adm.alter_capture(capture_name => 'CAPTURE_SCOTT', first_scn=>2144015 ,start_scn=>2144015 ) ; PL/SQL procedure successfully completed. SQL> exit
The new situation is
[stream01:SRCV10G]:/home/oracle> cap -lck Checkpoint Retention Last scn Requiered Max Capture name First scn Start scn Applied scn Captured scn time Enqueued Checkpoint scn Checkpoint scn ---------------------- ------------- ------------- ------------- ------------- ---------- ------------- -------------- -------------- CAPTURE_SCOTT 2144015 2144015 0 0 1 0 0
Now, we can restart the capture:
[stream01:SRCV10G]:/home/oracle> cap -start capture_scott -x Log Captured Capture ID Capture user Start scn CHANGE_TIME Type Rule set Name Neg rule set Status ---- -------------------- ------------- -------------- ---------- --------------- --------------- -------- 61 STRMADMIN 2144015 12-11 14:39:29 LOCAL RULESET$_44 ENABLED Last remote Log Last system Last scn Delay Last scn confirmed Delay ID Capture name QUEUE_NAME scn Scanned Scanned enqueued scn Applied Enq-Applied ---- ---------------------- ------------------------------ ------------- ------------- ---------- ------------- ------------- ----------- 61 CAPTURE_SCOTT SCOTT_CAP_Q 2145254 2145084 170 0 2144015 -2144611 Log Process Row creation total msg total msg ID Name SID SERIAL# STATE Capture at initial time Lat(s) Captured Enqueue ---- -------- ---------- ---------- ------------------------ ----------------- ----------------- ---------- ---------- ---------- 61 C001 140 25 CAPTURING CHANGES 14:39:33 11/12/09 4 410 0
We insert on the source of a new LINE and this line must be present on the target
even with the largest previous is still missing on the same target:sqlplus scott/tiger and some sql to insert a new row into scott.t1 old 1: insert into t1 values (&max_col1+1,'SRC',systimestamp) new 1: insert into t1 values ( 2315+1,'SRC',systimestamp) 1 row created. [stream01:SRCV10G]:/home/orcle> view_t1.ksh 2316 SRC 2009-11-12 14:40:48.766265 2315 SRC 2009-11-12 14:32:10.229045 2314 SRC 2009-11-12 11:34:41.644761 2313 SRC 2009-11-12 11:23:54.914966 2312 SRC 2009-11-12 11:04:07.953361 On target we have : [stream02:TRGV10G]:/home/oracle> view_t1.ksh 2316 SRC 2009-11-12 14:40:48.766265 2314 SRC 2009-11-12 11:34:41.644761 2312 SRC 2009-11-12 11:04:07.953361 2311 MYSQYPOQBAQOPUKWEVJCFHPHUCLSLMNIZEJBPPJFZLQYJHAGUS 2009-11-09 15:11:37.878694 2310 LVRVXMSBXMWSWMYCLAISJPDLMACODJAUXIBWMWFTYGPMRPISTG 2009-11-09 15:11:37.877670
As the planned line 2315, which is in the archive deleted 66 is missing
on the target, but replication is restarted with line 2316 with is in
Archives of 70 -
iOS 10 frequent story location empty
Hi all
I've been on ios 10 for awhile now since its release and so far my common history is empty.
All services of relevant sites are able, I even reset the parameters of location etc, without success. I did a restore, still nothing. My phone used also pick up where my car is parked more, given that even this setting has been activated.
All the similar location based services like traffic conditions worked fine on ios 9.
Now, I ran out of options.
Hoping someone can help.
How long usually would it take for common to show history.
6 iPhone on ios 10.0.2
Anyone?
-
I moved my Gallery of Photos on an external drive, changed the location of the external library and deleted my copy on the hard disk. I tried to empty the trash, but he just hung. After looking for an answer, I found a post that suggested using the terminal with sudo rm - rf ~ /. Trash command. Typed and entered password and press return. Some sort of message is displayed after the file has been deleted in the Terminal or how do I know if the procedure is finished and I can restart my Mac. Thank you!
If you get the prompt to enter another command, it is complete.
(145132)
-
Just updated to Sierra. Unable to empty the trash. Get the following message:
“. Basket"cannot open right now because it is used by another task, such as moving or copying an item or empty the trash. Try again when the current task is complete. »
.. except he is not being current task.
I tried to use the Terminal, no luck.
Any suggestions?
Restart your Mac and try again to empty the trash.
-
I have someone just showed about 100 pictures of my iPad. Now, the pictures are missing, and the "recently deleted" folder is also empty. What can I do?
Have you done something after their show.
-
Empty miniature Pages from Sierra 5.6.2
Everytime I open a doc Pages 5.6.2, the thumbnails on the left are empty. This used occasionally occur before moving to Sierra too. When this happened in the Capitan, two ways could be used:-1 / clicking in the doc himself would sometimes bring completed, and 2 thumbnails / closing and then reopening thumbnail view would always put them.
Since the Sierra, only method 2 works.
Any idea, please?
Thank you.
Move your pointer to the right edge of the upper gallery of thumbnail, then click and drag slightly to the left to resize the gallery and restore your view of an inch. There is no configurable settings of the user to do this, Pages does not remember and is a case of Apple, encoding the value of width Gallery evil in v5.6.2 Pages.
It is a problem of postponement of El Capitan and isn't new for v6.0 or macOS Sierra Pages.
-
Empty window after starting the Sierra
After the upgrade to Sierra tonight, a new problem has started to appear. Every time I have start or restart my computer, an empty window (titled 'Window') is displayed. It cannot be reduced to a minimum, but can be expanded or closed. Any thoughts on what could be the cause?
Click on high black Apple left and choose "force quit." Whatever this window, it must be listed in the window, force quit.
Highlight just the app, choose force quit and that should fix this problem.
-
ios10 calendar today appears empty
Help! After the upgrade to ios10, the civilian part of my screen today is empty, although there are several events today. Weirder yet, the bubble little calendar has a thin red line at the top of the bubble, almost as if I could select and scroll upward a bit my event would appear. I already did some research and tried a few things people have suggested (including the passage of my language of the United States to Canada (?) and privacy settings). Any suggestions?
try to restore your iPhone.
-
Choose several folders with choosing menu and empty their contents
Hi all
new to applescript and want to create a file menu choose where I can choose several folders and empty their content. There will be a dialog box at the end let me know that the files have been purged. The script I'm working for an individual file:
say application 'Finder '.
Close each window of
Open (choose folder with prompt "including one or more folders should purge?" multiple selections allowed location 'True' by default ' / users/bryceratops / ')
Set an to front Finder window
move each agenda a in the trash
Close front The Finder window
end say
say application 'Finder '.
display the dialog box buttons "purged records." {"ok"}
end say
But Im having this script to open, purge and close every finder window, if I selected several files in the menu choose a wire installation difficult.
Any ideas?
See you soon
Hello
Put the output of the command 'choose folder' in a variable (no need to open these folders).
----
the tFolders value (choose a folder with default location "including one or more folders should purge?" guest "/ users/bryceratops / ' with multiple selections allowed)
Tell application "Finder".
Repeat with thisDir in tFolders
remove items from thisDir - trash
end repeat
tell the end
activate
display the dialog buttons "purged records." {"ok"}
---
-
Why do I get the message that I am running out of storage on my device when my storage icloud is practically empty?
It could be that your backup may be the cause.
See if that helps - manage your iCloud - Apple Support storage space
-
macOS Sierra - Mail subject line empty on the answer
In the latest iteration of the mail under macOS Sierra, on you reply to a message in the subject line is empty.
This happens only with Microsoft Exchange accounts and does not happen with my gmail account.
I'm having this issue as well. I also use a Messaging module MailButler call in an Exchange environment. I didn't notice the question with my personal account which is not in an Exchange environment so I don't think it's MailButler but I will check and then update this post.
-
How to remove empty faces?
Photos put a circle on it recognizes people faces. When I browse through the photos newly added, I put the name on some faces, and I delete the other faces by clicking X on the circle - faces for example on paintings or magazines.
However the photo does not seem to remove these faces. They always appear in the function "add people", but with an empty box (light gray). For unknown reasons, there are two different shades of gray. These boxes list gets longer and longer, which "pollute" the list of recognizable faces but without a name.
If 'add you' one of these for a list you of people, you can't put it back to the people without a name. You can hide only.
If you double-click it, you get the usual screen that should show photos belong to that person, but it is of course empty... expect a wheel that turns without end. If you click the link to find more pictures of the same person, you get another screen, saying he has none. And this time the screen displays again the original face that I removed by removing the circle on the picture.
I wish I could just remove a recognized face so that it is no more displayed in the "list of people" and in the "add people" list How can I do?
At this moment I have not found any way to remove thumbnails of empty people. I just have them merged into a people album called delete and hide this person until this whether an update will fix it.
I tried if helps to repair the photo library, but it has not fixed the empty tiles. The only result was a new download of the library to iCloud.
If you hide people without removing the circle of faces of photography, photos of this person may not be used in memory. You don't want that, if there are pictures, you want to use in the memoirs.
-
empty selection smart iTunes on iphone
I have updated to iOS 10. I created a new smart playlist. It appears in iTunes fully filled. When I go on my iPhone to play list. It manifests itself here, but it is empty.
I have older / pre iOS 10 smart playlists that appear correctly.
Any ideas?
iOS 10
iPhone 6 Plus
iTunes 12.5.1.21
Sierra of MacOS
I tried a few more things. I took an old list and it duplicated. It has synchronized in 8 seconds approximately. Then, I changed the settings in the smart list to match what I had. The list updated and empties. I noticed that he did not like the parameter 'group's However, I have other active lists that use the setting "Grouping is" and they work. Maybe the new field, which I have added to the grouping is not be downloaded to iCloud music? So it is not available for correspondence in the rules? I'm running an update of genius and an update of the iCloud library. I'll try testing again to see if that makes a difference.
-
Documents directory empty following Sierra install
After installation of Sierra, My Documents directory is empty. In the window terminal ls - l shows .localized ~/Documents
All other files are missing.
Have you activated the system preferences > iCloud > iCloud Drive option to store the Desktop and Documents folder in iCloud? Then you are now having a new documents folder in iCloud sidebar of the Finder section. The path to this file is different. You can see if you drag a document from this folder behind a ls command in Terminal.
Maybe you are looking for
-
I get a general protection fault in the discussions.
I use 3 secure thread queues for sending data over the k-line have 1 main function and 2 other sons thread that performs the work to update GUI and receives the data from the COM port. Where is the risk of general protection fault? Please reply!
-
Hyper-V substitute Parent Credentials grayed out
Hello I'm setting up for the first time vWorkspace and you attempt to add a hyper-v for VDI host the creds of parent of substitution is checked and grayed out. I get an error no matter what account I put in there. Any help would be greatly appreciat
-
Using the pattern in Illustrator CC
I used the mode pattern successfully until the update to the latest version of Illustrator CC.In the past, when I used the pattern mode for my drawings and then, put the model on a canvas, the boss again while I enlarged the drawing area. Now, if I r
-
The basic idea is to invite the user to a layer name.The name of the layer performs an action.If there is no such thing as the name of the layer, you can prompt the user for a layer name.The next time that the script is running in the same document,t
-
Memory problems / accidents (iOS)
We are seeing some problems with the Adobe DPS application memory (2015) and stories (large), resulting in accidents.A way to reproduce is to have two or three stories. Stories must be large enough, as do several large images. Then:-Open the big stor