Update tuning
UPDATE SALES_BISC BISC
SET STATUS_FLAG= 'M'
WHERE BISC.MAT_CD NOT IN
(SELECT LP.MAT_CD FROM mat_lp LP
WHERE LP.orgid = BISC.orgid
AND LP.distrid = BISC.distrid
AND LP.lang1='EN'
rewriting the query in the following format --- Results in 01779 Error
UPDATE
(SELECT
BISC.mat_cd,
BISC.STATUS_FLAG
from
SALES_BISC BISC,
mat_lp LP
WHERE LP.orgid = BISC.orgid
AND LP.distrid = BISC.distrid
AND LP.lang1='EN'
AND LP.mat_cd = BISC.mat_cd
AND LP.mat_cd IS NULL
SET STATUS_FLAG= 'M';
Rewriting the query in the below mentioned way --- Updates 0 rows when there are rows to be updated.
UPDATE SALES_BISC BISC
SET STATUS_FLAG='M'
WHERE NOT EXISTS
(SELECT LP.MAT_CD FROM mat_lp LP
WHERE LP.orgid = BISC.orgid
AND LP.distrid = BISC.distrid
AND LP.lang1='EN');
ANY IDEA HOW TO MAKE OT BETTER.
As I will be using this to update a MILLION ROWS on a everyday basis for 4 months.
user12870000 wrote:
rewriting the query in the following format --- Results in 01779 ErrorThis is a sign that your mat_lp table is lacking an important unique constraint. This constraint could tell Oracle that by updating the join query is safe because every row in sales_bisc leads to at most 1 row after joining it to mat_lp.
If you can define that unique constraint on mat_lp, then you have the most efficient update statement written already. If not, can you post the definition of those tables including the constraints and indexes?
Regards,
Rob.
Similar Messages
-
Hi all,
I am new to OAF. I have some doubts on the following:
Why do we use RETENTION_LEVEL and MANAGE_STATE in AM?
What is the main use of processRequest and processFormRequest and what is the difference between them?
Why do we update tuning for EO?
And what is the difference between OAF and ADF?
Regards.Check chapter on " OA Framework State Persistence Model" in dev guide. I think a chapter full of explanation should be enough :)
processRequest is used for processing of beans before page rendering and processFormRequest gets called upon any form submit.
For diff on OAF and ADF, search forum and ther you will see a couple of threads already on this issue.
--Shiv -
I am working on a Java based WEB project which will has at it's central core, an LDAP directory to manage various pieces of data.
The LDAP directory we have chosen has well over 100,000 entries and our app is responsible for accessing and updating these entries.
Currently, the "business" objects which manage the directory access / update is a homegrown collection of code using JNDI, etc. to performs the updates, LDAP searches, etc.
I was wondering if anyone was aware of an LDAP framework ( beyond JNDI ) which provides a robust LDAP management environment ( provide methods / classes to allow access, update, tuning, JSP access, etc. ) which would allow us to dump the homwgrown LDAP management code ...going forward, this is a lot of extra -baggage- to maintain ...I would like to leveragea more robust LDAP environment is one exists.
Thanks.
Any thoughts ?Something more sad for me I forgot to mention...
I can not use serialization and the java LDAP schema for this as entries in database need to be human readable :o( -
Idoc views updation, Workflow, Performance tuning techniques!
Hello,
Greetings for the Day!
Currently my client is facing following issues and they seek an help/attention to these issues. Following is the current landscape of an client.
Sector – Mining
SAP NW MDM 7.1 SP 09
SAP ECC EHP 5
SAP PI 7.0
List of Issues:
Classification (CLFMAS idoc) and Quality (MATQM idoc) views tries to update before MATMAS idoc updates and creates the material in ECC table.
At workflow level, how to assign incoming record approval request, put them in mask like functionality and approve them as bulk records.
Performance tuning techniques.
Issue description:
Classification (CLFMAS idoc) and Quality (MATQM idoc) views tries to update before MATMAS idoc updates and creates the material in a table.
Currently, client’s MATMAS idoc updates Basic data1 and Basic data2 along with other views and material gets updated in ECC table, but whenever record has classification and quality view to update via CLFMAS and MATQM idoc, these 2 idocs tries to search the material ECC table before respective MATMAS to update the table. As it does not have the basic data created for the material entire idoc fails. Kindly suggest the solution as in how we can align the process where classification and quality view will get update only after the basic data views gets updated to material master. Is there any way we can make views to be updated sequentially?
At workflow level, how to assign incoming record approval request, put them in mask like functionality and approve them as bulk records.
Currently, super users are configured within the system, they have 2 roles assigned to their ID’s, 1.custodian and 2.steward. In custodian role user assigns the MDM material number and check other relevant assignment to record creation request, user approves the material request and the request goes to steward role. As the 1 user has 2 roles, same user need not to checks everything again in steward role, hence user wants whatever request comes at steward user inbox, he shall be able to create one single group for those 20-30 records and on one single click entire materials shall be approved and disappear out of his workflow level. Is there any way by which it can be achieved.
Performance tuning techniques.
Currently, client MDM system response time is very very slow, after a single click of action it takes long time to reflect the action within MDM. Material database is almost around 2.5 lakh records, standard structure has been used, not a complex landscape structure. Both ECC and MDM server is on single hardware, only the logical separate DB. Kindly suggest performance techniques if any.
Kindly suggest !
Regards,
NeilHi Niel,
Kindly try the below options
-> Performance tuning techniques.
SAP Recommendation is to put the application ,server and Database in different Boxes . I am not sure how you managed to install both MDM and ECC in the same box but that is a big NO NO .
Make sure there is enough hardware support for a separate MDM box.
-> Classification (CLFMAS idoc) and Quality (MATQM idoc) views tries to update before MATMAS idoc updates and creates the material in a table.
MDM only sends out an XML file , so you definitely need a middle ware (PI) to do the conversion.
You can use PI logic ( ccBPM) to sent the IDOC is the necessary sequence .
Else you can maintain this logic in the Processing code of ECC system .
PS : The PI option is more recommended.
Regards,
Vag VIgnesh Shenoy -
Thank you the latest update fixed Radio Tuning
All fixed.. working perfect.... not sure what update the one for LION or the one for ITUNES .. but Radio Tuneing is back and wonderful
many thanks..
med dementI'm not sure that's what fixed it. Posts reporting radio issues were dropping off before the updates were released. Also people who were neither running Lion nor iTunes 10.5 reported problems and many people who ran both also did not report problems.
-
Update the game with tuning!
The people, who have finished the game are not frequently playing the game. To bring them back, update the game with tuning. You can make people to comeback to the game everyday looking for the perfect tune for their faviourate cars!. It would increase the players on multiplayer getting their cars sideways together and just having fun. It's gonna add the competion of the drifting love.
It's not a simulation, therefore there won't be tuning.
-
New Signature updates will they overwirite old Tuned signatures
Good day,
I will be updating my sensors from s328 to S356. Question, will my previous Tuned rules/actions be overwritten by the new signature defaults ??
Thanks,I'd give this a qualified "maybe". There is a case where the signature team might have disabled or retired a signature. That disable/retired action could pull the signature from your active list. It will still appear tuned, but it will also be disabled and/or retired. Other parameters that the sig team changes will be overridden by your tunings.
The issue with the enable/retire settings is that they are default enabled and not retired.... When you tune a signature, the instance file (/usr/cids/idsRoot/etc/config/signatureDefinition/instances/sig?.xml) records the changes to the default settings (default.xml). Since the signature is enabled and not retired when you tune it(typically), you typically don't change that default. Now the signature team changes the default value, then there is nothing in the sig?.xml file to override the "new default" and the signature is disabled and or retired.
A workaround for this is that you can explicitly tune the signature to be enabled and not retired. This tuning will be stored in the instance file and override any changes to the default values.
The exception to the default value override is the signature team's use of "obsoletes"...they have the ultimate trump to replace one signature with another (but thats a topic in itself).
The customer's equivalent counter-trump is that they can clone the Cisco signature into a custom signature. The signature updates can't mess with them.
Scott C. -
SSM10 update fails with tuned signatures
Hi out there
I have a problem with a SSM10 module in a ASA5520 which has got the signature tuned - there is a lot of tuned signatures defined on it under active signatures - and this is split on three vs.
For some time the signature update has started failing - since 690.0 - I have been running a tac case on it and they told me to reset all tuned signatures to default settings. Well - after I did this I was able to update again - but now are my signatures in default settings. Since no-one can remember here why there where modified (and maybe a bit poor documentation on what had been done) I am not sure what impact the resetting has so of course I would prefer to restore the settings as they where before my update. But accourding to the tac engenieer I cannot backupå and restore the tuned values ? Can this be - what is that with that tuned values are not "supported" ??
best regards tiThere is no way to back to the custom values, because well...they were custom.
The unit is not going to keep trace of those changes, so that is lost forever.
The signatures on the unit can be tunned depending on the scenario and customer's requests, so if a signature is tunned or created, cisco can't really guarantee it will work as you want.
Cisco can do that with default-configured signatures.
Next time you do something that radical, create a backup of the config.
This applies for any device. -
Hello,
I am working on Oracle 10.2.0.4 and O/S is solaris .
We are having one job which exceutes lots of update statements one by one on database. The whole job is taking more then 2 hours.
I check that we can not do mach changes in sql tuning side to tune this query , is there any way to reduce time in oracle side like some parameter setting ..
resizing buffer , redo log files or ..?
any idea...thanks helios,
I will check this link ..
this states to make changes in sql statements
but as this is a product and changing sql statements will take lots of approvals and money and efforts to customize product but yes we can try with that.
I am looking for some database side options .so that we can tune it maximum and minimize time taken in job.
Is there any options we have .. as redo log size , checkpoint interval etc.. to do it .
what are the optimized values for these in high frequency of update statements environment. -
Update routine - Performance Tuning
Hi,
To increase the performance, I have deleted some records in the data_package but these changes are not reflecting in the ALV output. We are getting old data only.
If we toutch the standard ALV program it is a problem for other update routinies. Please tell me the solution.
Thanks,
Suresh KashimallaPlease be more specific, and elaborate on your issue. What are you referring to with ALV (ABAP List Viewer?). In which respect? Are you on SAP NetWeaver 2004s?
Cheers
SAP NetWeaver BI Organisation -
Query tuning - update with join statement
Hi,
I have 2 tables (table1 and table 2) with following condition:
TABLE 1 - Need to selection a column say staus ! = 'C'
join emp_id and project_id of TABLE1 and TABLE2
From join I am selecting minimun and maximum of TABLE2.salary and updating TABLE3 respective column.
Now as per requirement I have to update required column on TABLE2.EMP_ID = TABLE3.EMP_ID
Following is the query I have written,
update TABLE3 T3
set (T3.MIN_salary, T3.MAX_salary) = (
select min(c.salary), max(c.salary)
from TABLE2 t2, TABLE1 t1
where t2.emp_id = t1.emp_id
and t2.project_id = t1.project_id
and t1.status != 'C'
and t2.emp_id = t3.emp_id)
The above query takes 7 min to update some 8 lakhs records. Can you please suggest some other optimized method to do so?
Thanks in advance
SandeepHi SBH
Required info for "Please provide oracle version, indexes on the 3 tables and also stats info for the table from user_tables"
1) Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
2) Index is not there on TABLE3 (It is temporary table)
Composite index on TABLE 1 - column1, column2 - Index name say table1index1
Composite index on TABLE 2 - column1, column2 - Index name say table2index1
TABLE_NAME NUM_ROWS BLOCKS DEGREE INSTANCES SAMPLE_SIZE PARTITIONED
FXO_CFW 11767341 144930 1 1 11767341 NO
FXO_RSL_STBL 1 1 NO
FXO_TRN 4917778 230196 1 1 4917778 NO
execution plan is:
Execution Plan
Plan hash value: 3131833900
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 789K| 23M| 2397 (3)| 00:00:29 |
| 1 | UPDATE | TABLE3 | | | |
| 2 | TABLE ACCESS FULL | TABLE3 | 789K| 23M| 2397 (3)| 00:00:29 |
| 3 | SORT AGGREGATE | | 1 | 28 | | |
| 4 | TABLE ACCESS BY INDEX ROWID | TABLE2 | 1 | 17 | 3 (0)| 00:00:01 |
| 5 | NESTED LOOPS | | 1 | 28 | 12 (0)| 00:00:01 |
|* 6 | TABLE ACCESS BY INDEX ROWID| TABLE1 | 1 | 11 | 9 (0)| 00:00:01 |
|* 7 | INDEX RANGE SCAN | IDX_TABLE1INDEX1 | 6 | | 3 (0)| 00:00:01 |
|* 8 | INDEX RANGE SCAN | IDX_TABLE2INDEX1 | 1 | | 2 (0)| 00:00:01 |
Thanks for quick response,
Sandeep -
Hi,
I work on below version of oracle.
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
NLSRTL Version 10.2.0.5.0 - ProductionI have below the table structure and index created on the table. I have given the update and it's execution plan also. Can you please suggest a way to tune this query
Table has close to 50 million records in it.
Thanks much in advance for helping
SQL> CREATE TABLE TABLE1
2 (
3 COL1 CHAR(6 BYTE) NOT NULL,
4 COL2 NUMBER(13) NOT NULL,
5 COL3 CHAR(2 BYTE),
6 COL4 CHAR(3 BYTE),
7 COL5 CHAR(5 BYTE),
8 COL6 CHAR(7 BYTE),
9 COL7 NUMBER(4),
10 COL8 NUMBER(6),
11 COL9 NUMBER(9),
12 COL10 NUMBER(6),
13 COL11 CHAR(1 BYTE),
14 COL12 CHAR(2 BYTE)
15 )
16 TABLESPACE AGGREGNAT_DAT_2012T4
17 PCTUSED 0
18 PCTFREE 5
19 INITRANS 1
20 MAXTRANS 255
21 STORAGE (
22 INITIAL 80K
23 NEXT 1M
24 MINEXTENTS 1
25 MAXEXTENTS 2147483645
26 PCTINCREASE 0
27 BUFFER_POOL DEFAULT
28 )
29 NOLOGGING
30 COMPRESS
31 NOCACHE
32 NOPARALLEL
33 MONITORING;
Table created.
SQL> CREATE INDEX IND_TABLE1 ON TABLE1
2 (COL1, COL3, COL4, COL5, COL6,COL7)
3 NOLOGGING
4 TABLESPACE AGGREGNAT_IDX_2012T4
5 PCTFREE 5
6 INITRANS 2
7 MAXTRANS 255
8 STORAGE (
9 INITIAL 64K
10 NEXT 256K
11 MINEXTENTS 1
12 MAXEXTENTS 2147483645
13 PCTINCREASE 0
14 BUFFER_POOL DEFAULT
15 )
16 NOPARALLEL
17 COMPRESS 6;
Index created.
SQL> explain plan for UPDATE TABLE1 o1
2 SET o1.COL12 = 1
3 WHERE COL4 <> 'MDD'
4 AND EXISTS
5 ( SELECT 'E' FROM TABLE1 o2
6 WHERE o2.COL3 = o1.COL3 AND o2.COL4 = o1.COL4
7 AND o2.COL6 = o1.COL6 AND o2.COL7 = o1.COL7 AND o2.COL1 = o1.COL1
8 AND ( o2.COL9 < o1.COL9 OR ( o2.COL9 = o1.COL9 AND o2.rowid < o1.rowid))AND o2.COL5 = o1.COL5);
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 3057860847
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 9868K| 705M| 126M (1)|422:03:56 |
| 1 | UPDATE | TABLE1 | | | | |
|* 2 | FILTER | | | | | |
|* 3 | TABLE ACCESS FULL | TABLE1 | 25M| 1808M| 87011 (4)| 00:17:25 |
|* 4 | TABLE ACCESS BY INDEX ROWID| TABLE1 | 1 | 71 | 5 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | IND_TABLE1 | 1 | | 4 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
Predicate Information (identified by operation id):
2 - filter( EXISTS (SELECT 0 FROM "TABLE1" "O2" WHERE "O2"."COL7"=:B1 AND
"O2"."COL6"=:B2 AND "O2"."COL5"=:B3 AND "O2"."COL4"=:B4 AND "O2"."COL3"=:B5 AND
"O2"."COL1"=:B6 AND ("O2"."COL9"<:B7 OR "O2"."COL9"=:B8 AND "O2".ROWID<:B9)))
3 - filter("COL4"<>'MDD')
4 - filter("O2"."COL9"<:B1 OR "O2"."COL9"=:B2 AND "O2".ROWID<:B3)
5 - access("O2"."COL1"=:B1 AND "O2"."COL3"=:B2 AND "O2"."COL4"=:B3 AND
PLAN_TABLE_OUTPUT
"O2"."COL5"=:B4 AND "O2"."COL6"=:B5 AND "O2"."COL7"=:B6)
Note
- dynamic sampling used for this statement
27 rows selected.Thank you very much for guiding
Edited by: user12869307 on Feb 6, 2013 8:52 PM
Edited by: user12869307 on Feb 6, 2013 9:09 PM
Edited by: user12869307 on Feb 6, 2013 9:11 PMWell,
it depends. The query is still a bit confusing to me.
You are trying to update rows having col4 different than 'MDD' if exists another row having same value for (COL1, COL3, COL4, COL5, COL6,COL7) and having a lower or equal value of col9.
What are the business requirements? Do you have some sample data and can explain the logic of this update?
This one:
( o2.COL9 < o1.COL9 OR ( o2.COL9 = o1.COL9 AND o2.rowid < o1.rowid))can actually be written in this way
(o2.COL9 <= o1.COL9 AND o2.rowid < o1.rowid)but why using o2.rowid < o1.rowid?
.>
You should not trust on rowid order.
Check what Tom Kyte is saying in Fetching last record from a table
the rowid is not "generated" in as much as "derived"
The rowid is the address of the row on disk.
Since space can and will be reused, rowids can and will be "reused"
A rowid implies NOTHING other than the location of the row physically. It does not imply age, order of insertion, or anything like that. Regards.
Al
Edited by: Alberto Faenza on Feb 6, 2013 5:10 PM -
Update with subqueries tuning help
I have the following update that does the required job, but undersdtandably it is running really slowly.
update com_mat_stores
set MST_QTY_ISS_TY = (SELECT NVL(SUM(DECODE(COST_CSY_COSTEL, '23', ABS(COST_NO_UNITS) ,
'20', DECODE(SUBSTR(COST_NO_UNITS,1,1), '-', COST_NO_UNITS, COST_NO_UNITS*-1),
'21', COST_NO_UNITS)),0) STK_QTY
FROM COM_COSTS WHERE COST_COST_YEAR = 2009
AND COST_MST_ID = MST_ID AND ((COST_CSY_COSTEL = '23' AND COST_TRANS_CODE = 'M')
OR (COST_CSY_COSTEL IN ('20','21')))),
MST_VAL_ISS_TY = (SELECT NVL(SUM(DECODE(COST_CSY_COSTEL, '23', ABS(COST_VALUE) ,
'20', DECODE(SUBSTR(COST_VALUE,1,1), '-', COST_VALUE, COST_VALUE*-1),
'21', COST_VALUE)),0) STK_VAL
FROM COM_COSTS WHERE COST_COST_YEAR = 2009
AND COST_MST_ID = MST_ID AND ((COST_CSY_COSTEL = '23' AND COST_TRANS_CODE = 'M')
OR (COST_CSY_COSTEL IN ('20','21'))))
where MST_QTY_ISS_TY <> (SELECT NVL(SUM(DECODE(COST_CSY_COSTEL, '23', ABS(COST_NO_UNITS) ,
'20', DECODE(SUBSTR(COST_NO_UNITS,1,1), '-', COST_NO_UNITS, COST_NO_UNITS*-1),
'21', COST_NO_UNITS)),0) STK_QTY
FROM COM_COSTS WHERE COST_COST_YEAR = 2009
AND COST_MST_ID = MST_ID AND ((COST_CSY_COSTEL = '23' AND COST_TRANS_CODE = 'M')
OR (COST_CSY_COSTEL IN ('20','21'))))
OR MST_VAL_ISS_TY <> (SELECT NVL(SUM(DECODE(COST_CSY_COSTEL, '23', ABS(COST_VALUE) ,
'20', DECODE(SUBSTR(COST_VALUE,1,1), '-', COST_VALUE, COST_VALUE*-1),
'21', COST_VALUE)),0) STK_VAL
FROM COM_COSTS WHERE COST_COST_YEAR = 2009
AND COST_MST_ID = MST_ID AND ((COST_CSY_COSTEL = '23' AND COST_TRANS_CODE = 'M')
OR COST_CSY_COSTEL IN ('20','21')));I managed to get a select for the records changed to use an inline view and this is much faster (see below), but I cannot get this select translated into a update statement. Any help or ideas how to change this. The 2 tables in question are quite large COM_MAT_STORES has 34k and com_costs has 90k that match the criteria (7 million in total). I have checked
SELECT MST_ID, MST_MAT_STOCK_CODE, MST_STO_CODE, MST_QTY_ISS_TY, MST_VAL_ISS_TY, STK_QTY, STK_VAL
FROM COM_MAT_STORES, (SELECT COST_MST_ID CMST,
NVL(SUM(DECODE(COST_CSY_COSTEL, '23', ABS(COST_VALUE) ,
'20', DECODE(SUBSTR(COST_VALUE,1,1), '-', COST_VALUE, COST_VALUE*-1),
'21', COST_VALUE)),0) STK_VAL,
NVL(SUM(DECODE(COST_CSY_COSTEL, '23', ABS(COST_NO_UNITS) ,
'20', DECODE(SUBSTR(COST_NO_UNITS,1,1), '-', COST_NO_UNITS, COST_NO_UNITS*-1),
'21', COST_NO_UNITS)),0) STK_QTY
FROM COM_COSTS WHERE COST_COST_YEAR = 2009
AND ((COST_CSY_COSTEL = '23' AND COST_TRANS_CODE = 'M') OR (COST_CSY_COSTEL IN ('20','21')))
GROUP BY COST_MST_ID)
WHERE CMST(+) = MST_ID
AND (NVL(STK_VAL,0) <> MST_VAL_ISS_TY OR NVL(STK_QTY,0) <> MST_QTY_ISS_TY);Here is the explain plan of the update statement
UPDATE STATEMENT CHOOSE 56 34119 443547
UPDATE COMDBA.COM_MAT_STORES
FILTER
TABLE ACCESS(FULL) COMDBA.COM_MAT_STORES ANALYZED 56 34119 443547
SORT(AGGREGATE) 1 37
TABLE ACCESS(BY INDEX ROWID) COMDBA.COM_COSTS 1 25 925
INDEX(RANGE SCAN) COMDBA.COM_COST_14 2 97476
SORT(AGGREGATE) 1 37
TABLE ACCESS(BY INDEX ROWID) COMDBA.COM_COSTS 1 25 925
INDEX(RANGE SCAN) COMDBA.COM_COST_14 2 97476
SORT(AGGREGATE) 1 37
TABLE ACCESS(BY INDEX ROWID) COMDBA.COM_COSTS 1 25 925
INDEX(RANGE SCAN) COMDBA.COM_COST_14 2 97476
SORT(AGGREGATE) 1 37
TABLE ACCESS(BY INDEX ROWID) COMDBA.COM_COSTS 1 25 925
INDEX(RANGE SCAN) COMDBA.COM_COST_14 2 97476As a first step you can remove the unwanted sub queries.
update com_mat_stores
set (
mst_qty_iss_ty,
mst_val_iss_ty
) =
select nvl(sum(decode(cost_csy_costel, '23', abs(cost_no_units),
'20', decode(substr(cost_no_units,1,1), '-', cost_no_units, cost_no_units*-1),
'21', cost_no_units)),0) stk_qty,
nvl(sum(decode(cost_csy_costel, '23', abs(cost_value) ,
'20', decode(substr(cost_value,1,1), '-', cost_value, cost_value*-1),
'21', cost_value)),0) stk_val
from com_costs
where cost_cost_year = 2009
and cost_mst_id = mst_id
and (
(cost_csy_costel = '23' and cost_trans_code = 'm')
or
(cost_csy_costel in ('20','21'))
where (mst_qty_iss_ty, mst_val_iss_ty) !=
select nvl(sum(decode(cost_csy_costel, '23', abs(cost_no_units) ,
'20', decode(substr(cost_no_units,1,1), '-', cost_no_units, cost_no_units*-1),
'21', cost_no_units)),0) stk_qty,
nvl(sum(decode(cost_csy_costel, '23', abs(cost_value) ,
'20', decode(substr(cost_value,1,1), '-', cost_value, cost_value*-1),
'21', cost_value)),0) stk_val
from com_costs
where cost_cost_year = 2009
and cost_mst_id = mst_id
and (
(cost_csy_costel = '23' and cost_trans_code = 'm')
or
(cost_csy_costel in ('20','21'))
) -
S218 Signature Update - FTP Sig 3150.1 Tuning
Hello All,
I'm running IDS 4.1.5 with signature S218 on my 4235 sensor. Ever since I've updated the device and event-viewer for S218, I have false positives (for my environment) with sig ID 3150.1 "FTP Remote Command Execution". My servers anti-virus software uses ftp every half hour to download new av sigs. Every 1/2 hour the IDS fires off an alert for sig-id 3150.1 alerting that an FTP session occured. My Question- Can I tune the sig not to fire based on paramaters? Such as ip add of my av server? Please let me know what you think... Remember, I only have access to the cmd line on the device. We don't use any mgmt s/w other than the Cisco Event Viewer running on the IDS mgmt computer.
Sincerely,
DavidThere was a false positive identified with that signature in s218. S219 will contain a modified signature to address this. S219 is in the final stages of testing and should be out on CCO later today, possibly tomorrow morning.
-
Hi,
I have a query updating a table having millon of rows.
update table_name set id=5This query is taking 35 minutes to execute every table my table is run for new data.
Is there any way to tune this query.
Thanksshavetachawla wrote:
Hi,
I have a query updating a table having millon of rows.
update table_name set id=5This query is taking 35 minutes to execute every table my table is run for new data.
Is there any way to tune this query.
ThanksAn index will probably not help this UPDATE because you are not using a WHERE clause to restrict rows.
The parallel query option might help - if you have the license. Also possible is parallel DML which is enabled apart from running the background select in parallel. You can read about parallel DML in the documentation.
Is this a one-time event? If so it might be easiest just to wait for it to finish.
Maybe you are looking for
-
MacBook to main computer problems..
I have a main computer that i sync my ipad and phone to and i recently got a Macbook, i did home sharing and it worked fine, but i bought four movies on my mac and now i can't get them on my main computer. I've tried everything. Please help!!
-
Can no longer download images from CF card.
I've been downloading images from my card reader via Bridge for a long time. I just upgraded LR 3.6 to LR 4, and now Bridge doesn't seem to work. If I try to download images, I get the spinning circle, then nothing. The dialog box for importing image
-
Decimal places values of Moving average price
Hi Experts Here is scenario: a material having moving average price (V) when transfer posted with movement type 416 (From project stock to Storage location) is creating an extra FI entry in "Stock in Transit" A/C with a minimal value. After a deep s
-
No service following home move.
In a big mix-up here. I was meant to have the line transferred over to my new place on the 4th July. Checking online, it says the transfer of phone and broadband is complete and the online line test shows no problems detected (I am currently connecte
-
JCoIDoc / JCo listening to the same server configuration fails
Hello experts, I'm trying to use SAP JCo IDoc Library 3.0.5 / SAP JCo Library 3.0.6 for processing of IDocs / BAPIs sent from SAP. When a IDoc server is created with a set of ServerDataProvider properties, the server starts and is able to process the