Issues with new tables created in SQL Modeler
Hi,
whenever I create new tables in SQL Modeler, and then on the Oracle DB using the generatedDDL , strange things happen:
When synchronizing the model with the Database, some tables, even if already existing on the DB, appear as missing and the generated DDL still contains the "CREATE TABLE ..." statement
When synchronizing the Database with the model, the new tables created on the DB appear twice, once with the correct name and the 2nd time with the original name and the suffix "v1".
There seems to be no way to properly synchronize the model with the DB, apart from removing the tables from the model and re-import the definitions from the DB.
What am I doing wrong ? It seems really strange to me that no one has ever reported a bug like this!
Thank you
Hi,
whenever I create new tables in SQL Modeler, and then on the Oracle DB using the generatedDDL
There seems to be no way to properly synchronize the model with the DB, apart from removing the tables from the model and re-import the definitions from the DB
I'm able to reproduce your problem in case tables are imported into model using more than one connections. You need to use "Sync New Objects" in compare models dialog and then there will be no need to delete and import
again tables from database. Unfortunately "Sync New Objects" functionality doesn't work in case objects are imported using more then one connections. I logged a bug for that.
Philip
Similar Messages
-
Issues with Advance Table Add Row New Row not work in some scenarios.
Hi,
Wondering if there's any issue with Advanced Tables where it does not create any rows. I don't know if anyone tried this or not. I have one OA Page with Advanced Table and a button that when clicked open a new OA Page in a POP-UP Window. The pop-up page conatins one textbox where u enter a data and this gets saved in one of the VO's transient attribute. Now on the ase page if you don't click a button to open a pop-up page you can Add New Rows in the Advanced Table by clicking Add Row Button. But as soon as you open a popup window and close it Add New Rows button doesn't work and is not creating any new rows. Basically page stops working. Both the POP-UP and the base page share the same AM but have different controllers.
POP-UP page is a custom page that I open giving the Destination URI value in the button item and target frame _blank.
I even tried creating rows programmatically for Advance Table but this too doesn't work once u open a pop-up. Also I have used pageContext.putTransactionValue in the pop-up page and am checking and removing this in the base page.
Any help is appreciated.
Thanksanyone
-
Performance issue with temporary table
Hello oracle community,
Oracle 11.1
I have a problem with a global temp table (IMPO.REPCUSTOMERSLUCK24). I insert about 600.000 records into the table and doing some UPDATE statements on the table and at the end a MERGE statemtent to fill another table. I think the problem is, that the optimizier dont know how many records are in the temp table (Cardinality 1), but I cannot use DBMS_STATS.GATHER_TABLE_STATS to analyze the temp table (will lose the records if I do). Maybe I could analyze it with the "preserve on commit" option, but would like to avoid that. here is the
Plan
UPDATE STATEMENT ALL_ROWSCost: 1 Bytes: 1.171 Cardinality: 1
15 UPDATE IMPO.REPCUSTOMERSLUCK24
14 FILTER
2 TABLE ACCESS BY INDEX ROWID TABLE (TEMP) IMPO.REPCUSTOMERSLUCK24 Cost: 1 Bytes: 1.171 Cardinality: 1
1 INDEX RANGE SCAN INDEX IMPO.FK_1883_REPCUSTOMERSLUCK24 Cost: 1 Cardinality: 1
13 FILTER
12 SORT GROUP BY NOSORT Cost: 0 Bytes: 2.212 Cardinality: 1
11 NESTED LOOPS
9 NESTED LOOPS Cost: 0 Bytes: 2.212 Cardinality: 1
7 NESTED LOOPS Cost: 0 Bytes: 1.685 Cardinality: 1
4 TABLE ACCESS BY INDEX ROWID TABLE (TEMP) IMPO.REPCONTRACTSLUCK24 Cost: 0 Bytes: 1.158 Cardinality: 1
3 INDEX FULL SCAN INDEX IMPO.FK_1875_REPCONTRACTSLUCK24 Cost: 0 Cardinality: 1
6 TABLE ACCESS BY INDEX ROWID TABLE CRM2.MEDIACODE Cost: 0 Bytes: 527 Cardinality: 1
5 INDEX UNIQUE SCAN INDEX (UNIQUE) CRM2.AK_1970_MEDIACODE Cost: 0 Cardinality: 1
8 INDEX UNIQUE SCAN INDEX (UNIQUE) CRM2.PK_1955_PARTNER Cost: 0 Cardinality: 1
10 TABLE ACCESS BY INDEX ROWID TABLE CRM2.PARTNER Cost: 0 Bytes: 527 Cardinality: 1
any suggestions to my problem ?
Ikrischerhi,
dynamic sampling is read only a part of the table to make an estimatation (generally count the number of rows, or get an average (if the sample is 'large' enough' for the result to be reliable) etc.
So in you case you could evaluate the number of row like this (the explain plans show you that the estimated cost is propotional to the size of the sample read (either expressed in # of rows or block)).
SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 17 15:32:43 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining options
SQL> CREATE GLOBAL TEMPORARY TABLE XTEST
2 (
3 NUM1 NUMBER NOT NULL
4 )
5 ON COMMIT PRESERVE ROWS
6 NOCACHE
7 /
Table created.
SQL> INSERT INTO xtest
2 SELECT ROWNUM
3 FROM DUAL
4 CONNECT BY ROWNUM <= 100000;
100000 rows created.
SQL> commit;
Commit complete.
SQL> EXEC dbms_stats.gather_table_stats(ownname=>user,tabname=>'XTEST');
PL/SQL procedure successfully completed.
SQL> EXPLAIN PLAN SET STATEMENT_ID = 'st1' FOR SELECT COUNT(*)*10 FROM xtest SAMPLE(10);
Explained.
SQL> EXPLAIN PLAN SET STATEMENT_ID = 'st2' FOR SELECT COUNT(*)*1.1 FROM xtest SAMPLE(90);
Explained.
SQL> set linesize 120;
SQL> SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY(NULL,'st1','TYPICAL'));
PLAN_TABLE_OUTPUT
Plan hash value: 2221487120
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 4 | 31 (26)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 4 | | |
| 2 | TABLE ACCESS SAMPLE| XTEST | 10077 | 40308 | 31 (26)| 00:00:01 |
9 rows selected.
SQL> SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY(NULL,'st2','TYPICAL'));
PLAN_TABLE_OUTPUT
Plan hash value: 2221487120
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 4 | 32 (29)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 4 | | |
| 2 | TABLE ACCESS SAMPLE| XTEST | 90693 | 354K| 32 (29)| 00:00:01 |
9 rows selected.
SQL> Note the difference of rows/bytes in both samples, but be carrefull because the explain plan only gives you an estimation ...
REM: If you sample by blocks, you'll get less 'IO' (physical or not) (select count(*)1.5 from mytable sample block (50) is costless thans elect count(*)1.5 from mytable sample (50)) ... -
Hello Gurus..... ISSUE with child Table update
I have an issue with child table update
I have created a GTC with one parent table and two child tables. I'm able to update the parent table and the values are found in db, but the ISSUE is the child Table values are not updating the db.
please give me a solution
regards
SrikanthIf you are keeping referential integrity in the database, not in the application, it is easy to find the child and parent tables. Here is a quick and dirty query. You can join this to dba_cons_columns to find out on which columns the referential constraints are defined. This lists all child-parent table including SYS and SYSTEM users. You can run this for specific users of course.
select cons1.owner child_owner,cons1.table_name child_table,
cons2.owner parent_owner,cons2.table_name parent_table
from dba_constraints cons1,dba_constraints cons2
where cons1.constraint_type='R'
and cons1.r_constraint_name=cons2.constraint_name; -
When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)
I have attached the url of the unwanted site.Use this add-on [https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab/ '''Custom new tab'''].
-
how can i get my ps 3.0 to install on my laptop ? compatibility issues with newer version of windows
It's hopelessly outdated. It's simply not compatible.
Mylenium -
SQL Query : Order By issue with HUGE Table
Hello friends,
I have been through a terrible issue with order by. I would appreciate your help. Please let me know, your input for my case:
=> if i run select query it returns result quick in some milliseconds. (sql dev. fetches 50 rows at a time)
=> if i run select query with where condition and column (say A) in where condition is even indexed and i have order by and that order by column (say B) is also indexed.
Now, here is the issue:
1. if no. of rows with that where condition can filter yielding small result set then order by works fine .. 1-5 sec which is good.
2.*if no. of rows with that where condition can filter yielding Large result set, say more than 50,000 then with order by then the wait time is exponential.... i have even waited 10+ mins to get the result back for 120,000 records.*
Is order by takes that long for 100K records ... i think something else if wrong... your pointer will really be helpful... i am very new to sql and even newer for large table case.
I am using SQL Developer Version 2.1.1.64
and Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
Thank you so much.
Edited by: 896719 on Jan 11, 2013 8:38 AMYes you are correct, but my concentration was on order by thing, so it will do full scan of table so i was putting that ... and was also wondering if millions of record in table should not be a issue...???
Any way for the explain plan , when just a value in the where changes there is the huge difference i want to point out too as below:
SELECT
FROM
EES_EVT EES_EVT where APLC_EVT_CD= 'ABC' ORDER BY CRE_DTTM DESC
execution time : 0.047 sec
Plan hash value: 290548126
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 27 | 14688 | 25 (4)| 00:00:01 |
| 1 | SORT ORDER BY | | 27 | 14688 | 25 (4)| 00:00:01 |
| 2 | TABLE ACCESS BY INDEX ROWID| EES_EVT | 27 | 14688 | 24 (0)| 00:00:01 |
|* 3 | INDEX RANGE SCAN | XIE1EES_EVT | 27 | | 4 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - access("APLC_EVT_CD"='ABC')
Note
- SQL plan baseline "SYS_SQL_PLAN_6d41e6b91925c463" used for this statement
=============================================================================================
SELECT
FROM
EES_EVT EES_EVT where APLC_EVT_CD= 'XYZ' ORDER BY CRE_DTTM DESC
execution : 898.672 sec.
Plan hash value: 290548126
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 121K| 62M| | 102K (1)| 00:11:02 |
| 1 | SORT ORDER BY | | 121K| 62M| 72M| 102K (1)| 00:11:02 |
| 2 | TABLE ACCESS BY INDEX ROWID| EES_EVT | 121K| 62M| | 88028 (1)| 00:09:27 |
|* 3 | INDEX RANGE SCAN | XIE1EES_EVT | 121K| | | 689 (1)| 00:00:05 |
Predicate Information (identified by operation id):
3 - access("APLC_EVT_CD"='XYZ')
Note
- SQL plan baseline "SYS_SQL_PLAN_ef5709641925c463" used for this statementAlso Note this table contains 74328 MB data in it.
Thanks -
Issue with Database table adapter
Hi,
Iam working on OIM 9.1.0.1
I login as an end user & self request the DB table which is configured.
User can assign & the xelsysadm approves ..
The approval task is completed as seen in the End User page. In the Task Assignment History -->Task status is Pending
Can anyone help me out on this issue.
Error seen on console.
ERROR,19 Feb 2011 16:00:01,421,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUse
rOperationsBean/updateUserData encounter some problems: maoErrors:An error occur
red while retrieving process information null
ERROR,19 Feb 2011 16:00:01,437,[XELLERATE.SCHEDULER.TASK],Class/Method: tcTskUsr
Provision/checkPolicyUpdateFlags encounter some problems: An error occurred whil
e retrieving process information null
Thor.API.Exceptions.tcAPIException: An error occurred while retrieving process i
nformation null
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unk
nown Source)
at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown
Source)
at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown
Source)
at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(t
cUserOperations_voj9p2_EOImpl.java:4747)
at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
rce)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy51.updateUser(Unknown Source)
at com.thortech.xl.schedule.tasks.tcTskUsrProvision.checkPolicyUpdateFla
gs(Unknown Source)
at com.thortech.xl.schedule.tasks.tcTskUsrProvision.execute(Unknown Sour
ce)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionActi
on.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
rce)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown S
ource)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:477)
Running GENERICADAPTER
Target Class = com.thortech.xl.gc.runtime.GCAdapterLibraryIt's a new error now..
The Create User task is Rejected with the below error in console.
Running GENERICADAPTER
Target Class = com.thortech.xl.gc.runtime.GCAdapterLibrary
ERROR,21 Feb 2011 17:45:42,171,[XELLERATE.APIS],
java.lang.NullPointerException
at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getModelFromConnectorD
efinition(Unknown Source)
at com.thortech.xl.ejb.beansimpl.GCOperationsBean.lookup(Unknown Source)
at com.thortech.xl.ejb.beans.GCOperationsSession.lookup(Unknown Source)
at com.thortech.xl.ejb.beans.GCOperations_do1ndy_EOImpl.lookup(GCOperati
ons_do1ndy_EOImpl.java:576)
at Thor.API.Operations.GCOperationsClient.lookup(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
rce)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy79.lookup(Unknown Source)
at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unkn
own Source)
at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
.GENERICADAPTER(adpMY_NEWTESTUSERS_GTC.java:125)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
.implementation(adpMY_NEWTESTUSERS_GTC.java:70)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Sour
ce)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown
Source)
at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unkno
wn Source)
at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(
Unknown Source)
at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Sourc
e)
at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcORC.autoDOBSave(Unknown Source)
at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Sour
ce)
at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(Unkn
own Source)
at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcOBI.checkApproved(Unknown Source)
at com.thortech.xl.dataobj.tcOBI.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcOBI.approve(Unknown Source)
at com.thortech.xl.dataobj.tcRequestObject.handleApprovalLaunch(Unknown
Source)
at com.thortech.xl.dataobj.tcREQ.launchObjectApprovals(Unknown Source)
at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcREQ.checkRequestReceived(Unknown Source)
at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
ute(Unknown Source)
at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
ute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
sMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageHandlerMDB.onMessa
ge(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:46
6)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
istener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:505
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
ERROR,21 Feb 2011 17:45:42,250,[XELLERATE.APIS],An exception occurred while crea
ting the GenericConenctor Model from the Connector Definition file
ERROR,21 Feb 2011 17:45:42,250,[XELLERATE.APIS],An exception occurred while gene
rating Generic Connector model from the connector definition xml of the connecto
r 'MY_NEWTESTUSERS'
com.thortech.xl.gc.exception.ConnectorDefinitionOperationsException: An exceptio
n occurred while creating the GenericConenctor Model from the Connector Definiti
on file
at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getModelFromConnectorD
efinition(Unknown Source)
at com.thortech.xl.ejb.beansimpl.GCOperationsBean.lookup(Unknown Source)
at com.thortech.xl.ejb.beans.GCOperationsSession.lookup(Unknown Source)
at com.thortech.xl.ejb.beans.GCOperations_do1ndy_EOImpl.lookup(GCOperati
ons_do1ndy_EOImpl.java:576)
at Thor.API.Operations.GCOperationsClient.lookup(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
rce)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy79.lookup(Unknown Source)
at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unkn
own Source)
at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
.GENERICADAPTER(adpMY_NEWTESTUSERS_GTC.java:125)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
.implementation(adpMY_NEWTESTUSERS_GTC.java:70)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Sour
ce)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown
Source)
at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unkno
wn Source)
at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(
Unknown Source)
at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Sourc
e)
at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcORC.autoDOBSave(Unknown Source)
at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Sour
ce)
at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(Unkn
own Source)
at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcOBI.checkApproved(Unknown Source)
at com.thortech.xl.dataobj.tcOBI.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcOBI.approve(Unknown Source)
at com.thortech.xl.dataobj.tcRequestObject.handleApprovalLaunch(Unknown
Source)
at com.thortech.xl.dataobj.tcREQ.launchObjectApprovals(Unknown Source)
at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcREQ.checkRequestReceived(Unknown Source)
at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
ute(Unknown Source)
at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
ute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
sMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageHandlerMDB.onMessa
ge(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:46
6)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
istener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:505
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
... 76 more
ERROR,21 Feb 2011 17:45:42,312,[XELLERATE.GC.FRAMEWORKPROVISIONING],An exception
occurred while generating Generic Connector model from the connector definition
xml of the connector 'MY_NEWTESTUSERS' -
Performance issues with pipelined table functions
I am testing pipelined table functions to be able to re-use the <font face="courier">base_query</font> function. Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? The <font face="courier">processor</font> function is from [url http://www.oracle-developer.net/display.php?id=429]improving performance with pipelined table functions .
Edit: The underlying query returns 500,000 rows in about 3 minutes. So there are are no performance issues with the query itself.
Many thanks in advance.
CREATE OR REPLACE PACKAGE pipeline_example
IS
TYPE resultset_typ IS REF CURSOR;
TYPE row_typ IS RECORD (colC VARCHAR2(200), colD VARCHAR2(200), colE VARCHAR2(200));
TYPE table_typ IS TABLE OF row_typ;
FUNCTION base_query (argA IN VARCHAR2, argB IN VARCHAR2)
RETURN resultset_typ;
c_default_limit CONSTANT PLS_INTEGER := 100;
FUNCTION processor (
p_source_data IN resultset_typ,
p_limit_size IN PLS_INTEGER DEFAULT c_default_limit)
RETURN table_typ
PIPELINED
PARALLEL_ENABLE(PARTITION p_source_data BY ANY);
PROCEDURE with_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ);
PROCEDURE no_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ);
END pipeline_example;
CREATE OR REPLACE PACKAGE BODY pipeline_example
IS
FUNCTION base_query (argA IN VARCHAR2, argB IN VARCHAR2)
RETURN resultset_typ
IS
o_resultset resultset_typ;
BEGIN
OPEN o_resultset FOR
SELECT colC, colD, colE
FROM some_table
WHERE colA = ArgA AND colB = argB;
RETURN o_resultset;
END base_query;
FUNCTION processor (
p_source_data IN resultset_typ,
p_limit_size IN PLS_INTEGER DEFAULT c_default_limit)
RETURN table_typ
PIPELINED
PARALLEL_ENABLE(PARTITION p_source_data BY ANY)
IS
aa_source_data table_typ;-- := table_typ ();
BEGIN
LOOP
FETCH p_source_data
BULK COLLECT INTO aa_source_data
LIMIT p_limit_size;
EXIT WHEN aa_source_data.COUNT = 0;
/* Process the batch of (p_limit_size) records... */
FOR i IN 1 .. aa_source_data.COUNT
LOOP
PIPE ROW (aa_source_data (i));
END LOOP;
END LOOP;
CLOSE p_source_data;
RETURN;
END processor;
PROCEDURE with_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ)
IS
BEGIN
OPEN o_resultset FOR
SELECT /*+ PARALLEL(t, 5) */ colC,
SUM (CASE WHEN colD > colE AND colE != '0' THEN colD / ColE END)de,
SUM (CASE WHEN colE > colD AND colD != '0' THEN colE / ColD END)ed,
SUM (CASE WHEN colD = colE AND colD != '0' THEN '1' END) de_one,
SUM (CASE WHEN colD = '0' OR colE = '0' THEN '0' END) de_zero
FROM TABLE (processor (base_query (argA, argB),100)) t
GROUP BY colC
ORDER BY colC
END with_pipeline;
PROCEDURE no_pipeline (argA IN VARCHAR2,
argB IN VARCHAR2,
o_resultset OUT resultset_typ)
IS
BEGIN
OPEN o_resultset FOR
SELECT colC,
SUM (CASE WHEN colD > colE AND colE != '0' THEN colD / ColE END)de,
SUM (CASE WHEN colE > colD AND colD != '0' THEN colE / ColD END)ed,
SUM (CASE WHEN colD = colE AND colD != '0' THEN 1 END) de_one,
SUM (CASE WHEN colD = '0' OR colE = '0' THEN '0' END) de_zero
FROM (SELECT colC, colD, colE
FROM some_table
WHERE colA = ArgA AND colB = argB)
GROUP BY colC
ORDER BY colC;
END no_pipeline;
END pipeline_example;
ALTER PACKAGE pipeline_example COMPILE;Edited by: Earthlink on Nov 14, 2010 9:47 AM
Edited by: Earthlink on Nov 14, 2010 11:31 AM
Edited by: Earthlink on Nov 14, 2010 11:32 AM
Edited by: Earthlink on Nov 20, 2010 12:04 PM
Edited by: Earthlink on Nov 20, 2010 12:54 PMEarthlink wrote:
Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? Well, we're missing a lot here.
Like:
- a database version
- how did you test
- what data do you have, how is it distributed, indexed
and so on.
If you want to find out what's going on then use a TRACE with wait events.
All nessecary steps are explained in these threads:
HOW TO: Post a SQL statement tuning request - template posting
http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
Another nice one is RUNSTATS:
http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701 -
Performance issue with new release
Dear all,
11.2 rac with ASM on solaris sparc standard edition.
Client was using 10.2.0.3 on solaris 10 before and it is working fine.
after migrating the data to the new 11g instance ,we've a performance
degradation in the application. application forms 10.1.2.3 .Since we
are using stanard edition, there are not much options available for
tuning. the same application when tested with 11gr2 on windows (non-rac)
is more faster than the current prod and the newly installed ones.
I scheduled statspack and info from statspack
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
CPU time 2,468 87.0
Streams AQ: qmn coordinator waiting for s 18 103 5742 3.6
gc cr block busy 295 89 303 3.2
control file sequential read 235,472 70 0 2.5
reliable message 8,701 24 3 .9
Host CPU (CPUs: 32 Cores: 4 Sockets: 1)
~~~~~~~~ Load Average
Begin End User System Idle WIO WCPU
1.20 1.37 2.43 1.25 96.32 0.00 0.91
Instance CPU
~~~~~~~~~~~~ % Time (seconds)
Host: Total time (s): 441,564.6
Host: Busy CPU time (s): 16,239.3
% of time Host is Busy: 3.7
Instance: Total CPU time (s): 2,682.5
% of Busy CPU used for Instance: 16.5
Instance: Total Database time (s): 3,249.6
%DB time waiting for CPU (Resource Mgr): 0.0
Memory Statistics Begin End
~~~~~~~~~~~~~~~~~ ------------ ------------
Host Mem (MB): 16,256.0 16,256.0
SGA use (MB): 4,078.9 4,078.9
PGA use (MB): 418.6 415.2
% Host Mem used for SGA+PGA: 27.7 27.6
-------------------------------------------------------------Objects are indexes are the same across the environment.stats are updated, but the process is time consuming in the new environment.
Please let me know how to proceed ?
KaiKai,
Please take a look in the sqlnet.ora file on the client computer, you should find it in network/admin directory. In that file, do you see either of these two lines?
sqlnet.authentication_services = (NONE)
sqlnet.authentication_services = (NTS)The above might explain why the configuration is fast on a Windows server, but slow when a Solaris server is accessed.
To Mark's point, execution plans can change between different versions - in fact Oracle Database 11.2.0.2 will perform something called adaptive cursor sharing, where an execution plan (you cannot check this using EXPLAIN PLAN from SQL*Plus) will potentially change as different bind variable values are supplied. However, if the application parses once and then holds the cursor open, the adaptive cursor sharing likely will not happen on future executions within that application - an unfortunate initial parse with unusual bind variable values might trigger a hard parse on 11.2.0.2 (thus possibly changing the execution plan), even when that SQL statement had been previously hard parsed. Randolf Geist recently posted an article related to this topic:
http://oracle-randolf.blogspot.com/2011/01/adaptive-cursor-sharing.html
Even with the Standard Edition of Oracle Database you still have a lot of options for troubleshooting this problem. In a 10046 trace file for a session look at the amount of time spent on the SQL*Net events. Do not look at just the summary provided by TKPROF, but look at the raw trace file. Is each SQL*Net related wait for a significant amount of time? If you do see long times for many of the SQL*Net waits, then you should focus your attention to the client, the server's network configuration, and the network hardware.
On the Standard Edition you can also look at the session level time model statistics and wait events to get a better idea of what is happening in the session. For example, if you have access to a spare Windows client computer you can try a script like the one in this blog article to help you review the time model statistics and dig into the session level time model statistics and wait events for a specific session:
http://hoopercharles.wordpress.com/2010/02/09/working-with-oracle%e2%80%99s-time-model-data-3/
Charles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Issue with new abap webdynpro INBOX EHP5
Hello Experts,
I'm currently working on the configuration of ESS/MSS services in EHP5. We are using different services like Appraisal OSA, Learning solution,etc. I already configured the Launchpad ESS, it's working fine but now I have an issue with the new Abap webdynpro INBOX. The employee and manager see their workitem notifications correctly in their respective inbox.(I'm calling application: IBO_WDA_INBOX that I integrated in my launchpad).
My problem is that when clicking on a workitem in order that it opens me the appraisal document (in edit or display mode), I got an error saying: "There is no iView available for system "": object "SWF_WIOBN". For more information, contact your administrator."
I did some search on SAP help without any results. I'm wondering how should I register workflow tasks? I saw there is a table called IBO_C_WF_TAS (I added entries e.g:
IBO_WDA_INBOX TS99700031 EXECUTEAPPRAISALDOCUMENT).
I tried also to register all my custom tasks in transaction SWFVISU.
example:
TASK: TS99700013
Visualization Type: ABAP Webdynpro
APPLICATION: HAP_MAIN_DOCUMENT
DYNPARAM : sap-wd-configId=HAP_AC_MAIN_DOC
NAMESPACE : sap
SYSTEM_ALIAS: SAP_Webdynpro_XSS (I did create a system in sap portal under System Administration with as AS property /webdynpro/dispatcher )
Could you let me know what could be wrong, what I missed? Shall I create an iView, if yes which one? which properties?
I would really appreciate any help.
Thanks!Hello Siddharth,
Thanks for you reply. Still the same issue. Following are the config I did till now:
In the PCD I created a new business object (SWF_WIOBN), an operation linked to the object (NAVIGATE).
I did create an iView (powl) in the custom folder, I integrated the operation within iView. I created a page that contains the iView.
In the properties of the iView I gave:
Application Name: HAP_MAIN_DOCUMENT.
Launch in New Window: "Display in separate Headerless Portal Window".
System: SAP_ECC_HumanResources
I added the required entries in tables:
IBO_C_WF_TTAS
IBO_C_WF_ACS
IBO_V_WF_TAC
IBO_V_WF_TTAC
etc...
I saw in the code of linked feeder class: CL_IBO_INBOX_FEEDER_WI that it's checking something called "Launch_Editor".. Is it a property that we can set somewhere?
Following are the parameters retrieved by system:
BO_NAME = SWF_WIOBN
BO_OP_NAME = NAVIGATE
LAUNCHER_PARAMETERS -> empty.??
BO_RESOLVE_MODE = USER_SET_OF_ROLES
LAUNCH_EDITOR empty where must be set?
At the end I still get the error:
There is no iView available for system "": object "SWF_WIOBN". For more information, contact your administrator.
Any advice,
Thanks in advance -
Insert performance issue with Partitioned Table.....
Hi All,
I have a performance issue during with a table which is partitioned. without table being partitioned
it ran in less time but after partition it took more than double.
1) The table was created initially without any partition and the below insert took only 27 minuts.
Total Rec Inserted :- 2424233
PL/SQL procedure successfully completed.
Elapsed: 00:27:35.20
2) Now I re-created the table with partition(range yearly - below) and the same insert took 59 minuts.
Is there anyway i can achive the better performance during insert on this partitioned table?
[ similerly, I have another table with 50 Million records and the insert took 10 hrs without partition.
with partitioning the table, it took 18 hours... ]
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 4195045590
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 643K| 34M| | 12917 (3)| 00:02:36 |
|* 1 | HASH JOIN | | 643K| 34M| 2112K| 12917 (3)| 00:02:36 |
| 2 | VIEW | index$_join$_001 | 69534 | 1290K| | 529 (3)| 00:00:07 |
|* 3 | HASH JOIN | | | | | | |
| 4 | INDEX FAST FULL SCAN| PK_ACCOUNT_MASTER_BASE | 69534 | 1290K| | 181 (3)| 00:00
| 5 | INDEX FAST FULL SCAN| ACCOUNT_MASTER_BASE_IDX2 | 69534 | 1290K| | 474 (2)| 00:00
PLAN_TABLE_OUTPUT
| 6 | TABLE ACCESS FULL | TB_SISADMIN_BALANCE | 2424K| 87M| | 6413 (4)| 00:01:17 |
Predicate Information (identified by operation id):
1 - access("A"."VENDOR_ACCT_NBR"=SUBSTR("B"."ACCOUNT_NO",1,8) AND
"A"."VENDOR_CD"="B"."COMPANY_NO")
3 - access(ROWID=ROWID)
Open C1;
Loop
Fetch C1 Bulk Collect Into C_Rectype Limit 10000;
Forall I In 1..C_Rectype.Count
Insert test
col1,col2,col3)
Values
val1, val2,val3);
V_Rec := V_Rec + Nvl(C_Rectype.Count,0);
Commit;
Exit When C_Rectype.Count = 0;
C_Rectype.delete;
End Loop;
End;
Total Rec Inserted :- 2424233
PL/SQL procedure successfully completed.
Elapsed: 00:51:01.22
Edited by: user520824 on Jul 16, 2010 9:16 AMI'm concerned about the view in step 2 and the index join in step 3. A composite index with both columns might eliminate the index join and result in fewer read operations.
If you know which partition the data is going into beforehand you can save a little bit of processing by specifying the partition (which may not be a scalable long-term solution) in the insert - I'm not 100% sure you can do this on inserts but I know you can on selects.
The APPEND hint won't help the way you are using it - the VALUES clause in an insert makes it be ignored. Where it is effective and should help you is if you can do the insert in one query - insert into/select from. If you are using the loop to avoid filling up undo/rollback you can use a bulk collect to batch the selects and commit accordingly - but don't commit more often than you have to because more frequent commits slow transactions down.
I don't think there is a nologging hint :)
So, try something like
insert /*+ hints */ into ...
Select
A.Ing_Acct_Nbr, currency_Symbol,
Balance_Date, Company_No,
Substr(Account_No,1,8) Account_No,
Substr(Account_No,9,1) Typ_Cd ,
Substr(Account_No,10,1) Chk_Cd,
Td_Balance, Sd_Balance,
Sysdate, 'Sisadmin'
From Ideaal_Cons.Tb_Account_Master_Base A,
Ideaal_Staging.Tb_Sisadmin_Balance B
Where A.Vendor_Acct_Nbr = Substr(B.Account_No,1,8)
And A.Vendor_Cd = b.company_no
;Edited by: riedelme on Jul 16, 2010 7:42 AM -
Strange Printing Issue With New HP & Pages
Hello!
I have a very strange printing issue with a new HP printer. I have written pages documents heavy in Texts which are located within tables. The documents print fine on a Cannon and Epson printer and look great but when I print the document on my new HP Laserjet Pro 400 Colour M451nw some of the text on some rows come out of the printer looking like they are bold / slightly fuzzy. This only happens with some of the rows of text, not all of them. The font is the same in every row with the same format.
You can see this in the attached image. The first line (Thanks very much) has printed correctly but the subsequent lines look bold / slightly fuzzy.
After a lot of testing the only way I can resolve this is if I copy the content into a new pages document and only then it will print and look ok with the HP printer.
This must be a problem within my origional document. I would simply copy and paste everything into a new document however this would take a very, very long time (over 5 years of work producing teaching materials and over 100 documents and thousands of tables and formatting that cannot be copied and pasted).
Also, on other printers you can see the lines seperating each row of the table. These lines are not visible on the HP print outs, even when the table is copied into a new document.
Has anyone come accross an issue like this before? Is there a way I can fix this without creating a new document? Do I need to get a new another new printer (the 4th printer this week!)?
Any advise, wise words would be greatly apprechiated!
Thanks!Sorry, Fruhulda. After 4 hours on the phone with Apple care they are taking this issue further themselves. It seems to be a problem with our pages document and the compatibility with certain drivers. We have still not gotton to the bottom of it and Apple are going to get back to me when they have an answer.
We also worked out that the issue only happens when you print via Ethrenet & USB. Printing via Wifi is ok and there are no quality issues.
Very Strange! -
Issues with SSIS in named instance SQL 2014
I have a SSIS job that runs without any issues with native mode. But for named instance, I get these errors:
Any suggestions?
Failed to decrypt protected XML node
"DTS:Password" with error 0x8009000B "Key not valid for use in specified state.
You may not be authorized to access this
information. This error occurs when there is a cryptographic error. Verify that the correct key is available. End Error Error: 2015-04-22 15:20:01.67 Code: 0xC0016016
Source: xxx Description: Failed to decrypt protected XML node "OraPassword" with error 0x8009000B
"Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a
cryptographic error. Verify that the correct key is available. End Error Error: 2015-04-22 15:20:02.22 Code:
0x000002BD Source: xxx Connection manager "yyy" Description:Oracle Home not found. End Error Error: 2015-04-22
15:20:02.22 Code: 0x0000020F Source: mmm[96]
Description: The AcquireConnection method call to the connection manager yyy failed with error code 0x80004005. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error
ThanksHi LaxUdas,
If I understand correctly, the package is developed with Protection Level set as "EncryptSensitiveWithUserKey". When you execute the package via a SQL Agent Job in a Named Instance, the account that job step using is not the user that create the
package. So it cannot be able to connect to the Oracle DB with invalid connection string.
This behavior is by design. In an Integration Services package, the following information is defined as sensitive:
The password part of a connection string.
The task-generated XML nodes that are tagged as sensitive.
Any variable that is marked as sensitive.
EncryptSensitiveWithUserKey uses a key that is based on the current user profile to encrypt only the values of sensitive properties in the package. Only the same user who uses the same profile can load the package. If a different user opens the package,
the sensitive information is replaced with blanks and the current user must provide new values for the sensitive data.
To work around this issue, please refer to the following suggestions:
Change the SSIS Package ProtectionLevel property to EncryptSensitiveWithPassword. This setting uses a password for encryption. To open the package in SSIS Designer (SSDT), the user must provide the package password.
Change the Named Instance SQL Agent Service account to the user that create the package, like your Default Instance.
Use SSIS Package configuration files to store sensitive information, and then store these configuration files in a secured folder. You can then change the ProtectionLevel property to DontSaveSensitive so that the package is not encrypted and does not try
to save secrets to the package. When you run the SSIS package, the required information is loaded from the configuration file. Make sure that the configuration files are adequately protected if they contain sensitive information.
The following two documents are for your references:
https://msdn.microsoft.com/en-us/library/ms141747.aspx
https://support.microsoft.com/en-us/kb/918760
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Multiple issues with new installation
I have several issues with my fresh installation of arch (just got myself a free old-as laptop , thus trying out arch for the first time as I usually run gentoo), and I'm not sure where these should go. I figure that I may as well lump them all at once while I'm at it.
The laptop model is a Toshiba Dynabook TX/430DX Japanese laptop similar to a Tecra A2 afaik.
1. If I use stock ARCH kernel, when I load up x11 it seems to be using some wrong drivers or something. Tried with and without xorg.conf. The screen is all fuzzy etc. However, I compiled my own kernel (the Zen sources), took out a whole bunch of drivers I knew I wouldn't be using (etc. SATA/IDE/extra whatnot so that it would merely take 3 hours to compile the kernel), x11 works fine. HOWEVER with the zen sources, when I close x11 I can't exit to console. I get some sort of weird artefact from what happened to be on the screen, or it just goes black. It does actually seem to be in console as I can turn off the laptop with ctrl.alt.del and the capslock etc seems to work fine. I'm thinking of recompiling the zen sources with the stock arch kernel config when I have the time just to see what happens, but I'm not too sure it'd help.
The VGA device is an: Intel Corporation 82852/855GM Intergrated Graphics Device (rev 02), using the intelfb module.
2. In most consoles I've used, if you type in part of a command then press ctrl.up/down, it autocompletes with previous commands you've run matching what you've already entered. However, in my install it brings me to the very first command in my bash history. How do I make it autocomplete previous commands?
3. When I use wvdial (I have a mobile modem), I get odd characters as shown in the screenshot posted.
I don't think it's a unicode issue, as ncmpcpp displays properly. This displays itself both in the console and in x11 (screenshot).
4. If I'm using the stock kernel and I stop wvdial, I get a whole bunch of kernel error trace messages. After this, anything that goes to dmesg will be displayed to whatever terminal I'm on (but not actually echoed, it gets overwritten if I change screen etc). Wvdial is also prone to crashing, sometimes taking out the whole laptop. However, while using the zen kernel I do not suffer this issue at all.
Any help in helping me find the source of these issues would be greatly appreciated. They're not showstopping issues, but extremely irritating nonetheless.
Thanks in advance.
EDIT: I created a zen kernel based on the arch stock kernel. Unsurprisingly, I still suffer from the x11 video issue. However, I don't have issues with number 4.
Last edited by ugugii (2009-06-14 00:57:37)People are probably going to want to know the make/model of the lappy before they can
help.
Deej
Maybe you are looking for
-
Hi all, I'm looking for a solution, trying to freeze a HTML article. Actually, I've an article with HTML content, including a form with Javascript interaction. Problem is, if the user swipe to another page, or if the tablet go to standby, the next vi
-
I've seen others out there with this problem but have not seen a solutions. the number of jobs sent to our printer is squared. I've tried deleting the print ques and recreating them but no good. This is obviously a bug in the server software. Someone
-
Skype Click to Call - plugin is unresponsive - ANN...
Why do I repeatedly see the message Plug-in Unresponsive The following plug-in is unresponsive: Skype Click to Call Would you like to stop it? Yes No
-
Updates stopping halfway through
Hey everyone, I'm trying to get the "GarageBand Instruments and Apple Loops" update for GarageBand which is 1.2 gb all together. The problem that I'm getting is that the update quits halfway through and when I try to do the update again it starts ove
-
Hello. I currently have an application running on a server with SQL 2008 (Server 8.0.760). I am moving to a new application on a new server running SQL 2012 Express (11.0.2100). Can the tables be copied from sql 2008 and recreated in sql 2012? I don'