Log which records are exported?
Hello,
On 11G:
I'm using datapump to keep 2 databases in sync. When exporting data with expdp the query-parameter is used to filter data from the tables - not all data need to be synced all the time.
Now I'm wondering if there is any way to log the number of exported records within the database in some kind of log table. Or to set some flag on every record touched by expdp. How could I achieve any of these?
Thanks,
Stephan
I had a look now at Streams and Change Data Capture ... and this made me thinking, if creating a database link between those databases wouldn't be an option after all. Previously I planned to send files over ssh - which does creat some overhead. But if i manage to setup a database link through ssh ... this would make data exchange so much easier. And then I even might be using the features you proposed ...
cheers,
stephan
Similar Messages
-
Hi,
Archiving Database Schema states that in the tables SessionDetails and Conferences tables, the column 'SessionIdTime'
holds datetime value at which session request is captured by Archiving service.
But, is there any order in which the records are stored in the db?
Say, a session 'S1' starts at 1:00 PM and another session 'S2' starts at 1:05PM. 'S2' ends at 1:10 PM and 'S1' is still on going. I have observed that on ending the session the record is written to DB, so is it possible that details of session S2 is written
in db prior to 'S1'?
Is there any way to query these tables, in the order in which the records are stored?
Thanks and Regards,
ArjabhHi,
You can export records that have been stored in the Lync Server Archiving database with the following cmdlet in the link using Lync server manageshell.
http://technet.microsoft.com/en-us/library/gg398452.aspx
You need to write a SQL query/view or report server report to display the information.
More details:
http://blogs.technet.com/b/dodeitte/archive/2013/06/02/sample-lync-server-archiving-report-available.aspx
For the issue about “is there any order in which the records are stored in the db?” you can post a case to SQL forum and more experts will help to verify the issue.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
How can I filter which records are displayed in my dynamic table?
I have what I think is probably an easy question for anyone
who is experienced with PHP/MySQL and Dreamweaver (which I am not).
I have a website where users login, and then have access to
their homepage which displays a dynamic table of all of the records
that they have inserted into a database (this page also has a link
to the form where they submit a record). However, right now I can
only get to display all records that have been inserted instead of
only the ones that they have inserted (which is what I want). How
can I accomplish this?
I already have a session variable, 'MM_username', which
allows me to bind the user_ID to anything I need to, and when a
user inserts a record, their 'user_ID' is already inserted into a
column in that record for that table, so I'd like to display the
dynamic table in a way that filters it out so it only shows the
records that match the logged-in user's 'user_ID'.
I've tried to use the filter function in the recordset dialog
box, nut I just can't get it to work correctly. Any help on this
would be much appreciated!I already tried that. I set the table to filter out and
display only the records that match the landlord ID to the session
variable(which I named 'Landlord_ID' not 'MM_username ' like I said
earlier). When I tried to simply insert the session variable into
the page just to see what data would show up, the result is just a
blank space, so the session variable itself apparently has no data
value to echo in the PHP form.
Because of that, I have no idea how to tell dreamweaver to
filter based on the Landlord_ID, even though I CAN echo the
landlord ID variable in the recordset, I can't figure out how to
put that runtime value in the filter. -
DNS Scavenging - Which Record are scavenged?
I am about to enable scavenging in a domain that has never had scavenging enabled properly. There are hundreds of records with old time stamps. We have done our due diligence in researching records to disable deleting the old record if it has
an old time stamp. Previous admin's would let a server grab a DHCP server and then static IP the DHCP address.
I know that Event ID 2501 will give me a summary of how many records were scavenged. I seem to remember that (its been a while since I have been in a mess like this), there is a way to get a list/log of the records that were scavenged. I hope
we have all the records set, but I the first scavenging period may be painful.
Is there a way to get a list of each record that was scavenged?You might want to setup DHCP credentials and add the DHCP server to the DnsUpdateProxy group. This way it will update the IP of the host instead of creating another one.
And you really don't want to go below 24 hours with a lease, because technically scavenging is in multiple of days. And you must set the scavenging NOREFRESH and REFRESH values
combined to be equal or greater than the DHCP Lease length.
DHCP DNS Update summary:
- Configure DHCP Credentials.
The credentials only need to be a plain-Jane, non-administrator, user account.
But give it a really strong password.
- Set DHCP to update everything, whether the clients can or cannot.
- Set the zone for Secure & Unsecure Updates. Do not leave it Unsecure Only.
- Add the DHCP server(s) computer account to the Active Directory, Built-In DnsUpdateProxy security group.
Make sure ALL other non-DHCP servers are NOT in the DnsUpdateProxy group.
For example, some folks believe that the DNS servers or other DCs not be
running DHCP should be in it.
They must be removed or it won't work.
Make sure that NO user accounts are in that group, either.
(I hope that's crystal clear - you would be surprised how many
will respond asking if the DHCP credentials should be in this group.)
- On Windows 2008 R2 or newer, DISABLE Name Protection.
- If DHCP is co-located on a Windows 2008 R2, Windows 2012, Windows 2012 R2,
or NEWER DC, you can and must secure the DnsUpdateProxy group by running
the following command:
dnscmd /config /OpenAclOnProxyUpdates 0
- Configure Scavenging on ONLY one DNS server. What it scavenges will replicate to others anyway.
- Set the scavenging NOREFRESH and REFRESH values combined to be equal or greater than the DHCP Lease length.
More info:
This blog covers the following:
DHCP Service Configuration, Dynamic DNS Updates, Scavenging, Static Entries, Timestamps, DnsUpdateProxy Group, DHCP Credentials, prevent duplicate DNS records, DHCP has a "pen" icon, and more...
Published by Ace Fekay, MCT, MVP DS on Aug 20, 2009 at 10:36 AM 3758 2
http://blogs.msmvps.com/acefekay/2009/08/20/dhcp-dynamic-dns-updates-scavenging-static-entries-amp-timestamps-and-the-dnsproxyupdate-group/
I also recommend reviewing the discussion in the link below:
Technet thread: "DNS Scavenging "
https://social.technet.microsoft.com/Forums/windowsserver/en-US/334973fd-52b4-49fc-b1d8-9403a9481392/dns-scavenging
Some other things to keep in mind with registration and ownership to help eliminate duplicate DNS host records registered by DHCP:
=====================================================
1. By default, Windows 2000 and newer statically configured machines will
register their own A record (hostname) and PTR (reverse entry) into DNS.
2. If set to DHCP, a Windows 2000, 2003 or XP machine, will request DHCP to allow
the machine itself to register its own A (forward entry) record, but DHCP will register its PTR
(reverse entry) record.
3. If Windows 2008/Vista, or newer, the DHCP server always registers and updates client information in DNS.
Note: "This is a modified configuration supported for DHCP servers
running Windows Server 2008 and DHCP clients. In this mode,
the DHCP server always performs updates of the client's FQDN,
leased IP address information, and both its host (A) and
pointer (PTR) resource records, regardless of whether the
client has requested to perform its own updates."
Quoted from, and more info on this, see:
http://technet.microsoft.com/en-us/library/dd145315(v=WS.10).aspx
4. The entity that registers the record in DNS, owns the record.
Note "With secure dynamic update, only the computers and users you specify
in an ACL can create or modify dnsNode objects within the zone.
By default, the ACL gives Create permission to all members of the
Authenticated User group, the group of all authenticated computers
and users in an Active Directory forest. This means that any
authenticated user or computer can create a new object in the zone.
Also by default, the creator owns the new object and is given full control of it."
Quoted from, and more info on this:
http://technet.microsoft.com/en-us/library/cc961412.aspx
=====================================================
Ace Fekay
MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
This posting is provided AS-IS with no warranties or guarantees and confers no rights. -
Records are missing in the File which XI has placed in Target FTP server
Hi All,
I have a scenario where in XI is transfering the files from ECC to Target System . No transformation required here . I am using AAE to run this scenario.
Issue i am facing here is that i can see few records missing in the File which XI had placed in the Target system FTP server . Same file if i check it in archive folder of ECC (which XI has archived after picking the file), complete set of records are present for the same file.
Need your inputs please....
Note : XI is using AAE to transfer the files and no mapping . Also i tried to check out the audit logs in the channel monitoring . Unforutanely i was not able to see the logs to check the bytes that was transferred while readng and writing the file . Sometimes i have faced audit logs issue in PI 7.1
Regards
Vinay P.Please use temporary name scheme
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
hope this helps
regards
Ninad -
Single record in Export Error log - Essbase Adapter
We are using FDM to load data to Essbase cubes. Currently in the export.err log file, we are getting the kickout details for a single record at a time. Is there any setting that would give us the entire list of kickouts in a sinlge log?
Thanks.Use a load rule to load a data and you will get a error log listing all errors up to the max errors specified in the Essbase configuration. To use this method from FDM instead of the standard Adapter load check the Enable String Load option in the Adapter configuration settings and specify the name of the Load Rule you wish to use. Personally I would always go for the Load Rule option when loading Essabs from FDM
-
While exporting the Report to Excel Records are showing two times
Hello Gurus
When im trying to export a report from NW Portal to Excel, data is showing double times, even variable selections screen, records are showing two tmes.
What would be the problem, does we need any SP.
Thanks in advance.
Regd
LajwanthGURU'S ANY REPLIES........
-
ADF: controlling the order in which VO records are inserted
All,
in an ADF BC project, we have some complex MD insert pages that add records to master and detail tables at the same time. The application sits on top of CDM RuleFrame, which exposes the datamodel as DB views with instead-of triggers and adds (Designer) a few nifty things like auto-populated PK fields. Sad enough, we can't use these auto-generated PKs as the 'refresh after insert' settings in an EO work with a RETURNING clause, which is not supported for instead-of triggers. This means we'll have to find the PK sequences ourselves from the EOs and populate these fields ourselves, before committing to the database. So far so good, but things go wrong when we want to insert master and detail at the same time. The PK and FK of the child record are already filled in at insert time (which is nice) but for some reason the child records get inserted before the parents, resulting in an error on the FK as the parent record does not yet exist (which is not nice).
So, here's the question: is there a way to control the order in which new VO records are inserted ? On what is the default order based (maybe a little renaming could help us out to get the alphabet our way) ?
We know defining the FKs as 'initially deferred' will make sure they are only checked at commit time, but our DBA prefers to not use that solution unless strictly necessary. (is there anything bad about deferred keys why we should believe him? ;o) )
And additionally, is there a way around all this manual PK-fetching ? We've tried using the refresh(int refreshMode) method of EntityImpl, but it didn't seem to work.
Many thanks in advance for your tips, suggestions and solutiosn !
Best regards,
Benjamin De BoeBenjamin,
To handle the problem with the child/parent records being inserted in the wrong order - have a read of the Oracle ADF Developer's Guide for Forms/4GL developers, section 26.7. I use that technique with great success.
John -
Recording which articles are being read
I want to create a cloud tag of popular topics
What i need to work out
1. How to record which articles are being read
2. How to display these in a tag cloud
3. Then when a user clicks on a tag - all the articles which
similar
tag are displayed
What i have done so far (how am i going?)
Db called tags
Tables
tag, article title, article url, article description
# each article has a few different tags
e.g
article for preventing std has the following tags
std, sex, safe sex, HIV
# the article itself doesnt exist in the database as i read
this
wasn't good for SEO. so the article itself exists on a static
page.
I have close to 100 medicla articles and add about 4 or 5 a
month
so i would love to get this working to save me time and
effort.
Many thanks
Mark Holloway
coordinator
www.healthhokkaido.comHave been using this code from the pete frei tutorial - cloud
tags -. It is working fine.
In the case of my database, each article has 3 tags
associated.
So there are 3 fields as opposed to 1 from which to count the
tags.
How could I adjust the code to take accountfor this?
Also I am a begineer so if you had the time to provide a
short explanation that would also be great.
<cfquery datasource="cart" name="tags">
SELECT COUNT(tag) AS tagCount, tag
FROM list
GROUP BY tag
</cfquery>
<cfset tagValueArray =
ListToArray(ValueList(tags.tagCount))>
<cfset max = ArrayMax(tagValueArray)>
<cfset min = ArrayMin(tagValueArray)>
<cfset diff = max - min>
<cfset distribution = diff / 3>
<style type="text/css">
<!--
.smallestTag { font-size: xx-small; }
.smallTag { font-size: small; }
.mediumTag { font-size: medium; }
.largeTag { font-size: large; }
.largestTag { font-size: xx-large; }
-->
</style>
<cfoutput query="tags">
<cfif tags.tagCount EQ min>
<cfset class="smallestTag">
<cfelseif tags.tagCount EQ max>
<cfset class="largestTag">
<cfelseif tags.tagCount GT (min + (distribution*2))>
<cfset class="largeTag">
<cfelseif tags.tagCount GT (min + distribution)>
<cfset class="mediumTag">
<cfelse>
<cfset class="smallTag">
</cfif>
<a href="/tag/#tags.tag#"
class="#class#">#tags.tag#</a>
</cfoutput> -
Server.log and access file previous record are overwrite
Hi,
I am having problem that my server.log and access file in all instance have been overwrite by latest record. Suppose all the system.out.print will append to the server.log. However, my problem is the log which has been written to server.log in earlier time (mayb morning till afternoon) is replaced. From the server.log, I am only able to view the log which start from 11 pm. The same case happen to access file as well. This incident is not happen everyday but sometimes.
I am wondering what is happen and how i can solve the problem.
Any help/guidance is highly appreaciate.
Thanks.Hi,
Did anyone know the solution for this issues..
Thanks. -
In which tables are batch input error messages logged?
does anybody know in which table are the batch input error messages logged?
I have to display the error messages which have occured during the transaction
I tried to find out, but i could see only the table BDCMSGCOLL, this table has only the Batch input message number and not the message itself?
does anybody know about the batch input error messages?hi,
check the sample code below.
messtab is of type BDCMSGCOLL.
Call the transaction and then use T100 to get the message.
DATA: l_mstring(480).
call transaction using
REFRESH messtab.
CALL TRANSACTION tcode USING bdcdata
MODE ctumode
UPDATE cupdate
MESSAGES INTO messtab.
l_subrc = sy-subrc.
SKIP.
LOOP AT messtab.
SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
AND arbgb = messtab-msgid
AND msgnr = messtab-msgnr.
IF sy-subrc = 0.
l_mstring = t100-text.
IF l_mstring CS '&1'.
REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
ELSE.
REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
ENDIF.
CONDENSE l_mstring.
WRITE: /4 messtab-msgtyp, l_mstring(250).
ELSE.
WRITE: /4 messtab.
ENDIF.
ENDLOOP. -
How to find which backups are running - whether RMAN or EXPORT or EXPDP ?
I need to find using SQL which backups are running at a particular time . I want to use SQL for this.
Hi,
Check the V$session view to get it.
SELECT SID,PROGRAM FROM V$SESSIONThe program will give you the
In case of export it will give you - exp.exe under the PROGRAM
In case of expdp it will give you - expdp.exe under the PROGRAM
In case of RMAN session it will give you -
SID PROGRAM
140 exp.exe
158 expdp.exe
138 rman.exe
149 rman.exeRegards,
Vijayaraghavan K -
Which objects are recorded in a TBOM?
Hello all,
In a dynamic recording of the TBOM for the BPCA, what level of objects is recorded? For example, does it capture every field on the screen? Does it capture a field even if the user recording it does not click onto that field? Does it record fields in tabs that the user did not view?
We are trying to figure out how detailed we have to be in recording these TBOMs to catch the information we want.
Thanks,
MicheleHi Michele,
Please have in mind that during the dynamic TBOM creation all objects
that are executed/touched during the execution of the transaction are
recorded. You can look at which objects are in the TBOM by cklicking on
the 'Display TBOM content' icon on the TBOM screen in the project.
You can also check whether TBOMS for your project have
been recorded.
You can do this in transaction SOLAR_EVAL by executing the report
'Test -> Business Process Change Analyzer - TBOM Analyzer' for
your project.
The following document explains all necessary steps for BPCA in detail:
https://websmp107.sap-ag.de/~sapidb/011000358700000932192009E
Kind regards,
Fabricius -
Hello Everyone,
Suddnly stop merge replication. transaction cannot replicated from publiser to sunscriber.
I tried to set heartbeat_interval= 5 but still not working..
The replication agent has not logged a progress message in 5 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor
are still active.
What is the problem with merge replication and why this erroe comes..
any solution of this error or reconfigure merge replication?
please give me a solutionRun profiler on the subscriber to see what the merge agent is doing there. It is possible that there is some blocking that is causing the agent to hang. You might want to set the heartbeat to 10 or higher. The default is IIRC 5.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941 -
Authorizations for which transactions are required in BW?
Hi,
Can any ony please give some information regarding
Authorizations for which transactions are required in BW Production Support?
Regards,
AryanHi Aryan,
Authorizations for the following transactions are required in BW
1. RSA1
2. SM37
3. ST22
4. ST04
5. SE38
6. SE37
7. SM12
8. RSKC
9. SM51
10. RSRV
11.RSPC
13.RSMON
The Process Chain Maintenance (transaction RSPC) is used to define, change and view process chains.
Upload Monitor (transaction RSMO or RSRQ (if the request is known)
The Workload Monitor (transaction ST03) shows important overall key performance indicators (KPIs) for the system performance
The OS Monitor (transaction ST06) gives you an overview on the current CPU, memory, I/O and network load on an application server instance.
The database monitor (transaction ST04) checks important performance indicators in the database, such as database size, database buffer quality and database indices.
The SQL trace (transaction ST05) records all activities on the database and enables you to check long runtimes on a DB table or several similar accesses to the same data.
The ABAP runtime analysis (transaction SE30)
The Cache Monitor (accessible with transaction RSRCACHE or from RSRT) shows among other things the cache size and the currently cached queries. The Export/Import Shared buffer determines the cache size; it should be at least 40MB.
****Assign Points If Helpful****
Regards,
Ravikanth
Maybe you are looking for
-
Restore errors out...
i am trying to restore a DB but keep getting errors...i was able to restore the controlfile...and here is the list backup cmd below.... i have restored from this back 3 to 4 times earlries and now it dont seem to work...i am on 10.2.0.3 RMAN> restore
-
How do i install C++ 10 on Win8.1?
I have a new installation of 8.1 on a clean drive. there is a particular piece of development software I use from QSC-Qsys Designer 3.whatever that requires C++ 10 to run however I cannot seem to find an installer for it anywhere I search on the Micr
-
Typing on PDF document (iPad)
does anyone know if I can type a document (PDF ) on Adobe reader . I have an apple iPad?.
-
ITunes says my new IPod is in Recovery Mode
When I connect my Ipod Video on my desktop, Itunes says that it is in Recovery Mode and I should restore it to use it. I've tried adding songs to it just to see what happens, and ITunes crashes. But when I connect it to any other computer, it works f
-
How to load exchange rates in BW 3.5 for month end
Hi , The exchange rates are not loaded automatically in BW for FEB month end. Request your reply ...how to load exchage rates into BW and what should be the reasons like why this is not loaded automatically.