HCC compression and UPDATES
We use HCC QH compression for older partitions and we have a requirement to update some of these older partitions. From what I read in documents, those updated records will get converted to OLTP compression format. If this is the case, how do I convert these records back to HCC QH compression.
Are there any commands to find those records changed from HCC-QH to OLTP and commands to convert them back to HCC. I am thinking of implementing a weekly mainteance process to do those steps to locate OLTP and convert to HCC-QH.
- Sreeni
Hi Sreeni,
I would advise that you refer to the following link by Kerry Osborne to find you what level of compression a particular row has been compressed with.
http://kerryosborne.oracle-guy.com/2011/01/ehcc-and-the-get_compression_type-function/
As far as your problem goes the question is that how many rows in your partition are getting updated. If the number of rows are very few then it does not matter since only those rows will change their compression type from EHCC to OLTP. In case the number of rows are huge then you may want to consider the option of compressing the partition again using EHCC. As of now I am not aware of any option that would just compress a few rows in the partition and I think you would have to compress the entire partition again using the ALTER MOVE statement.
To resolve your problem I would suggest the following options.
Option 1: In case you have footprint columns in your table (updated time, insert time) etc you can use the update time column to check which of the rows have been updated and then again compress those partitions in your weekly maintenance job.
Option 2: Setup a trigger on your table on update and for every update you can just insert a row in another table. You can further refine this trigger by just adding one row for each partition since you already know your partition boundaries (example if there is already a row for 11/23/2012 you don't want to insert a row for 11/24/2012 since you already know that you have to compress this partition).
Triggers are expensive so I would advise that if the updates are not hurting you much you can very well not do anything about it. You first need to calculate the size of your partition before the update (after compression is done) and then after the update has been performed. This way you will be sure to know whether you need to weekly job of not.
Similar Messages
-
Mapping problem with compressed key update record
Hi, could you please advise?
I'm getting the following problem:
About a week ago replicat abened with "Error in mapping" error. I found in discard file some record looking like:
filed1 = NULL
field2 =
field3 =
field4 =
field5 =
datefield = -04-09 00:00:00
field6 =
field8 =
field9 = NULL
field10 =
Where filed9 = @GETENV("GGHEADER", "COMMITTIMESTAM"), field10 = = @GETENV("GGHEADER", "COMMITTIMESTAM"), others are table fields mapped by USEDEFAULTS
So I got Mapping problem with compressed key update record at 2012-06-01 15:44
I guess I need to mention that extract failed in 5 minuts before it with: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <[CFileInfo::Read] Timeout expired after 10 retries with 1000 ms delay, waiting to read transaction log or backup files. To increase the number of retries, use SETENV (GGS_CacheRetryCount = n) in Extract parameter file. To control retry delay time, use SETENV (GGS_CacheRetryDelay = n). handle: 0000000000000398 ReadFile GetLastError:997 Wait GetLastError:997>.
I don't know if it has ther same source as data corruption, could you tell me if it is?
Well, I created new extract, starting 2012-06-01 15:30 to check if there was something with extract at the time, but got the same error.
If I run extract beging at 15:52 it starts and works.
But well, I got another one today. Data didn't look that bad, but yet one column came with null value:( And I'm using it as a key column, so I got Mapping problem with compressed key update record again:(
I'm replicating from SQL Server 2008 to Oracle 11g.
I'm actually using NOCOMPRESSUPDATES in Extract.
CDC is enabled for all tables replicated. The only thing is that it is enabled not by ADD TRANDATA command, but by SQL Server sys.sp_cdc_enable_table, does it matter?
Could you please advise why does it happen?Well, the problem begins somewhere in extract or before extract, may be in transaction log, I don't know:(
Here are extract parameters:
EXTRACT ETCHECK
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
SOURCEDB TEST, USERID **, PASSWORD *****
exttrail ./dirdat/ec
NOCOMPRESSUPDATES
NOCOMPRESSDELETES
TABLE tst.table1, COLS (field1, field2, field3, field4, field5, field6, field7, field8 );
TABLE tst.table2, COLS (field1, field2, field3, field4 );
Data pump:
EXTRACT DTCHECK
SOURCEDB TEST, USERID **, PASSWORD *****
RMTHOST ***, MGRPORT 7809
RMTTRAIL ./dirdat/dc
TABLE tst.table1;
TABLE tst.table2;
Replicat:
REPLICAT rtcheck
USERID tst, PASSWORD ***
DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
SOURCEDEFS ./dirdef/sourcei.def
HANDLECOLLISIONS
UPDATEDELETES
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
Rpt file for replicat:
Oracle GoldenGate Delivery for Oracle
Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
Windows x64 (optimized), Oracle 11g on Apr 22 2011 00:34:07
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2012-06-05 12:49:38
Operating System Version:
Microsoft Windows Server 2008 R2 , on x64
Version 6.1 (Build 7601: Service Pack 1)
Process id: 2264
Description:
** Running with the following parameters **
REPLICAT rtcheck
USERID tst, PASSWORD ***
DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
SOURCEDEFS ./dirdef/sourcei.def
HANDLECOLLISIONS
UPDATEDELETES
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 512M
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1G
CACHESIZEMAX (strict force to disk): 881M
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG = "AMERICAN_AMERICA.CL8MSWIN1251"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "CL8MSWIN1251"
For further information on character set settings, please refer to user manual.
** Run Time Messages **
Opened trail file ./dirdat/dc000000 at 2012-06-05 12:49:39
2012-06-05 12:58:14 INFO OGG-01020 Processed extract process RESTART_ABEND record at seq 0, rba 925 (aborted 0 records).
MAP resolved (entry tst.table1):
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
2012-06-05 12:58:14 WARNING OGG-00869 No unique key is defined for table table1. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
Using the following default columns with matching names:
field1=field1, field2=field2, field3=field3, field4=field4, field5=field5, field6=field6, field7=field7, field8=field8
Using the following key columns for target table R_019_000001.TCALCULATE: field3.
2012-06-05 12:58:14 WARNING OGG-01431 Aborted grouped transaction on 'tst.table1', Mapping error.
2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
2012-06-05 12:58:14 WARNING OGG-01151 Error mapping from tst.table1 to tst.table1.
2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
Source Context :
SourceModule : [er.main]
SourceID : [er/rep.c]
SourceFunction : [take_rep_err_action]
SourceLine : [16064]
ThreadBacktrace : [8] elements
: [C:\App\OGG\replicat.exe(ERCALLBACK+0x143034) [0x00000001402192B4]]
: [C:\App\OGG\replicat.exe(ERCALLBACK+0x11dd44) [0x00000001401F3FC4]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x000000014009F102]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B29CC]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B8887]]
: [C:\App\OGG\replicat.exe(releaseCProcessManagerInstance+0x25250) [0x000000014028F200]]
: [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x000000007720652D]]
: [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x000000007733C521]]
2012-06-05 12:58:14 ERROR OGG-01296 Error mapping from tst.table1 to tst.table1.
* ** Run Time Statistics ** *
Last record for the last committed transaction is the following:
Trail name : ./dirdat/dc000000
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 249 (x00f9) IO Time : 2012-06-01 15:48:56.285333
IOType : 115 (x73) OrigNode : 255 (xff)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 44 AuditPos : 71176199289771
Continued : N (x00) RecCount : 1 (x01)
2012-06-01 15:48:56.285333 GGSKeyFieldComp Len 249 RBA 987
Name: DBO.TCALCULATE
Reading ./dirdat/dc000000, current RBA 987, 0 records
Report at 2012-06-05 12:58:14 (activity since 2012-06-05 12:58:14)
From Table tst.table1 to tst.table1:
# inserts: 0
# updates: 0
# deletes: 0
# discards: 1
Last log location read:
FILE: ./dirdat/dc000000
SEQNO: 0
RBA: 987
TIMESTAMP: 2012-06-01 15:48:56.285333
EOF: NO
READERR: 0
2012-06-05 12:58:14 ERROR OGG-01668 PROCESS ABENDING.
Discard file:
Oracle GoldenGate Delivery for Oracle process started, group RTCHECK discard file opened: 2012-06-05 12:49:39
Key column filed3 (0) is missing from update on table tst.table1
Missing 1 key columns in update for table tst.table1.
Current time: 2012-06-05 12:58:14
Discarded record from action ABEND on error 0
Aborting transaction on ./dirdat/dc beginning at seqno 0 rba 987
error at seqno 0 rba 987
Problem replicating tst.table1 to tst.table1
Mapping problem with compressed key update record (target format)...
filed1 = NULL
field2 =
field3 =
field4 =
field5 =
datefield = -04-09 00:00:00
field6 =
field8 =
field9 = NULL
field10 =
Process Abending : 2012-06-05 12:58:14 -
hai experts,
Plz..What is difference between Aggrigates and Compress.
How to do can any body give the step by step........
Thanks in advance......
with regards..
raghuDear Raghu,
Both, compression and aggregates, are used to increase reporting speed.
To understand how compression works, you have to know BW's extended star schema. From a technical point of view InfoCubes consist of fact tables and dimension tables. Fact tables store all your key figures, dimension tables tell the system which InfoObject identification are being used with the key figures. Now, every InfoCube has <b>two</b> fact tables, a so-called F-table and an E-table. The E-table is an aggregation of the F-tables's records as the request ID is being removed. Therefore an E-table normally has less records than an F-table. When you load data to an InfoCube, it is just stored in the F-table. By compressing the InfoCube you update the E-table and delete the corresponding records from the F-table.
Aggregates are, from a technical point of view, InfoCubes themselves. They are related to your "basis" InfoCube, but you have to define them manually. They consist of a subset of all the records in your InfoCube. In principal there are two ways to select the relevant records for an aggregate. Either you select not all Infobjects which are included in your InfoCube, or you choose fixed values for certain InfoObjects. Like the compression, updating aggregates is a task which takes place after the loading of your InfoCube.
When a report runs BW automatically takes care of F- and E-tables and existing aggregates.
Further information and instructions can be found in the SAP Help:
http://help.sap.com/saphelp_nw04/helpdata/en/ca/aa6437e7a4080ee10000009b38f842/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/91/270f38b165400fe10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/frameset.htm
Greetings,
Stefan -
Hi!
I'm having problems importing raster-data using gdal with compression.
DB-Version: 11.2.0.1.0
gdal-Version: 1.72
gdal-Statement: gdal_translate -of georaster \\Path\file.tif geor:user/pw@server,A_TABLE_GK2,GEORASTER -co compress=DEFLATE -co nbits=1 -co "INSERT=VALUES(100,'file.tif','GK2',SDO_GEOR.INIT('RDT_A_TABLE_GK2'))
The import works fine and the data is loaded into my table. I can validate the file using
1. sdo_geor.validateblockMBR(georaster),
2. SDO_GEOR_UTL.calcRasterStorageSize(georaster),
3. substr(sdo_geor.getPyramidType(georaster),1,10) pyramidType, sdo_geor.getPyramidMaxLevel(georaster) maxLevel
4. SELECT sdo_geor.getCompressionType(georaster) compType,sdo_geor.calcCompressionRatio(georaster) compRatio
5. SELECT sdo_geor.getCellDepth(georaster) CellDepth,substr(sdo_geor.getInterleavingType(georaster),1,8) interleavingType,substr(sdo_geor.getBlockingType(georaster),1,8) blocking
and all results are true (or feasible).
Now my problem:
DECLARE
gr sdo_georaster;
BEGIN
SELECT georaster INTO gr
FROM A_TABLE_GK2 georid = 11 FOR UPDATE;
sdo_geor.generatePyramid(gr, 'resampling=CUBIC');
UPDATE A_TABLE_GK2 SET georaster = gr WHERE georid = 11;
COMMIT;
END;
Error report:
ORA-01403: no data found
ORA-06512: at line 4
01403. 00000 - "no data found"
*Cause:
*Action:
The pyramid cannot be calculated. Leaving out the parameter -co compress=DEFLATE allows me to generate pyramids (though this results in an exploding tablespace as 2GB data in file-system rise to about 120 GB in database without compression - and 2GB is only a small amount of the data needed).
I already recognized gdal needs the Parameter -co compress=DEFLATE in Upper-Case to allow validation of georaster - but this doesn't change my problems calculating pyramids.
Anybody heaving an idea?
NilsOWe definately need colordepth of 1bit as the input-files are b/w. Importing with 8 bit blows up the filesize by 8 (surprise ;-) ) and our customer has a lot of data he can't handle with 8 bit.
The georid in the import-statement is only a dummy. We're using a trigger to insert the georid (at the moment we're around georid 7000) but all data I gave is taken from the same georaster-object. I already ran a series of tests using nbits, compression, srid-statements in gdal. Importing using srid and nbits works fine with validation and pyramids. Using compression-parameter (with or without srid, nbits) doesn't.
Current workaround is to import without compression and every 50 files we compress the data and shrink tablespace. Slow performance and I needed to write a tool to create a set of gdal-import statements combined with a function call on oracle using sqlplus. Works for the moment, but no solution for the future....
C:\Program Files (x86)\gdal172>gdalinfo georaster:user/pw@db,A_TABLE_GK2,
GEORASTER,GEORID=100 -mdd oracle
Driver: GeoRaster/Oracle Spatial GeoRaster
Files: none associated
Size is 15748, 15748
Coordinate System is `'
Metadata (oracle):
TABLE_NAME=A_TABLE_GK2
COLUMN_NAME=GEORASTER
RDT_TABLE_NAME=RDT_A_TABLE_GK2
RASTER_ID=13209
METADATA=<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
<objectInfo>
<rasterType>20001</rasterType>
<isBlank>false</isBlank>
</objectInfo>
<rasterInfo>
<cellRepresentation>UNDEFINED</cellRepresentation>
<cellDepth>1BIT</cellDepth>
<totalDimensions>2</totalDimensions>
<dimensionSize type="ROW">
<size>15748</size>
</dimensionSize>
<dimensionSize type="COLUMN">
<size>15748</size>
</dimensionSize>
<ULTCoordinate>
<row>0</row>
<column>0</column>
</ULTCoordinate>
<blocking>
<type>REGULAR</type>
<totalRowBlocks>62</totalRowBlocks>
<totalColumnBlocks>62</totalColumnBlocks>
<rowBlockSize>256</rowBlockSize>
<columnBlockSize>256</columnBlockSize>
</blocking>
<interleaving>BIP</interleaving>
<pyramid>
<type>NONE</type>
</pyramid>
<compression>
<type>DEFLATE</type>
</compression>
</rasterInfo>
<layerInfo>
<layerDimension>BAND</layerDimension>
</layerInfo>
</georasterMetadata>
Image Structure Metadata:
INTERLEAVE=PIXEL
COMPRESSION=DEFLATE
NBITS=1
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0,15748.0)
Upper Right (15748.0, 0.0)
Lower Right (15748.0,15748.0)
Center ( 7874.0, 7874.0)
Band 1 Block=256x256 Type=Byte, ColorInterp=Gray
With -checksum it's
Can't see the beginning anymore on console...
ERROR 1: ZLib return code (-3)
ERROR 1: ZLib return code (-3)
ERROR 1: ZLib return code (-3)
ERROR 1: ZLib return code (-3)
More than 1000 errors or warnings have been reported. No more will be reported f
rom now.
Checksum=12669
regards,
NilsO -
EdAdding compression (and other effects) to regions only) want different ty
Hello Everyone,
I'm new to Logic and I'm trying to find out how to add compression to specific regions in a track. I recorded a live band and I recorded and I want different types of compression (and other effects like eq and even panning) for different parts of the song. For example. I have a guitar track that I recorded , I split the track up from one region into several regions corresponding to the sections of the song. Now I want to add different effects to these different regions. Can I do this in one track or do I need to split all these regions up into their own tracks. I can only see how to add effects at the track level. I can only edit certain things (like Normalization) in the sample editor.
Thanks in advance.
--MikeDifferent ways of doing this:
*If you want to add effects for the different regions on the same track you will have to automize the compressor/Eq/panning settings
*You can setup different tracks with different Fx settings and move the regions to those new tracks - this way you don't have to automize the different parameters
*If you want to destructively edit the regions you can either do that in Soundtrack Pro (select the region and hit shift+w to open it in SP - add you fx in there - save the file and it will be updated in Logic)
or
*rerecord the regions with the fx through a Bus directly into Logic - route the region track to a Bus and select that Bus as an Input for a new Audio track
or
*bounce/reimport the region+fx -
The full message said:
There was a problem downloading the software for the iPhone "Judy's iPhone 4". The network connection was reset.
Make sure your network settings are correct and your network connection is active, or try again later.
I am trying to update the iPhone for my grandmother, Judy, as I am leaving for Paris on Wednesday night and we want to have Facetime installed on her iPhone before then, so we can stay in contact with each other. It is the simplest way for this to happen but the program simply will not allow me to update her iPhone.
Is there any way to get past this error and update her iPhone? Any help will be greatly appreciated.Dear Jody..jone5
Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
Goodluck
Atousa -
My computer runs on Windows 7, and I've installed and updated the latest versions of itunes etc, but still to no avail! I've tried different usb ports, troubleshooting, etc... But it still says "One of the USB decuces arrached to this omputer has malfunctioned and windows does not recognize it".
The iPod is brand new, sent to me by Apple as part of the 1st gen replacement programme. I've been using the cable that came with the 1st gen iPod (I bought the first gen second hand) It always worked on my computer with the 1st gen iPod. So I was wondering, do you think I need to replace my cable in order for my PC to recognize my iPod or is it something else?
ThanksTry a different cable. And are you connecting directly to your computer or through a USB hub?
-
Green screen, downlading files and updating programs often stuck at 99%.
Okey so I have got this problem for a 20 days, since I build my own computer. Some videos on youtube and other video stream sites bug out in the way that the video just goes green, and starts fast forwarding. Then I think streams on twitch.tv for example, I cant watch a stream for longer than 20 second and the video gets frozen and the stream needs to be refreshed. And updating games, downloading files often gets stuck at very end of the progress, and it wont succesfully download or update. Im not sure is it about Flash Player/Shockwave Player but if there doesnt come example green screen it may show something like you are missing add-on Flashplayer but when i refresh the page it may run the video fine for some time.
The problem rarely happens at youtube but heres one where it happened Crs Piglet (Vayne) first ever NA Penta - YouTube
Heres video where the video didnt start at all and aswell when it did the screen gone green again and fast forward. (contains adds) http://www.thevideo.me/kmqcwhblzheh
Heres screenshots and one bad quality phone photo album of these problems, green screens, videos stuck, downloading stuck and updating stuck 99-100%. Imgur
Heres my computer specs:
My operating system is: Microsoft Windows: 8.1 Pro, 64-bit
Processor: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
Graphic card: Nvidia GeForce GTX 760 Driver updated to: Geforce Game Ready Driver 347.52.
Memory (ram): 8GB
Motherboard: MAXIMUS VII RANGER
Dont know what else info I could put on about my computer really... I have tried to find answer, like disabling hardware acceleration, deleting flashplayer memory file, safe modes and all kind of tips I as able to find from internet.
And I use mozilla firefox (36.0), but the problems happens aswell in Internet Explorer. I have updated Flash Player (16,0,0,305), my drivers (Geforce Game Ready Driver 347.52), all windows updates, java(1.8.0?), but still cant find the answer why watching videos/streams work well.
Im sorry if I missed some info but ask if theres something.The green screen means that hardware decoding has failed. It's probably a subtle, intermittent driver bug.
You can disable hardware acceleration in Flash to avoid this while you wait for updated drivers to become available:
Video playback issues -
hello,
i restored and updated my iphone 4 to the latest version of 5.1.1 and after that when i connect my mobile to i tunes all i see is a big rectangle and a apple logo on left and a small lock on right side please help me fix this problem.I sloved this issue by resting my phone from settings>general>reset>reset all settings...the problem will be fixed
-
What is difference between modify and update i am using
hi
what is difference between mofify and update
my requiremen is to have three condition checkec while mofifying or updating from a internal table
the three fields are
cus no
status
date these all are primary key in the database table
so which sould i use modify or update
there might be entry already existing in database table or new entry to be created if already existin it should check on the primary keys and updatat if not it should add a record
pls suggest whihc to use and how to implement the check on teh threee primary key
like if modify ztable from table it_test
now where condition ? can be used or not with modify? and if yes how
if not should i use update will update create a new entry if no entry is there and please give syntex
regards
AroraHi Nishant Arora,
Modify: It works in performing two actions.
They are: Insert + Update.
For Example If a record that is exited in database, so you are modifying that record, it updates that particular record.
Similarly, If the is not existed in the database, you are modifying it, it inserts a new record.
Update: Update means just it updates the status, I mean it only updates the record. It doesn't inserts any new record if that particular record is not present in the database.
These are the cases you need to write these statements.
Syntaxes: :
Go through this links please.,
http://help.sap.com/saphelp_nw04/helpdata/en/e7/968aa8b2384dd9835f91e7f8470064/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
Reward points if useful
Cheers,
Swamy Kunche
Edited by: Swamy Kunche on Jun 11, 2008 2:41 PM -
Lost photos / camera roll after restore and update.
As the title says , I recently had to restore my iphone 3gs due to having problems with MAIL (problem fixed now.) but after doing a full backup and restore on the phone and update to the iOS 4 ( i think>) , I lost all of the photos that I had in the camera roll album folder , now I have loads of photos there that I do not want to loose ! I know there should be a way of getting them back from the backup but how ? Plus to prove even more that they are still there somwhere , when I connect it to the iTunes on my PC (Windows Vista) , under the yellow section bar it shows there are 315 (1.26 gb) photos on my device...but when I disconnect it and go into the album , there are 0 ! Now I have been reading about this online and people say that you basically take the images off your pc and sync them back onto the phone...but I havent got them saved on my pc anywhere...so where are they? PLEASE HELP me out on this one ,
thank you in advance.The only place they may be is in a previous backup from before the restore. No Apple tool that I know of accesses these files within the backup file. There are reportedly some 3rd party tools that can get to the photos imbeded in the backup. The other option is to restore the old backup and then import the camera roll via iphoto or some other tool.
If you have no copy of the old backup, I think you are out of luck.
As you know by now, the iPhone's camera roll is treated as a digital camera, not as part of the sync.
For the second post, if you'd like Apple to add the import to the sync process, you can request that via the www.apple.com/feedback web site.
Thanks. -
Need help to insert and update records in MDM
Hi ,
I am trying to develop an webdynpro application which can create and update records in tables of a repository of MDM . For example .. I want to insert values and later update values in Vendor table.
I am new to webdynpro and MDM. If any one can help step by step or can send a sample code which I can be ready to use that would be great help.
If anyone can have a sample code .. kindly mail to "[email protected]"
It is urgent. Please help.
Regards,
Niraj
Edited by: Niraj Kumar on May 23, 2008 6:50 AMHi Niraj,
Are u going to work with webdynpro Java/ABAP?
some materials which are found useful are sent.
Cheers,
Mary -
I forgot my password and am trying to reset my ipod, but it won't work.It says that my ipod is in recovery mode and that I must restore it. I click ok, and then click on restore and update. Then it says connecting ipod software update server and a screen pops up with ipod software update on the top and iOS 5.1. It lists a bunch of stuff this update contains and on the bottom it says next, which I click and nothing happens, it just goes back to the ipod restore page. Help, what am I doing wrong?
This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
Update to the latest version of iTunes. Mac OS X 10.5.8 (Leopard) users may need to download iTunes 10.6.3.
Third-party security software or router security settings can also cause this issue. To resolve this, followTroubleshooting security software issues.
Downgrading to a previous version of iOS is not supported. If you have installed software to performunauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw. -
I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account when i was younger, and the other is my own which i currently use. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased. I have the icloud on my phone, but I just want to update my music on my laptop. Just nervous to, because it has happened to me before on a desktop computer and it *****. Please help! Thanks.
nevermind, i figuered it out
-
Browse and update database tables
I'm looking for a tool that will let me connect to an Oracle database, select a table and some fields off the table and build a simple java class to navigate / update the data.
Essentially, I'm looking for a tool that replicates the way Microsoft Access can build a form for navigation and update of a database table.
However, I want to use java, not MS Access.
Any ideas if such a tool is available ?
Thankshttp://squirrel-sql.sourceforge.net/
Maybe you are looking for
-
Submitting Concurrent Request from Standard OAF Page
Hi, I'm a new comer to both Java and OA Framework.. I'm working in oracle apps from a long time but my experience is with forms and reports based world so excuse me if i'm asking a dumb question.. My requirement is to add a button to a standard page.
-
Can't figure how to get larger fonts in terminal
I am new and very happy to say I've got Arch/XFCE/nfs working on network and soon to work on Samba but how in the wide wide world of sports can I get larger font on my terminal when in XFCE? Thanks in advance, Dave
-
With OS 10.5.2, Time Capsule firmware 7.3.1, and Aperture 2.1, I know that it is "okay" now to have Time Machine backup Aperture database. As far as I understand, when Aperture opens up, Time Machine automatically excludes Aperture's database from ba
-
How do I navigate a long song quickly?...markers?
Hey there...I'm new to logic express. Just trying to find ways to work quickly. I understand that logic pro has markers but xpress doesnt...I assume they are used to set up sections for quick navigation. Can someone tell me the best way to navigate a
-
Using alt key in console vim.
Hi folks, Does anyone out there have a working method for using alt-<key> mappings in vim on the console? I've read a fair amount and the consensus seems to be "tweak all these different things to find what works on your system". So, what works on Ar