Targeting Specific Partition in OWB.
Hi ,
I have a partition table with the range partition, partition based on the month.
Here this parition table is my target table and load strategy is update / insert
Can any body help me that how can I point my mapping, to target the specific partition (This partition depends on load day so I can not hard code it either) only instead of whole table ? This is required because of performance probles...
Have a great time....
Hi,
look at OWB PEL feature and/or ALTER TABLE ... EXCHANGE PARTITION (use it in custom procedures)
Regards,
Oleg
Similar Messages
-
I need a method to target specific columns in an IP query embedded in a WAD
I have an IP enabled WAD with multiple embedded queries. I need a method to target specific columns of specific queries so as to enable text wrapping. Does anyone have a technique that has worked for them that they can share?
SheldonHi Mayank - I would think some JavaScript code might work, but I would be open to any technique that works.
-
OGG-00204,Missing TARGET specification.
Hi All,
I'm having some issues on my replicat process as I'm encountering this error "OGG-00204, MIssing TARGET specification" when I'm trying to start it,
my replicat parameter file includes "TARGET" on table mapping, am i missing something? please see below the error log and replicat parameters below.
i tried googling it but i don't have any luck on finding a solution, please help.
GG version
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Solaris, x64, 64bit (optimized), Oracle 11g on Apr 24 2012 01:48:54
DB version 11.2.0.1.0
ERROR LOG
2013-08-29 21:08:38 INFO
OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start replicat RPGRPA0A.
2013-08-29 21:08:38 INFO
OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host unknown (START REPLICAT RPGRPA0A ).
2013-08-29 21:08:38 INFO
OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT RPGRPA0A starting.
2013-08-29 21:08:39 INFO
OGG-00995 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: REPLICAT RPGRPA0A starting.
2013-08-29 21:08:39 INFO
OGG-03035 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Operating system character set identified as US-ASCII. Locale: en_US_POSIX, LC_ALL:.
2013-08-29 21:08:39 INFO
OGG-00506 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Both GETTRUNCATES and DDL replication are enabled.
2013-08-29 21:08:39 INFO
OGG-01815 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/ogg/ggs/dirtmp.
2013-08-29 21:08:39 INFO
OGG-00996 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: REPLICAT RPGRPA0A started.
2013-08-29 21:08:39 ERROR OGG-00204 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: Missing TARGET specification.
2013-08-29 21:08:39 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rpgrpa0a.prm: PROCESS ABENDING.
-bash-3.00$
REPLICAT PARAMETER
REPLICAT RPGRPA0A
getenv (ORACLE_SID)
USERID ggs_owner, &
PASSWORD AADAAAAAAAAAAAJANEMJKFJARJIFTJCHBABBCIBEQJNIGJVFIGQJAGGIHHTHTHAIGIUJPGSDTCOECFVA, &
ENCRYPTKEY clarityogg
ASSUMETARGETDEFS
DBOPTIONS DEFERREFCONST
DISCARDFILE ./dirout/dscrpgrpa0a.dsc, APPEND
APPLYNOOPUPDATES
GETTRUNCATES
--ERROR HANDLING
REPERROR (-1, EXCEPTION)
REPERROR (-1403, EXCEPTION)
DDLERROR DEFAULT IGNORE RETRYOP
--OPTIMIZATION
BATCHSQL
GROUPTRANSOPS 2000
--DDL REPLICATION
DDL &
INCLUDE OBJNAME "SCHEMA2.APRTEMP" &
INCLUDE OBJNAME "SCHEMA2.AWAIT_TASK4" &
INCLUDE OBJNAME "SCHEMA2.BASH_CUSTOMER_RBG" &
INCLUDE OBJNAME "SCHEMA2.BC_CBG" &
EXCLUDE INSTR 'AS SELECT'
--TABLE REPLICATION
SEQUENCE SCHEMA2.*;
MAP SCHEMA1.APRTEMP, TARGET SCHEMA2.APRTEMP;
MAP SCHEMA1.AWAIT_TASK4, TARGET SCHEMA2.AWAIT_TASK4;
MAP SCHEMA1.BASH_CUSTOMER_RBG, TARGET SCHEMA2.BASH_CUSTOMER_RBG;
MAP SCHEMA1.BC_CBG, TARGET SCHEMA2.BC_CBG;
Thanks a lot
VillyFound the answer, i just removed sequence schema2.* and the replicat runs fine.
-
Refresh specific partition of materialized table
DB version 11.2.0.3 on Linux
We have several partitioned materlialized views. Partitioning key is mandator. We would like to refresh partition independently, e.g. refresh all materialized view partitions for mandator GB (e.g. refresh mandator GB only even if there are also other partitions belonging to other mndators that are stale).
Is it possible to refresh partitions only? I'm aware of partition change tracking but I don't think/know that it is possible to refresh a specific partition.We have several partitioned materlialized views. Partitioning key is mandator. We would like to refresh partition independently, e.g. refresh all materialized view partitions for mandator GB (e.g. refresh mandator GB only even if there are also other partitions belonging to other mndators that are stale).
Is it possible to refresh partitions only? I'm aware of partition change tracking but I don't think/know that it is possible to refresh a specific partition.
No - Oracle's refresh process can not be used to refresh a specific partition.
But there is a workaround if you handle the refreshes yourself.
WARNING - this is NOT for the faint of heart. I don't recommend using the approach unless it is absolutely necessary. Make sure you FULLY understand all of the issues involved before using this technique in production.
Basically you:
1. create a pre-built partitioned table to base the MV on
2. create an MV using the pre-built table
3. create an ordinary temp/work table with the same structure as the MV
4. populate the temp/work table with the new (refreshed) partition data
5. execute an EXCHANGE PARTITION of the temp/work table with the 'specific' partition you want to refresh
Arup Nanda has a writeup with a very simple example of how the process basically works. You will need to modify it for your use case.
http://arup.blogspot.com/2010/04/online-materialized-view-complete.html -
How to create index on specific partition table?
Hi Experts,
we created 4 partitions on table .
Table Name : test
partitions : Test_prt1
Test_prt2
Test_prt3
Test_prt4
Our requiremnt create the index on specific partition (ex : Test_prt2) only.Creating Partitioned Tables and Indexes
http://technet.microsoft.com/en-us/library/ms187526(v=sql.105).aspx
you can create a aligned index, the index will be spread over the filegroups
Create NonClustered Index IX_orders_aligned
On dbo.orders(order_id)
On test_monthlyDateRange_ps(orderDate);
OR
Unaligned parition, you can create index on any filegroups
Create NonClustered Index IX_orders_unpartitioned
On dbo.orders(order_id)
On [Test_prt2_FileGroup];
For more information refer the below link
http://sqlfool.com/2008/12/indexing-for-partitioned-tables/
Or
You can try Creating a filtered index (I've not tried it though)
http://www.mssqltips.com/sqlservertip/1785/sql-server-filtered-indexes-what-they-are-how-to-use-and-performance-advantages/
--Prashanth -
How to exp a specific partition data from a partitioned table
Thanks in advance.
Is is possible to export a specific partition data from a partitioned table? If so Please describe how with an example. Thank You.You would specify a partition with the table_name:partition_name syntax at the TABLES parameter.
See examples at
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#CEGCJABJ -
Hello,
What is the difference when updating a table specifying a specific partition compare to not specifying a specific partition?
Does specifing a specific partition while doing an update only update values within that specific partition?
For example:
update tab_abc partition (nov_2013)
set col_abc = 'ABC';
vs.
update tab_abc
set col_abc='ABC';
Thank you.Yes, but better to do this:
update tab_abc
set col_abc = 'ABC'
where date_key >= to_date('01-NOV-2013','DD-MON-YYYY')
and date_key < to_date('01-DEC-2013','DD-MON-YYYY')
(where date_key is the column your table is partitioned on)
Now your code is totally unaware that the table is partitioned but it can still use partition pruning.
And your code won't break if the partitioning strategy changes (which it certainly can). -
How to truncate a partition in owb
I wonder how can i achieve truncating a partition before loading into this target table. I found this pre-mapping prcess where we have this option of truncating a table, but how can i just truncate a partition within a table in a mapping? please advice.
~PrabhaAs per Detlef's suggestion, here's the basics that you can embedd in a function/procedure. Accepts 3 parameters in_table_name, in_subpartition_name and in_partition_name. You can also enhance ALTER statements to REUSE/DROP STORAGE if required.
v_sql VARCHAR2(250) DEFAULT NULL;
BEGIN
IF in_subpartition_name IS NOT NULL THEN
v_sql := 'ALTER TABLE '||in_table_name||' TRUNCATE SUBPARTITION '||in_subpartition_name;
ELSIF in_partition_name IS NOT NULL THEN
v_sql := 'ALTER TABLE '||in_table_name||' TRUNCATE PARTITION '||in_partition_name;
ELSE
RAISE no_data_found;
END IF;
EXECUTE IMMEDIATE v_sql; -
Allowing parallel processing of cube partitions using OWB mapping
Hi All,
Iam using an OWB mapping to load a MOLAP cube partitioned on TIME dimension. I configured the OWB mapping by checking the 'Allow parallel processing' option with the no.of parallel jobs to be 2. I then deployed the mapping.The data loaded using the mapping is spread across multiple partitions.
The server has 4 CPU's and 6 GB RAM.
But, when i kick off the mapping, i can see only one partition being processed at a time in the XML_LOAD_LOG.
If i process the same cube in AWM, using parallel processing, i can see that multiple partitions are processed.
Could you pls suggest if i missed any setting on OWB side.
Thanks
ChakriHi,
I have assigned the OLAP_DBA to the user under which the OWB map is running and the job started off.
But, it failed soon with the below error:
***Error Occured in __XML_MAIN_LOADER: Failed to Build(Refresh) XPRO_OLAP_NON_AGG.OLAP_NON_AGG Analytic Workspace. In __XML_VAL_MEASMAPS: In __XML_VAL_MEASMAPS_VAR: Error Validating Measure Mappings. In __XML_FND_PRT_TO_LOAD: In __XML_SET_LOAD_STATUS: In ___XML_LOAD_TEMPPRG:
Here is the log :
Load ID Record ID AW Date Actual Time Message Time Message
3973 13 SYS.AWXML 12/1/2008 8:26 8:12:51 8:26:51 ***Error Occured in __XML_MAIN_LOADER: Failed to Build(Refresh) XPRO_OLAP_NON_AGG.OLAP_NON_AGG Analytic Workspace. In __XML_VAL_MEASMAPS: In __XML_VAL_MEASMAPS_VAR: Error Validating Measure Mappings. In __XML_FND_PRT_TO_LOAD: In __XML_SET_LOAD_STATUS: In ___XML_LOAD_TEMPPRG:
3973 12 XPRO_OLAP_NON_AGG.OLAP_NON_AGG 12/1/2008 8:19 8:12:57 8:19:57 Attached AW XPRO_OLAP_NON_AGG.OLAP_NON_AGG in RW Mode.
3973 11 SYS.AWXML 12/1/2008 8:19 8:12:56 8:19:56 Started Build(Refresh) of XPRO_OLAP_NON_AGG.OLAP_NON_AGG Analytic Workspace.
3973 1 XPRO_OLAP_NON_AGG.OLAP_NON_AGG 12/1/2008 8:19 8:12:55 8:19:55 Job# AWXML$_3973 to Build(Refresh) Analytic Workspace XPRO_OLAP_NON_AGG.OLAP_NON_AGG Submitted to the Queue.
Iam using AWM (10.2.0.3 A with OLAP Patch A) and OWB (10.2.0.3).
Can anyone suggest why the job failed this time ?
Regards
Chakri -
Time machine: Can I target specific folders for back up
As a default time machine backs up your entire drive.
Along with my mac I want to back up a +specific folder+ on my Drobo: an external drive. (it's where I keep my large working files) I don't want to, don't need to and can't back up the entire Drobo.
Currently I am excluding everything on the drobo except the several folders I am working on. I would love to have the option to add folders as well as exclude folders.
Is there a work around I haven't thought of?well.... lets see here....
I suggest using SuperDuper or another backup program to auto backup these files to your Drobo. Drobo is RAID so you would not need to back the Drobo up.
Also, I don't prefer the idea of using Drobo for a Time Machine Backup. I know people do it, but it's much better to buy a separate external drive for Time Machine, and use Drobo with SuperDuper. You should feel safe letting your large work files reside on the Drobo. If you want these files to reside on the internal, let SuperDuper run a backup. Good Luck. -
InDesign CS/CS2 Mac - making a target-specific macro
Hello.
This is more a CodeWarrior question than an InDesign question, but because the difficulty is caused by the SDK, I am asking the question here. If anyone objects to the question, I recommend not responding.
I want to do this in one of my projects (greatly simplified code to illustrate concept only):
void MyCall(PMString AString)
#ifdef PRE_RELEASE_VERSION
CAlert::InformationAlert(AString);
#endif
I want to set up my project so that if I am running a prerelease version of my plugin, PRE_RELEASE_VERSION is automatically defined by a compiler flag.
In Visual Studio this is simplicity, itself. The flag is something like /DPRE_RELEASE_VERSION. I can include it in the Preprocessor definitions field in the Properties pane. In XCode, a similar feature is present. But I have spent the last two hours studying CW8 and CW9 for a similar ability, and the closest I can come is to modify the SDKPluginPrefix.h file, which is the file automatically placed by Dolly in the Prefix File field of the C++ Language pane in the CW Target Settings Panels.
The problem is that we are not allowed to modify the SDK, as part of the rules we agree to when we download the SDK. Now, I suspect that if I did modify the SDKPluginPrefix.h file to include an additional #define statement, I doubt that Adobe would come hunting me down, nevertheless, I would rather honor that agreement.
Another possibility is some elaborate scheme of header files included in only one target, etc, but I would rather seek simplicity, if at all possible.
Is there
b any other way
to set up a macro in CW for a single target only?
TIA!
Johnif you are using CW8, click on the target settings on the Project Window. Under the Language Settings > C/C++ Language, enter your own "Prefix File" name. In this of your own prefix file, #include "SDKPluginPrefix.h" and enter whatever you feel like defining.
In CW 9, click on the target settings, too but look for C/C++ Preprocessor. do your #define there.
Since these are per target settings, you will need to do the same for all the targets.
HTH.
pete -
Target specific version of psd from bridge talk.
I am trying this but its not working.
var bt = new BridgeTalk;
bt.target = "photoshop-12.0";
var crud="try{doAction('2012 Design BW','Design' );}catch(e){}";
bt.body =crud;
bt.send();
photoshop works but when I try and version it. Nothing happens.var bt = new BridgeTalk;
bt.target = "photoshop","13";
var crud="try{doAction('2012 Design BW','Design' );}catch(e){}";
bt.body =crud;
bt.send();
This worked. I am not sure the variable that has changed. But now its not working? It keeps opening Photoshop CS5. Ugg.
So I open a file and its in CS6 and then it trys to run this action in 5.
I am also no longer getting a result of true. It is now false. -
Ant Deploy Script to Specific partition in EM
Hello All,
I was trying to deploy the jar file of my composite to Application Server SOA...
when i ran the command, the composite is being deployed to the default partition in soa-infra in EM Console...
I have my own created partition also under soa-infra...This is where i want to deploy my composite...can you please tell me how to deploy to this partition...
The command i have used is...
ant -f ant-sca-deploy.xml -DserverURL = http://localhost:8001 -DsarLocation = /// -Duser = /// -Dpassword = /// -DforceDefault = true -Doverwrite = true
Thanks.I got the answer...
there's one more parameter we can give...
-Dpartition = myOwnPartion
Thanks. -
NW 7.3 specific - Database partitioning on top of logical partitioning
Hello folks,
In NW 7.3, I would like to know if it is possible to add a specific database partition rule on top of a logical partitioned cube. For example, if I have a LP cube by fiscal year - I would also like to specifically partition all generated cubes at DB level. I could not find any option in the GUI. In addition, each generated cube can be viewed only (cannot be changed in the GUI). Would anybody know if it is possible?
Thank you
IoanFair point! Let me explain more in details what I am looking for - in 7.0x, a cube can be partitioned at the DB level by fiscal period. Let's suppose my cube has only fiscal year 2011 data. If I partition the cube at the DB level by fiscal period in 12 buckets, I will get 12 distinct partitions (E table only) in the database. If the user runs a query on 06/2012, then the DB will search for the data only in the 06/2012 bucket - this is obviously faster than browsing entire cube (even with indexes).
In 7.3, cubes can be logical partitioned (LP). I created a LP by fiscal year - so far so good. Now, I would like to partition at the DB level each individual cube created by the LP. Right now I could not - this means that my fiscal year 2012 cube will have entire data residing in only 1 large partition, so a 06/2012 query will take longer (in theory).
So my question is --> "Is it possible to partition a cube generated by a LP in fiscal period buckets"? I believe the answers is no right now (Dec 2011).
By the way, all the above is true in a RDBMS environment - this is not a concern for BWA / HANA since data is column based and stored in RAM (not same technology as RDBMS).
I hope this clarifies by question
Thank you
Ioan -
Hide Specific Mounted Drives/Partitions on Desktop
I know that I can hide types of drives on the Desktop, in Finder > Preferences. I'd really like to hide specific partitions. Does anyone know of some terminal tricks or other method to accomplish this. I suppose I could hide them all, then make aliases for the ones I do want, though this is not idea.
you can make a drive hidden from finder altogether which will also hide it from the desktop. that's done using the following terminal command
chflags hidden /volumes/"drive name"
put the name of the drive in question in the above. KEEP the quotes. to unhide it run
chflags nohidden /volumes/"drive name"
the only other way would be what you mentioned. hide all drives from the desktop and then put aliases to the ones you need on the desktop.
Maybe you are looking for
-
Do not buy a 4510L - internet randomly hangs while browsing - likely 4G network issues
Ok, so I was excited to jump into a 4G wifi hotspot. I did some quick research and noticed the Samsung 4G hotspot was having some internet connection issues. Samsung had released an update but I didn't want to bother. I mentioned to the Verizon Wirel
-
Error while upgrading EPBC Component
Hi all, I upgraded SAP NetWeaver 7.01 SP4 to SAP NetWeaver 7.01 SP5. All components upgraded but EPBC04_0-10005916.SCA failed to upgrade. There was error during depoloyment. Due to low physical memory in the hard drive where I have /usr/sap/trans/EPS
-
Is it really necessary for me to replace my STB 7100 series with this new multi-room DVR?
I just wanted to know other people's opinions on this because so far, I'm leaving my existing setup alone. I was looking on line to see what upgrades may be available to me and the multi-room DVR is one of them, which now I see is not only available
-
My husband uses adobe cs5. The clone tool isn't working and after resetting the tools adobe bridge now goes to picasa. How can we make the clone tool work and have bridge go to cs5 not picasa?
-
T400 with Windows XP, freezes on shutdown
Hi, I recently purchased a Lenovo T400 laptop (originally with vista) and installed Windows XP on it. I installed all the drivers one by one from the lenovo website, and verything works nicely- except for one hitch. When I go to shutdown or restart,