Spool process running on "Querying" state

Hi,
One of the work process is running on "querying" state, for every 3 minutes. And raising up even we kill it on process overview. At the end of the process it is core dumping on system with the error below;
ABAP runtime errors    SYSTEM_CORE_DUMPED
       Occurred on     16.07.2008 at 00:31:48
Process terminated by signal 11.
What happened?
Error in the SAP Basis system
ABAP/4 processor detected an internal system error.
The current ABAP program "RSPOWP00 " had to be terminated because the ABAP
processor discovered an invalid system state.
Even though we set "Do not query host spooler for output status" on SPAD, the system is still querying those printers that we already set this parameter.
The system is HP-UX and the spool access method "S" configured for each printer. I am sure that there's no any network problem between server and the host spooler. Kernel version is 4.6C.
What can cause the problem? Anyone has a suggestion?
Thank you


** W34 LOOP (SPO) *********
T  alloc memory 14252ee80 (96)
T  module rspoerrh matches rspo* -> project Sp
T  alloc memory 14252eee0 (56)
T  alloc memory 14252ef18 (80)
T  alloc memory 14252ef68 (80)
T  alloc memory 14252efb8 (64)
T  alloc memory 14252eff8 (64)
M  invalidate act fields from T34/M0
M  ThRqWaitFor: wait for next request new time slice
M  event-handling: W34, key 905, flag 956
M  ThRqWaitFor: wait for request
M Wed Jul 16 13:06:41 2008
M  ThRqAccept: allowed rq_type = 0
M  set act fields to T34/M0
M  ThSetDefaultTaskType: set task type ZTTASPO
M  ThIsAsyncInput (T34, M0, ..), allowed rq_type = TH_ALL_RQ
M  LOCK WP ca_blk 2
M  LOCK APPC ca_blk 1800
M  set act fields to T34/M0
M  ThClearNextFields ()
M  rq_id 839 for T34 U35 M0 I0 recv 0 (Mstat 66, len -1) (from dispatcher)
M    resCheck=0 Tname:
M  set MSG_SPOASYNC in Overhead
S  Create Spool Alarm Message
M  set SPOOL ALARM
M  ThRqInCheck: o.k.
M  ThRqAccept: saved MODE_REC = 40
M  Adresse   Offset  SPOASYNC-Request
M  -
M  a00fa60  000000  00000000 02000000 41000000 00000000 |........A.......|
M  a00fa70  000016  00000000 00000000 00000000 00000000 |................|
M  a00fa80  000032  00000000 00000000 00000000 00000000 |................|
M  a00fa90  000048  00000000 00000000 00000000 00000000 |................|
M  a00faa0  000064  00000000 00000000 00000000 00000000 |................|
M  a00fab0  000080  00000000 00000000 00000000 00000000 |................|
M  a00fac0  000096  00000000 00000000 00000000 00000000 |................|
M  a00fad0  000112  00000000 00000000 00000000 00000000 |................|
M  a00fae0  000128  00000000 00000000 00000000 00000000 |................|
M  a00faf0  000144  00000000 00000000 00000000 00000000 |................|
M  a00fb00  000160  00000000 00000000 00000000 00000000 |................|
M  a00fb10  000176  00000000 00000000 00000000 00000000 |................|
M  a00fb20  000192  00000000 00000000 00000000 00000000 |................|
M  a00fb30  000208  00000000 00000000 00000000 00000000 |................|
M  a00fb40  000224  00000000 00000000 00000000 00000000 |................|
M  a00fb50  000240  00000000 00000000 00000000 00000000 |................|
M  a00fb60  000256  00000000 00000000 00000000 00000000 |................|
M  a00fb70  000272  00000000 00000000 00000000 00000000 |................|
M  a00fb80  000288  00000000 00000000 00000000 00000000 |................|
M  a00fb90  000304  00000000 00000000 00000000 00000000 |................|
M  a00fba0  000320  00000000 00000000 00000000 00000000 |................|
M  a00fbb0  000336  00000000 00000000 00000000 00000000 |................|
M  a00fbc0  000352  00000000 00000000 00000000 00000000 |................|
M  a00fbd0  000368  00000000 00000000 00000000 00000000 |................|
M  a00fbe0  000384  00000000 00000000 00000000 00000000 |................|
M  a00fbf0  000400  00000000 00000000 00000000 00000000 |................|
M  a00fc00  000416  00000000 00000000 00000000 00000000 |................|
M  a00fc10  000432  00000000 00000000 00000000 00000000 |................|
M  a00fc20  000448  00000000 00000000 00000000 00000000 |................|
M  a00fc30  000464  00000000 00000000 00000000 00000000 |................|
M  a00fc40  000480  00000000 00000000 00000000 00000000 |................|
M  a00fc50  000496  00000000 00000000 00000000 00000000 |................|
M  a00fc60  000512  00000000 00000000 00000000 00000000 |................|
M  a00fc70  000528  00000000 00000000 00000000 00000000 |................|
M  a00fc80  000544  00000000 00000000 00000000 00000000 |................|
M  a00fc90  000560  00000000 00000000 00000000 00000000 |................|
M  a00fca0  000576  00000000 00000000 00000000 00000000 |................|
M  a00fcb0  000592  00000000 00000000 00000000 00000000 |................|
M  a00fcc0  000608  00000000 00000000 00000000 00000000 |................|
M  a00fcd0  000624  00000000 00000000 00000000 00000000 |................|
M  a00fce0  000640  00000000 00000000 00000000 00000000 |................|
M  a00fcf0  000656  00000000 00000000 00000000 00000000 |................|
M  a00fd00  000672  00000000 00000000 00000000 00000000 |................|
M  a00fd10  000688  0000                                |..              |
M  -
M  new request: THFCSPO
M  TskhLoop: handle thfc 24
M  set task type/act rqtype = ZTTADIA/1
M  PfRecCreate: create record (0)
M  set cpu stamp
M  tskh_spainit: install saved spa pointer 141cf7570
M  tskh_spainit: U35 M0 I0
A  + not rolled in
A  + not rolled in
M  ThSavUsrClient: set usr >SAPSYS      <
M  ThSavUsrClient: set client >000<
M  ThEmInit: call EmContextCreate (U35/M0, ..)
M  ThEmInit: em context for T34/M0 created (em_hdl=116)
M  set task type/act rqtype = ZTTASPO/5
M  Thdynpen00: call dynp handler (21) ...
Y
Y  ======================== DYNP entry 21:
Y  RollEnvir UNDEF 00035_00_0000000000 00 SAPSYS
Y  start spool
Y  init new session
Y  init_imode_spa
A  ab_resize 0 2896 141d37780 DYNBPT
M  NiIHostToAddr: hostname yssux01 = addr 10.80.1.30
Y  init_dynpro
A  Initialize Task.
A  +                      SAPSYS       90  cleaned up ...   rlv=clean
A  ab_resize 0 131072 141d38300 abstor
A  ab_resize_imode(): 0 131072 131088 141d38300
A  ab_resize 0 28463 141d58330 abinit
A  +                      SAPSYS       90  Starting task ...   rlv=running
A  ab_resize 0 12000 141d5f280 abgetw
A  ab_resize 0 8000 141d62190 abgetw
A  ab_resize 0 1000 141d64100 abgetw
A  LOAD SEGMENT
A  ab_resize 0 240 141d64510 abstor
A  ab_resize 0 5280 141d64630 abinit
A  LOAD SEGMENT /%_LISTTABLES
A  ab_resize 0 16384 141d65b00 abdseg
A  ab_resize 0 5232 141d69b30 abdseg
A  ab_resize 0 4608 141d6afd0 abstac
A  ab_resize 0 4096 141d6c200 abstac
A  ab_resize 0 2048 141d6d230 abstac
A  ab_resize 0 1200 141d6da60 abstac
A  LOAD SEGMENT stack area
A  ab_resize 0 16384 141d6df40 abgetw
B  db_rtab ( fcode = 'READ_ONLY', tname = 'TCP0C                         ' )
B  NTAB: tabname: TCP0C                         , fcode: 1
B  NTAB: tabname: TCP0C                         , fcode: 7
A  ab_resize 0 281 141d71f70 abloca
B  NTAB: tabname: SYST                          , fcode: 6
D   SET-TITLE TEXT: SAP R/3
A  +                      SAPSYS       90  Task running ...   rlv=running
Y  dy_new_trans_key: set new enq keys (dia + upd)
M  ThNewEnqKey: new dia/update enqueue key
E  New Enq-Owner (dia): 20080716130641371478003400yssux01.........................
M  ThNewEnqKey: new dia/update enqueue key
E  New Enq-Owner (upd): 20080716130641371478013400yssux01.........................
Y  dy_new_trans_key: set new trans id (form=1)
D    SET-STATUS: MENUSYST                                 MEN
D   SET-TITLE TEXT: SAP R/3
A  Initialize Task.
A  +                      SAPSYS       90  cleaned up ...   rlv=clean
A  ab_resize 0 131072 141d720b0 abstor
A  ab_resize_imode(): 0 131072 131088 141d720b0
A  ab_resize 0 28463 141d920e0 abinit
A  +                      SAPSYS       90  Starting task ...   rlv=running
A  ab_resize 0 12000 141d99030 abgetw
A  ab_resize 0 8000 141d9bf40 abgetw
A  ab_resize 0 1000 141d9deb0 abgetw
A  LOAD SEGMENT
A  ab_resize 0 240 141d9e2c0 abstor
A  ab_resize 0 5280 141d9e3e0 abinit
A  LOAD SEGMENT /%_LISTTABLES
A  ab_resize 0 16384 141d9f8b0 abdseg
A  ab_resize 0 5232 141da38e0 abdseg
A  ab_resize 0 4608 141da4d80 abstac
A  ab_resize 0 4096 141da5fb0 abstac
A  ab_resize 0 2048 141da6fe0 abstac
A  ab_resize 0 1200 141da7810 abstac
A  LOAD SEGMENT stack area
A  ab_resize 0 16384 141da7cf0 abgetw
A  ab_resize 0 281 141dabd20 abloca
D   SET-TITLE TEXT: SAP R/3
A  +                      SAPSYS       90  Task running ...   rlv=running
A  LOAD PROGRAM RSPOWP00
A  ab_resize 0 11264 141dabe60 abload
A  ab_resize 0 56 141daea90 abload
A  ab_resize 0 1026 141daeaf0 abdseg
A  LOAD SEGMENT
A  ab_resize 0 56 141daef20 abgetw
A  LOAD SEGMENT
A  LOAD SEGMENT
A  LOAD SEGMENT
A  LOAD SEGMENT SYST
A  LOAD SEGMENT SY
A  LOAD SEGMENT RSJOBINFO
A  LOAD SEGMENT /%_SYS%%
A  LOAD SEGMENT
A  LOAD SEGMENT /%_SSCR
A  LOAD SEGMENT VARI
A  LOAD SEGMENT
A  ab_resize 0 272 141daef80 abgetw
A  +                      SAPSYS       90  IsGuiOn ... (flag: 0, mode: off, task_type: off, term_io_set: -1)   rlv=running
A  +                      SAPSYS       90  Program loaded.   rlv=running
Y  dyLoadAndInitDynpro
Y    Type Main
Y    Name >RSPOWP00 2000
Y  ->load dynpro RSPOWP00 2000
Y   RSPOWP00<
Y    dy_abrt
A  ab_resize 0 32968 141daff20 ablink
A  LOAD PROGRAM SAPMSSYD
A  ab_resize 0 56 141d377e0 abload
A  LOAD SEGMENT
A  ab_resize 0 64 141d37840 abgetw
A  LOAD SEGMENT
A  LOAD SEGMENT
A  LOAD SEGMENT
A  LOAD SEGMENT SYST
A  LOAD SEGMENT SY
A  LOAD SEGMENT RSJOBINFO
A  LOAD SEGMENT /%_SYS%%
A  LOAD SEGMENT
A  LOAD SEGMENT
A  +                      SAPSYS       90  Program loaded.   rlv=running
D  DiagGuiSupport (RESET) value EMERGENCY_REPAIR
A  LOAD PROGRAM SAPFSYSCALLS
A  ab_resize 0 56 141d378b0 abload
A  LOAD SEGMENT
A  ab_resize 0 56 141d37910 abgetw
A  LOAD SEGMENT
A  LOAD SEGMENT
A  LOAD SEGMENT
A  LOAD SEGMENT SYST
A  LOAD SEGMENT SY
A  LOAD SEGMENT RSJOBINFO
A  LOAD SEGMENT /%_SYS%%
A  LOAD SEGMENT
A  LOAD SEGMENT
A  +                      SAPSYS       90  Program loaded.   rlv=running
D  DiagGuiSupport (RESET) value ITS
Y    lock 43 (cnt=1)
S  <== unlock 43 (cnt=2)
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  sending spool admin message (type=SRV op=I)
M  ThISendMsg: send message (11) to all server (wp) matching types 1
M  ThISend: (tm/type = 34/0x1000, mode_deleted=0)
M  ThRqOutCheck: o.k.
M  abap strategy ROLL / O.K.
M  ThNewWpStat: new state of T34/M0 = 0x42
M  ThISend: new wp stat: 0x0
M  Adresse   Offset  Message by type
M  -
M  a01f4c0  000000  00000000 0b000000 41442d45 59454341 |........AD-EYECA|
M  a01f4d0  000016  54434800 01012020 20202020 20203130 |TCH...        10|
M  a01f4e0  000032  34202020 20202020 20202031 2c000000 |4          1,...|
M  a01f4f0  000048  53525620 20497973 73757830 315f5953 |SRV  Iyssux01_YS|
M  a01f500  000064  535f3030 20202020 20200000 00000000 |S_00      ......|
M  a01f510  000080  00000000 00020000 00000000 00000000 |................|
M  a01f520  000096  00000000 00000000 00000000 00000000 |................|
M  a01f530  000112  00000000 00000000 00000000 00202020 |.............   |
M  a01f540  000128  20202020 20202020 20202020 20202020 |                |
M  a01f550  000144  20202020                            |                |
M  -
M  make DISP owner of wp_ca_blk 4
M  put request into queue (reqtype 0, prio LOW, rq_id 850)
M  -OUT- sender_id    WORK_PROCESS   tid  34    wp_ca_blk   4       wp_id 34
M  -OUT- action    SEND_MSG_TYPE     uid  35    appc_ca_blk -1      type  NOWP
M  -OUT- new_stat  NO_CHANGE         mode 0     len         148     rq_id 850
M  -OUT- forward   DIA
M  -OUT- req_info  MSG_WITH_REQ_BUF MSG_WITH_OH
M  wake_evt_udp_now 1, no dgram needed
M  LOCK WP ca_blk 6
S  spool admin message received (type SRV op I (raw))
T  alloc memory 14252f758 (96)
T  module rsposerv matches rspo* -> project Sp
T  alloc memory 14252f7b8 (56)
T  alloc memory 14252f7f0 (80)
T  alloc memory 14252f840 (56)
T  alloc memory 14252f878 (80)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
T  alloc memory 14252f8c8 (56)
T  alloc memory 14252f900 (80)
T  alloc memory 14252f950 (56)
T  alloc memory 14252f988 (80)
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
T  alloc memory 14252f9d8 (56)
T  alloc memory 14252fa10 (80)
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  setting spool action querying
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S  ==> lock 43 (cnt=1)
S  <== unlock 43 (cnt=2)
T  alloc memory 14252fa60 (56)
T  alloc memory 14252fa98 (80)
S    found next entry 0 'IZMB' (status temp,ndqy,asyn,used,exst,resp,vald)
T  alloc memory 14252fae8 (56)
T  alloc memory 14252fb20 (80)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
T  alloc memory 14252fb70 (56)
T  alloc memory 14252fba8 (80)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S    found next entry 1 'IZ27' (status actw,asyn,exst)
S    found next entry 2 'PR72' (status actw,asyn,exst)
S    found next entry 3 'PR35' (status asyn,used,exst,vald)
S    found next entry 4 'LP01' (status actw,ndqy,exst,resp)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
T  alloc memory 14252fbf8 (96)
T  module rspohjob matches rspo* -> project Sp
T  alloc memory 14252fc58 (56)
T  alloc memory 14252fc90 (80)
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  Query Printer LP01 not required
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S    found next entry 5 'TP62' (status actw,asyn,exst)
S    found next entry 6 'PR69' (status asyn,used,exst,vald)
S    found next entry 7 'IZ38' (status actw,asyn,exst)
S    found next entry 8 'STL4' (status actw,asyn,exst)
S    found next entry 9 'IZ45' (status asyn,used,exst,vald)
S    found next entry 10 'MER1' (status actw,asyn,exst)
S    found next entry 11 'TP80' (status asyn,used,exst,vald)
S    found next entry 12 'IZ24' (status asyn,used,exst,vald)
S    found next entry 13 'IZ39' (status actw,asyn,used,exst,vald)
S    found next entry 14 'PR62' (status actw,asyn,used,exst,vald)
S    found next entry 15 'TP14' (status actw,asyn,used,exst,vald)
S    found next entry 16 'PR34' (status actw,asyn,used,exst)
S    found next entry 17 'TP38' (status actw,asyn,used,exst,vald)
S    found next entry 18 'IZMC' (status actw,asyn,used,exst,vald)
S    found next entry 19 'PR23' (status actw,noqy,ndqy,asyn,exst,resp)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  Query Printer PR23 not required
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S    found next entry 20 'ANT0' (status actw,noqy,ndqy,asyn,used,exst,resp,vald)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=1)
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=2)
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
T  alloc memory 14252fce0 (56)
T  alloc memory 14252fd18 (80)
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  Doing: querying ANT0
S  setting spool action querying ANT0
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  ==> lock 31 (cnt=1)
S  <== unlock 31 (cnt=2)
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  ==> lock 31 (cnt=0)
S  SemRq(31) done
S  <== unlock 31 (cnt=1)
S  SemRel(31) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
S  Query Printer ANT0:
T  alloc memory 14252fd68 (96)
T  module rspooms matches rspo* -> project Sp
T  alloc memory 14252fdc8 (56)
T  alloc memory 14252fe00 (80)
T  alloc memory 14252fe50 (56)
T  alloc memory 14252fe88 (80)
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
T  alloc memory 14252fed8 (56)
T  alloc memory 14252ff10 (80)
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
B  db_rtab ( fcode = 'READ_FUPD', tname = 'TSP02                         ' )
B  NTAB: tabname: TSP02                         , fcode: 1
B  NTAB: tabname: TSP02                         , fcode: 1
B  NTAB: tabname: TSP02                         , fcode: 10
B  NTAB: tabname: TSP02                         , fcode: 6
C  -->oci_alloc_stmt (con_hdl=0)
C  <--oci_alloc_stmt (stmth_p=14225faf0)
C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT "PJIDENT" , "PJNUMMER" , "PJDEST" , "PJPAPE ..., stmt_ln=549, stmth_p=14225faf0)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265f70, iters=1, rowoff=0, query=0)
C  -->oci_bind (stmth_p=14225faf0, cnt=2)
C  -->oci_define (stmth_p=14225faf0, cnt=35)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225faf0, iters=1, rowoff=0, query=1)
B  db_rtab ( fcode = 'READ_ONLY', tname = 'TSP02L                        ' )
B  NTAB: tabname: TSP02L                        , fcode: 1
B  NTAB: tabname: TSP02L                        , fcode: 1
B  NTAB: tabname: TSP02L                        , fcode: 10
B  NTAB: tabname: TSP02L                        , fcode: 6
C  -->oci_alloc_stmt (con_hdl=0)
C  <--oci_alloc_stmt (stmth_p=14225fc70)
C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT "PJIDENT" , "PJNUMMER" , "LINES" , "COLUMNS ..., stmt_ln=306, stmth_p=14225fc70)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265f70, iters=1, rowoff=0, query=0)
C  -->oci_bind (stmth_p=14225fc70, cnt=2)
C  -->oci_define (stmth_p=14225fc70, cnt=19)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225fc70, iters=1, rowoff=0, query=1)
S  print job 30829/1 has no list attributes
B  db_rtab ( fcode = 'UPDATE', tname = 'TSP02                         ' )
B  NTAB: tabname: TSP02                         , fcode: 1
C  -->oci_alloc_stmt (con_hdl=0)
C  <--oci_alloc_stmt (stmth_p=142265bb0)
C  -->oci_prepare_stmt (con_hdl=0, stmt=UPDATE "TSP02" SET "PJDEST" = :A0 , "PJPAPER" = :A ..., stmt_ln=734, stmth_p=142265bb0)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265f70, iters=1, rowoff=0, query=0)
C  -->oci_bind (stmth_p=142265bb0, cnt=35)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=142265bb0, iters=1, rowoff=0, query=0)
M  ThICommit3: commit and keep resources
M  ThCheckComOrRb (event=1, full_commit=1)
M  ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
M  ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
S  no temse root so far
B  db_con_commit (con_da={R/3,0,0},th_commit=1,forced=1,tx=1,hold_cursor=1)
B  db_con_commit (com_total=5, com_forced=1, com_tx=1)
C  -->oci_commit (con_hdl=0)
B  Connection 0 committed
M  ThCheckComOrRb (event=3, full_commit=1)
M  ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
M  ThNoClearPrevErr: clear prev no err
M  ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
S  no temse root so far
M  ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
M  ThICommit3 o.k.
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
B  db_rtab ( fcode = 'READ_FUPD', tname = 'TSP02                         ' )
B  NTAB: tabname: TSP02                         , fcode: 1
B  NTAB: tabname: TSP02                         , fcode: 6
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225faf0, iters=1, rowoff=0, query=1)
S  ==> lock 43 (cnt=0)
S  SemRq(43) done
S  <== unlock 43 (cnt=1)
S  SemRel(43) done
B  db_rtab ( fcode = 'READ_FUPD', tname = 'TSP02                         ' )
B  NTAB: tabname: TSP02                         , fcode: 6
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225faf0, iters=1, rowoff=0, query=1)
B  db_rtab ( fcode = 'READ_ONLY', tname = 'TSP02L                        ' )
B  NTAB: tabname: TSP02L                        , fcode: 1
B  NTAB: tabname: TSP02L                        , fcode: 6
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225fc70, iters=1, rowoff=0, query=1)
S  print job 435/1 has no list attributes
M  signal was in UNBLOCKED mode
M  -
C-STACK -
   0: 0x1205d8028
      OSF_stacktrace
      dptstack.c :   879
      dw.sapYSS_DVEBMGS00  .text
   1: 0x1205d7f44
      CTrcStack2
      dptstack.c :   265
      dw.sapYSS_DVEBMGS00  .text
   2: 0x12139cbbc
      SigIGenAction
      sigux.c :   738
      dw.sapYSS_DVEBMGS00  .text
   3: 0x3ff800d5d00
      __tis_init
      /usr/shlib/libc.so  .text
   5: 0x1210897e0
      strfcpy
      sapstr.c :   236
      dw.sapYSS_DVEBMGS00  .text
   6: 0x120e9fec4
      SetJobInfo
      rspohjob.c :   316
      dw.sapYSS_DVEBMGS00  .text
   7: 0x120ea0f24
      FindDoneJobs
      rspohjob.c :   559
      dw.sapYSS_DVEBMGS00  .text
   8: 0x120ea3d90
      SpHostSpoolFindDoneJobs
      rspohjob.c :  1291
      dw.sapYSS_DVEBMGS00  .text
   9: 0x120f75e64
      LPD_query_hostspool
      rspoyunx.c :  3581
      dw.sapYSS_DVEBMGS00  .text
  10: 0x120f74a40
      rspoqh__query_hostspool
      rspoyunx.c :  3144
      dw.sapYSS_DVEBMGS00  .text
  11: 0x120f21cb4
      SpDevQueryHostspool
      rspopcc.c :  2838
      dw.sapYSS_DVEBMGS00  .text
  12: 0x120f9bc0c
      rspoget2_on_unix
      rspowunx.c :   978
      dw.sapYSS_DVEBMGS00  .text
  13: 0x120f932f8
      rspopsd_process_start_dynpro
      rspodynp.c :    64
      dw.sapYSS_DVEBMGS00  .text
  14: 0x12067af74
      N_rspopsd_process_start_dynpro
      dymainstp.c :  4023
      dw.sapYSS_DVEBMGS00  .text
  15: 0x120675e44
      dynpmcal
      dymainstp.c :  2084
      dw.sapYSS_DVEBMGS00  .text
  16: 0x1206723a8
      dynppbo0
      dymainstp.c :   464
      dw.sapYSS_DVEBMGS00  .text
  17: 0x120671b2c
      dynprctl
      dymainstp.c :   301
      dw.sapYSS_DVEBMGS00  .text
  18: 0x12066e7cc
      dynpen00
      dymain.c :  1204
      dw.sapYSS_DVEBMGS00  .text
  19: 0x1204c6b6c
      Thdynpen00
      thxxhead.c :  3863
      dw.sapYSS_DVEBMGS00  .text
  20: 0x1204c604c
      TskhLoop
      thxxhead.c :  3686
      dw.sapYSS_DVEBMGS00  .text
  21: 0x1204bdab0
      tskhstart
      thxxhead.c :   951
      dw.sapYSS_DVEBMGS00  .text
  22: 0x120453140
      DpMain
      dpxxdisp.c :   850
      dw.sapYSS_DVEBMGS00  .text
  23: 0x120451984
      main
      thxxanf.c :    50
      dw.sapYSS_DVEBMGS00  .text
M  -
M Wed Jul 16 13:06:44 2008
M  ***LOG Q0E=> SigIGenAction, signal ( 11)
M  SigIGenAction: call exithandler ThSigHandler(FALSE)
M  ThSigHandler: call ThErrHandle
M  in_ThErrHandle: 1
M  ThSigHandler: signal (step 4, th_errno 11, action 4)
M
M  Info for wp 34
M
M    stat = 4
M    reqtype = 5
M    act_reqtype = 5
M    tid = 34
M    mode = 0
M    len = 690
M    rq_id = 839
M    rq_source = 1
M    rq_info = 270336
M    last_tid = 34
M    last_mode = 0
M    int_checked_resource = 0
M    ext_checked_resource = 0
M    report = >querying ANT0                           <
M    action = 0
M    tab_name = >                              <
M
M  Modeinfo for User T34/M0
M
M    tm state = 2
M    uid = 35
M    term type = 0x0
M    display = 0x0
M    cpic_no = 0
M    cpic_idx = -1
M    usr = >SAPSYS      <
M    terminal = >                    <
M    client = >000<
M    conversation_ID = >        <
M    appc_tm_conv_idx = -1
M    imode = 0
M    mode state = 0x42
M    th_errno = 11
M    rollout_reason = 0
M    last_rollout_level = 0
M    async_receives = 0
M    cpic_receive = 0
M    em handle = 116
M    roll state = 2
M    abap state = 2
M    em state = 3
M    eg state = 1
M    spa state = 3
M    enq state = 0
M    next hook = T-1/U-1/M255
M    master hook = T-1/U-1/M255
M    slave hook = T-1/U-1/M255
M    debug_tid = -1
M    mode type = 0x1
M    debug = 0
M    tcode = >                    <
M    client conversation_ID = >        <
M    server conversation_ID = >        <
M    lock = 0
M    max enq infos = 0
M    act enq infos = 0
M    em_hyper_hdl = NULL
M
M
M  *****************************************************************************
M  *
M  *  LOCATION    SAP-Server yssux01_YSS_00 on host yssux01 (wp 34)
M  *  ERROR       ThSigHandler: signal
M  *
M  *  TIME        Wed Jul 16 13:06:44 2008
M  *  RELEASE     46D
M  *  COMPONENT   Taskhandler
M  *  VERSION     1
M  *  RC          11
M  *  MODULE      thxxhead.c
M  *  LINE        8435
M  *  COUNTER     12
M  *
M  *****************************************************************************
M
M  PfStatDisconnect: disconnect statistics
M  Entering TH_CALL_HOOKS
M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M  Entering ThSetStatError
M  ThErrHandle: incomplete previous roll out, do a full roll out
M  ThRollOut: roll out T34/U35/M0/I0 (level=7, short_roll_out=0)
M  ThRollOut: call rrol_out
R  enter roll_out:  rollkey: 35 0 0
R  roll out area[0]
R  rrol_area_end[0] = 141cf755f
R  HEADER: id USRINF class 4 len 528 n_len 528
R  <ROLL-UA> get first(1): user:35  not found
R  SemRq
R  <ROLL-FL> get block (1): 3029
R  roll out: next free block 3029
R  <ROLL-UA> set first(1): user:35  level:0  bnr:63/127  block:3029
R  out: next[0] = 3029 first 1 rnum 48
R  HEADER: id -CCCI- class 4 len 176 n_len 176
R  HEADER: id -CCCO- class 4 len 176 n_len 176
R  HEADER: id M2CCCI class 4 len 176 n_len 176
R  HEADER: id M2CCCO class 4 len 176 n_len 176
R  HEADER: id TS1CCC class 4 len 176 n_len 176
R  HEADER: id TS2CCC class 4 len 176 n_len 176
R  HEADER: id USRDAT class 4 len 208 n_len 208
R  HEADER: id PRADPT class 20 len 16048 n_len 20
R  HEADER: id abdebu class 4 len 1504 n_len 1504
R  HEADER: id USRAUT class 4 len 48048 n_len 48048
R  <ROLL-FL> get block (1): 3332
R  roll out: next free block 3332
R  out: next[3029] = 3332 first 0 rnum 48
R  <ROLL-FL> get block (1): 3037
R  roll out: next free block 3037
R  out: next[3332] = 3037 first 0 rnum 48
R  <ROLL-FL> get block (1): 3038
R  roll out: next free block 3038
R  out: next[3037] = 3038 first 0 rnum 48
R  <ROLL-FL> get block (1): 3039
R  roll out: next free block 3039
R  out: next[3038] = 3039 first 0 rnum 48
R  <ROLL-FL> get block (1): 3040
R  roll out: next free block 3040
R  out: next[3039] = 3040 first 0 rnum 48
R  <ROLL-FL> get block (1): 3041
R  roll out: next free block 3041
R  out: next[3040] = 3041 first 0 rnum 48
R  roll out area[1]
R  rrol_area_end[1] = 141d3386f
R  HEADER: id SPAAPT class 4 len 9952 n_len 9952
R  <ROLL-UA> get index (1): user:35  bnr:63
R  <ROLL-UA> get first(3): user:35 mode:0 not set
R  <ROLL-FL> get block (1): 3042
R  roll out: next free block 3042
R  <ROLL-UA> get index (1): user:35  bnr:63
R  out: next[0] = 3042 first 1 rnum 49
R  <ROLL-FL> get block (1): 3217
R  roll out: next free block 3217
R  out: next[3042] = 3217 first 0 rnum 49
R  HEADER: id DTADPT class 20 len 2048 n_len 20
R  HEADER: id PRADPL class 20 len 16048 n_len 20
R  HEADER: id BICIOB class 4 len 5168 n_len 5168
R  HEADER: id BIPIOB class 4 len 5168 n_len 5168
R  <ROLL-FL> get block (1): 1228
R  roll out: next free block 1228
R  out: next[3217] = 1228 first 0 rnum 49
R  HEADER: id BICQCB class 4 len 400 n_len 400
R  HEADER: id BIPQCB class 4 len 400 n_len 400
R  HEADER: id BILOGK class 4 len 96 n_len 96
R  HEADER: id BIPRIN class 4 len 576 n_len 576
R  HEADER: id DEXT   class 4 len 480 n_len 480
R  HEADER: id BTCKEY class 4 len 304 n_len 304
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  <ROLL-FL> get block (1): 803
R  roll out: next free block 803
R  out: next[1228] = 803 first 0 rnum 49
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  <ROLL-FL> get block (1): 876
R  roll out: next free block 876
R  out: next[803] = 876 first 0 rnum 49
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  <ROLL-FL> get block (1): 3015
R  roll out: next free block 3015
R  out: next[876] = 3015 first 0 rnum 49
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id RSTSOO class 4 len 1616 n_len 1616
R  HEADER: id CUABPT class 20 len 180048 n_len 10148
R  <ROLL-FL> get block (1): 3898
R  roll out: next free block 3898
R  out: next[3015] = 3898 first 0 rnum 49
R  <ROLL-FL> get block (1): 3889
R  roll out: next free block 3889
R  out: next[3898] = 3889 first 0 rnum 49
R  roll out area[2]
R  rrol_area_end[2] = 141db7fff
R  HEADER: id FADM__ class 4 len 16080 n_len 16080
R  <ROLL-UA> get index (1): user:35  bnr:63
R  <ROLL-UA> get first(4): user:35 mode:0 imode:0 not set
R  <ROLL-FL> get block (1): 3643
R  roll out: next free block 3643
R  <ROLL-UA> get index (1): user:35  bnr:63
R  out: next[0] = 3643 first 1 rnum 50
R  <ROLL-FL> get block (1): 3644
R  roll out: next free block 3644
R  out: next[3643] = 3644 first 0 rnum 50
R  HEADER: id Id: // class 4 len 48 n_len 48
R  HEADER: id dyrdyp class 4 len 96 n_len 96
R  HEADER: id abload class 4 len 96 n_len 96
R  HEADER: id abgetw class 4 len 112 n_len 112
R  <ROLL-FL> get block (1): 4344
R  roll out: next free block 4344
R  out: next[3644] = 4344 first 0 rnum 50
R  HEADER: id abload class 4 len 96 n_len 96
R  HEADER: id abgetw class 4 len 96 n_len 96
R  HEADER: id ÿÿÿÿÿÿ class 1 len 2448 n_len 20
R  HEADER: id abstor class 4 len 131120 n_len 131120
R  <ROLL-FL> get block (1): 4343
R  roll out: next free block 4343
R  out: next[4344] = 4343 first 0 rnum 50
R  <ROLL-FL> get block (1): 4342
R  roll out: next free block 4342
R  out: next[4343] = 4342 first 0 rnum 50
R  <ROLL-FL> get block (1): 4341
R  roll out: next free block 4341
R  out: next[4342] = 4341 first 0 rnum 50
R  <ROLL-FL> get block (1): 4340
R  roll out: next free block 4340
R  out: next[4341] = 4340 first 0 rnum 50
R  <ROLL-FL> get block (1): 4339
R  roll out: next free block 4339
R  out: next[4340] = 4339 first 0 rnum 50
R  <ROLL-FL> get block (1): 4356
R  roll out: next free block 4356
R  out: next[4339] = 4356 first 0 rnum 50
R  <ROLL-FL> get block (1): 678
R  roll out: next free block 678
R  out: next[4356] = 678 first 0 rnum 50
R  <ROLL-FL> get block (1): 2396
R  roll out: next free block 2396
R  out: next[678] = 2396 first 0 rnum 50
R  <ROLL-FL> get block (1): 2156
R  roll out: next free block 2156
R  out: next[2396] = 2156 first 0 rnum 50
R  <ROLL-FL> get block (1): 2100
R  roll out: next free block 2100
R  out: next[2156] = 2100 first 0 rnum 50
R  <ROLL-FL> get block (1): 2891
R  roll out: next free block 2891
R  out: next[2100] = 2891 first 0 rnum 50
R  <ROLL-FL> get block (1): 783
R  roll out: next free block 783
R  out: next[2891] = 783 first 0 rnum 50
R  <ROLL-FL> get block (1): 670
R  roll out: next free block 670
R  out: next[783] = 670 first 0 rnum 50
R  <ROLL-FL> get block (1): 687
R  roll out: next free block 687
R  out: next[670] = 687 first 0 rnum 50
R  <ROLL-FL> get block (1): 3212
R  roll out: next free block 3212
R  out: next[687] = 3212 first 0 rnum 50
R  <ROLL-FL> get block (1): 1796
R  roll out: next free block 1796
R  out: next[3212] = 1796 first 0 rnum 50
R  HEADER: id abinit class 4 len 28496 n_len 28496
R  <ROLL-FL> get block (1): 1555
R  roll out: next free block 1555
R  out: next[1796] = 1555 first 0 rnum 50
R  <ROLL-FL> get block (1): 1145
R  roll out: next free block 1145
R  out: next[1555] = 1145 first 0 rnum 50
R  <ROLL-FL> get block (1): 52
R  roll out: next free block 52
R  out: next[1145] = 52 first 0 rnum 50
R  HEADER: id abgetw class 4 len 12048 n_len 12048
R  <ROLL-FL> get block (1): 4001
R  roll out: next free block 4001
R  out: next[52] = 4001 first 0 rnum 50
R  HEADER: id abgetw class 4 len 8048 n_len 8048
R  <ROLL-FL> get block (1): 691
R  roll out: next free block 691
R  out: next[4001] = 691 first 0 rnum 50
R  HEADER: id abgetw class 4 len 1040 n_len 1040
R  <ROLL-FL> get block (1): 3970
R  roll out: next free block 3970
R  out: next[691] = 3970 first 0 rnum 50
R  HEADER: id abstor class 4 len 288 n_len 288
R  HEADER: id abinit class 4 len 5328 n_len 5328
R  HEADER: id abdseg class 4 len 16432 n_len 16432
R  <ROLL-FL> get block (1): 1958
R  roll out: next free block 1958
R  out: next[3970] = 1958 first 0 rnum 50
R  <ROLL-FL> get block (1): 67
R  roll out: next free block 67
R  out: next[1958] = 67 first 0 rnum 50
R  HEADER: id abdseg class 4 len 5280 n_len 5280
R  <ROLL-FL> get block (1): 2818
R  roll out: next free block 2818
R  out: next[67] = 2818 first 0 rnum 50
R  HEADER: id abstac class 4 len 4656 n_len 4656
R  <ROLL-FL> get block (1): 3179
R  roll out: next free block 3179
R  out: next[2818] = 3179 first 0 rnum 50
R  HEADER: id abstac class 4 len 4144 n_len 4144
R  HEADER: id abstac class 4 len 2096 n_len 2096
R  HEADER: id abstac class 4 len 1248 n_len 1248
R  HEADER: id abgetw class 4 len 16432 n_len 16432
R  <ROLL-FL> get block (1): 3166
R  roll out: next free block 3166
R  out: next[3179] = 3166 first 0 rnum 50
R  <ROLL-FL> get block (1): 450
R  roll out: next free block 450
R  out: next[3166] = 450 first 0 rnum 50
R  HEADER: id abloca class 4 len 320 n_len 320
R  HEADER: id abstor class 4 len 131120 n_len 131120
R  <ROLL-FL> get block (1): 896
R  roll out: next free block 896
R  out: next[450] = 896 first 0 rnum 50
R  <ROLL-FL> get block (1): 3856
R  roll out: next free block 3856
R  out: next[896] = 3856 first 0 rnum 50
R  <ROLL-FL> get block (1): 310
R  roll out: next free block 310
R  out: next[3856] = 310 first 0 rnum 50
R  <ROLL-FL> get block (1): 3684
R  roll out: next free block 3684
R  out: next[310] = 3684 first 0 rnum 50
R  <ROLL-FL> get block (1): 3803
R  roll out: next free block 3803
R  out: next[3684] = 3803 first 0 rnum 50
R  <ROLL-FL> get block (1): 3804
R  roll out: next free block 3804
R  out: next[3803] = 3804 first 0 rnum 50
R  <ROLL-FL> get block (1): 3782
R  roll out: next free block 3782
R  out: next[3804] = 3782 first 0 rnum 50
R  <ROLL-FL> get block (1): 616
R  roll out: next free block 616
R  out: next[3782] = 616 first 0 rnum 50
R  <ROLL-FL> get block (1): 1850
R  roll out: next free block 1850
R  out: next[616] = 1850 first 0 rnum 50
R  <ROLL-FL> get block (1): 3851
R  roll out: next free block 3851
R  out: next[1850] = 3851 first 0 rnum 50
R  <ROLL-FL> get block (1): 3852
R  roll out: next free block 3852
R  out: next[3851] = 3852 first 0 rnum 50
R  <ROLL-FL> get block (1): 474
R  roll out: next free block 474
R  out: next[3852] = 474 first 0 rnum 50
R  <ROLL-FL> get block (1): 3801
R  roll out: next free block 3801
R  out: next[474] = 3801 first 0 rnum 50
R  <ROLL-FL> get block (1): 3112
R  roll out: next free block 3112
R  out: next[3801] = 3112 first 0 rnum 50
R  <ROLL-FL> get block (1): 4109
R  roll out: next free block 4109
R  out: next[3112] = 4109 first 0 rnum 50
R  <ROLL-FL> get block (1): 2695
R  roll out: next free block 2695
R  out: next[4109] = 2695 first 0 rnum 50
R  HEADER: id abinit class 4 len 28496 n_len 28496
R  <ROLL-FL> get block (1): 1002
R  roll out: next free block 1002
R  out: next[2695] = 1002 first 0 rnum 50
R  <ROLL-FL> get block (1): 1355
R  roll out: next free block 1355
R  out: next[1002] = 1355 first 0 rnum 50
R  <ROLL-FL> get block (1): 459
R  roll out: next free block 459
R  out: next[1355] = 459 first 0 rnum 50
R  <ROLL-FL> get block (1): 585
R  roll out: next free block 585
R  out: next[459] = 585 first 0 rnum 50
R  HEADER: id abgetw class 4 len 12048 n_len 12048
R  <ROLL-FL> get block (1): 342
R  roll out: next free block 342
R  out: next[585] = 342 first 0 rnum 50
R  HEADER: id abgetw class 4 len 8048 n_len 8048
R  <ROLL-FL> get block (1): 1984
R  roll out: next free block 1984
R  out: next[342] = 1984 first 0 rnum 50
R  HEADER: id abgetw class 4 len 1040 n_len 1040
R  <ROLL-FL> get block (1): 3259
R  roll out: next free block 3259
R  out: next[1984] = 3259 first 0 rnum 50
R  HEADER: id abstor class 4 len 288 n_len 288
R  HEADER: id abinit class 4 len 5328 n_len 5328
R  HEADER: id abdseg class 4 len 16432 n_len 16432
R  <ROLL-FL> get block (1): 2285
R  roll out: next free block 2285
R  out: next[3259] = 2285 first 0 rnum 50
R  <ROLL-FL> get block (1): 239
R  roll out: next free block 239
R  out: next[2285] = 239 first 0 rnum 50
R  HEADER: id abdseg class 4 len 5280 n_len 5280
R  <ROLL-FL> get block (1): 3733
R  roll out: next free block 3733
R  out: next[239] = 3733 first 0 rnum 50
R  HEADER: id abstac class 4 len 4656 n_len 4656
R  HEADER: id abstac class 4 len 4144 n_len 4144
R  <ROLL-FL> get block (1): 2382
R  roll out: next free block 2382
R  out: next[3733] = 2382 first 0 rnum 50
R  HEADER: id abstac class 4 len 2096 n_len 2096
R  HEADER: id abstac class 4 len 1248 n_len 1248
R  HEADER: id abgetw class 4 len 16432 n_len 16432
R  <ROLL-FL> get block (1): 2911
R  roll out: next free block 2911
R  out: next[2382] = 2911 first 0 rnum 50
R  <ROLL-FL> get block (1): 2935
R  roll out: next free block 2935
R  out: next[2911] = 2935 first 0 rnum 50
R  HEADER: id abloca class 4 len 320 n_len 320
R  HEADER: id abload class 4 len 11312 n_len 11312
R  <ROLL-FL> get block (1): 2675
R  roll out: next free block 2675
R  out: next[2935] = 2675 first 0 rnum 50
R  <ROLL-FL> get block (1): 851
R  roll out: next free block 851
R  out: next[2675] = 851 first 0 rnum 50
R  HEADER: id abload class 4 len 96 n_len 96
R  HEADER: id abdseg class 4 len 1072 n_len 1072
R  HEADER: id abgetw class 4 len 96 n_len 96
R  HEADER: id abgetw class 4 len 320 n_len 320
R  HEADER: id dyrdyp class 4 len 3680 n_len 3680
R  HEADER: id ablink class 4 len 33008 n_len 33008
R  <ROLL-FL> get block (1): 4143
R  roll out: next free block 4143
R  out: next[851] = 4143 first 0 rnum 50
R  <ROLL-FL> get block (1): 4142
R  roll out: next free block 4142
R  out: next[4143] = 4142 first 0 rnum 50
R  <ROLL-FL> get block (1): 1682
R  roll out: next free block 1682
R  out: next[4142] = 1682 first 0 rnum 50
R  <ROLL-FL> get block (1): 936
R  roll out: next free block 936
R  out: next[1682] = 936 first 0 rnum 50
R  compres factor 75
R  SemRel
R  leave rrol_out: ok
M  M  ThRollOut: act roll state = DP_ROLLED_OUT
M  ThRollOut: roll level <> 0, don't call ab_rollout
P  enter pg_com
P  pg_com: 0 blks in buf, 0 in file, 0 new since last commit
P  leave pg_com: ok
M  ThRollOut: full roll out of U35 M0 I0 (Level 7) ok
C  -->oci_break (con_hdl=-1, cb=0)
M  *** WARNING => sql break failed (-1)
M  ThErrHandle: don't try rollback again
M  ThErrHandle: call ThrCoreInfo
A  + not rolled in
A  RFC get SPA_SESSION_ARFC: NORMAL
E  EnqRollback: No action required
M  SigIRegisterRoutine: handler for signal 11 installed (catch_dumperror)
M  SigIRegisterRoutine: handler for signal 10 installed (catch_dumperror)
B Wed Jul 16 13:06:49 2008
B  dsql_open (con_da=(0,R/3),stmt="SELECT TLINE, SEQNO FROM SNAPT ...",#binds=3,name=SNAPT                         ,#input=3)
C  -->oci_alloc_stmt (con_hdl=0)
C  <--oci_alloc_stmt (stmth_p=14225feb0)
C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 A ..., stmt_ln=0, stmth_p=14225feb0)
C  -->oci_bind (stmth_p=14225feb0, cnt=3)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225feb0, iters=0, rowoff=0, query=1)
B  dsql_fetch (con_da=(0,R/3),cu_id=1,#output=2)
C  -->oci_define (stmth_p=14225feb0, cnt=2)
C  -->oci_fetch (con_hdl=0, stmth_p=14225feb0, nrows=650)
B  dsql_close (con_da=(0,R/3),cu_id=1)
C  -->oci_free_stmt (stmth_p=14225feb0)
B  dsql_open (con_da=(0,R/3),stmt="SELECT TLINE, SEQNO FROM SNAPT ...",#binds=3,name=SNAPT                         ,#input=3)
C  -->oci_alloc_stmt (con_hdl=0)
C  <--oci_alloc_stmt (stmth_p=14225ff70)
C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 A ..., stmt_ln=0, stmth_p=14225ff70)
C  -->oci_bind (stmth_p=14225ff70, cnt=3)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225ff70, iters=0, rowoff=0, query=1)
B  dsql_fetch (con_da=(0,R/3),cu_id=1,#output=2)
C  -->oci_define (stmth_p=14225ff70, cnt=2)
C  -->oci_fetch (con_hdl=0, stmth_p=14225ff70, nrows=650)
B  dsql_close (con_da=(0,R/3),cu_id=1)
C  -->oci_free_stmt (stmth_p=14225ff70)
B  dsql_open (con_da=(0,R/3),stmt="SELECT TLINE, SEQNO FROM SNAPT ...",#binds=3,name=SNAPT                         ,#input=3)
C  -->oci_alloc_stmt (con_hdl=0)
C  <--oci_alloc_stmt (stmth_p=14225feb0)
C  -->oci_prepare_stmt (con_hdl=0, stmt=SELECT TLINE, SEQNO FROM SNAPT WHERE LANGU = :A0 A ..., stmt_ln=0, stmth_p=14225feb0)
C  -->oci_bind (stmth_p=14225feb0, cnt=3)
C  -->oci_execute_stmt (con_hdl=0, stmth_p=14225feb0, iters=0, rowoff=0, query=1)
B  dsql_fetch (con_da=(0,R/3),cu_id=1,#output=2)
C  -->oci_define (stmth_p=14225feb0, cnt=2)
C  -->oci_fetch (con_hdl=0, stmth_p=14225feb0, nrows=650)
B  dsql_close (con_da=(0,R/3),cu_id=1)
C  -->oci_free_stmt (stmth_p=14225feb0)
M  RmCleanUpResources2: hdr/tbl/ext_tbl = 9029188/0/0
M  RmCleanUpResources2: no resources registered
M  SigIRegisterRoutine: handler for signal 11 installed (catch_dumperror)
M  SigIRegisterRoutine: handler for signal 10 installed (catch_dumperror)
M  ThIErrHandle: Entering ThErrHdlUser
M  ThErrHdlUser: set th_errno (11)
M  ThErrHdlUser: save context
M  ThEmContextDetach2: detach T34/M0 from em memory (em_hdl=116)
M  ThDBDisconnect: disconnect from data base
B  Disconnecting from ALL connections:
B  Wp  Hdl ConName              ConCnt ConState     TX  PRM RCT Date     Time
B  034 000 R/3                  000000 ACTIVE       YES YES NO  20080716 130546
C  Disconnecting from connection 0 ...
C  -->oci_free_stmt (stmth_p=142265af0)
C  -->oci_free_stmt (stmth_p=142265a30)
C  -->oci_free_stmt (stmth_p=14225fa30)
C  -->oci_free_stmt (stmth_p=14225faf0)
C  -->oci_free_stmt (stmth_p=14225fc70)
C  -->oci_free_stmt (stmth_p=142265bb0)
C  -->oci_logoff(con_hdl=0)
C  -->oci_free_stmt (stmth_p=142265f70)
C  Now I'm disconnected from ORACLE
B  Disconnected from connection 0
B  statistics db_con_commit (com_total=5, com_forced=1, com_tx=1)
B  statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
M  ThErrHandle: disconnect o.k.
M  ***LOG Q02=> wp_halt, WPStop (Workproc34 1557514)
M  SigIGenAction: return from exithandler ThSigHandler(FALSE)
M  set mode of sig 11 to BLOCKED and send to own pid
M
M  CORE DUMP ...

Similar Messages

  • How to run update query statement to update a table cell

    I have a job within that has dataflow which loads data to target after teh dataflow is done loading, i would like to call to run the following: in the workflow context do i need to add a script object , plus also the below query is it the proper way to run an update statement.
    sql('Target_DS','update tbl_job_status set endtime=sysdate() where endtime is null');
    Thank you very much for the helpful info
    kind regards.

    Arun,
    Is this the right way instead of doing enable recovery.
    Manaully taking care of recoverable workflow logic, by updating a table_job_status(starttime and end_time columns)?
    the only advantage of going this way rather than using recover as a unit is, if i use recover as a unit.
    then if any problem occurs in any dataflow, then all the dataflow one more time gets executed.
    instead i want only the data flow with the error occur has to run. for delta's.
    Kind regards.
    Edited by: cplusplus1 on Feb 13, 2012 4:21 PM

  • Can you run a Query in a Process Chain?

    As part of a data validation process chain, I need to run a query and send the results by email.  I've created the query (with the exception) and set it up in information broadcaster to be sent by email.  I thought that I would be able to just drop in the "Exception Reporting" process into the process chain and be able to select the query to run.  Needless to say, it don't work that way.
    If anyone has ran a query in a process chain, please let me know how you did it?
    Also if someone knows how the "Exception Reporting" process in RSPC works, please share?
    Thanks

    Patel, we may be able to rethink our approach and use the event data change that was mentioned in the document you sent.
    I was hoping to be able to do everything from within a process chain.  Does anyone know how to use the "Exception Reporting" process that is available in RSPC?  Is it a leftover from the 3.X days that can't really be used in 7.0?

  • Query on a table runs more than 45mins(after stats) and same query runs 19secs(before stats - rebuild)

    Query on a table runs more than 45mins(after stats) and same query runs 19secs(before stats - rebuild) - Not sure what the cause is.
    - Analysed the explain the plan
    - different explain plan used afterr stats gather.
    Any idea what could be the cause with this kind of difference.
    Thank you!

    What is the difference you see in the explain plan ? Where it spends most time. All these needs to be analysed.

  • Bug in sqlserver 2014 long processing time in query optimizer for complex query. With compatibility set to 2012, everything is quick.

    Believe the bug to be related to the new cardinality estimator. In my case joining 7 tables it took 4 seconds to see the query execution plan, with 8 tables it took 1 minute and with 9 tables 15
    minutes! the actual processing of the query plan was sub second. (each table has only two records...)
    It looks as if there is a workload in the cardinality estimator that escalates as the number of tables and join columns increases.
    We have a number of these queries in our application and the bug is a showstopper for our customers. They will have to set compatibility level to 110 (sqlserver 2012) to run the app. Then they should
    probably not upgrade from 2012...
    Is this a known bug? What is the bug number? How can I follow the bug to see when it is fixed?
      Here is my testcase: (first building tables and data, and then the query with some comments. A version spending 15 minutes in the optimizer, takes 0 seconds to complete with the hint "option (QUERYTRACEON 9481) ".  we can't use this
    hint in the application because no dba will allow an application like ours to run as sysadmin...
    SCRIPT:
    -- Example has one table containing 25 rows. another containing 2 rows. 
    -- The one with two rows is joined in several times. 
    -- In the original query each of these joins were to separate tables. 
    -- I use this simplification because it makes it easier to build the testcase.
    ------------  CREATE TEST CASE   ----------
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[oleclient](
    [acc_f_agio] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_f_dag] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_notes_ap] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_notes_ar] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_per_cost] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_per_inc] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_reverse] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_undec_ap] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_undec_ar] [varchar](25) NOT NULL DEFAULT (' '),
    [acc_vat_pay] [varchar](25) NOT NULL DEFAULT (' '),
    [attr_id_balance] [varchar](4) NOT NULL DEFAULT (' '),
    [bal_acc_v2] [varchar](25) NOT NULL DEFAULT (' '),
    [bal_acc_v3] [varchar](25) NOT NULL DEFAULT (' '),
    [balance_acc] [varchar](25) NOT NULL DEFAULT (' '),
    [bank_fee_acc] [varchar](25) NOT NULL DEFAULT (' '),
    [bflag] [int] NOT NULL DEFAULT ((0)),
    [client] [varchar](25) NOT NULL DEFAULT (' '),
    [client_name] [varchar](255) NOT NULL DEFAULT (' '),
    [comp_reg_no] [varchar](25) NOT NULL DEFAULT (' '),
    [compress_flag] [tinyint] NOT NULL DEFAULT ((0)),
    [country] [varchar](255) NOT NULL DEFAULT (' '),
    [country_code] [varchar](25) NOT NULL DEFAULT (' '),
    [cur_client] [varchar](25) NOT NULL DEFAULT (' '),
    [cur_item] [tinyint] NOT NULL DEFAULT ((0)),
    [cur_type] [varchar](25) NOT NULL DEFAULT (' '),
    [cur_type_tri] [varchar](25) NOT NULL DEFAULT (' '),
    [curr_period] [int] NOT NULL DEFAULT ((0)),
    [currency] [varchar](25) NOT NULL DEFAULT (' '),
    [currency_tri] [varchar](25) NOT NULL DEFAULT (' '),
    [currency_v2] [varchar](25) NOT NULL DEFAULT (' '),
    [currency_v3] [varchar](25) NOT NULL DEFAULT (' '),
    [diff_acc_v2] [varchar](25) NOT NULL DEFAULT (' '),
    [diff_acc_v3] [varchar](25) NOT NULL DEFAULT (' '),
    [diff_account] [varchar](25) NOT NULL DEFAULT (' '),
    [diff_chk_v2] [tinyint] NOT NULL DEFAULT ((0)),
    [diff_chk_v3] [tinyint] NOT NULL DEFAULT ((0)),
    [dim_v2_type] [varchar](25) NOT NULL DEFAULT (' '),
    [dim_v3_type] [varchar](25) NOT NULL DEFAULT (' '),
    [employer_id] [varchar](12) NOT NULL DEFAULT (' '),
    [header] [varchar](30) NOT NULL DEFAULT (' '),
    [header2] [varchar](30) NOT NULL DEFAULT (' '),
    [headquarter] [varchar](25) NOT NULL DEFAULT (' '),
    [language] [varchar](2) NOT NULL DEFAULT (' '),
    [last_update] [datetime] NOT NULL DEFAULT (CONVERT([datetime],'19000101 00:00:00:000',(9))),
    [leg_act_cli] [varchar](25) NOT NULL DEFAULT (' '),
    [max_inv_diff] [decimal](28, 3) NOT NULL DEFAULT ((0.0)),
    [max_inv_diff_v2] [decimal](28, 3) NOT NULL DEFAULT ((0.0)),
    [max_inv_diff_v3] [decimal](28, 3) NOT NULL DEFAULT ((0.0)),
    [max_pay_diff] [decimal](28, 3) NOT NULL DEFAULT ((0.0)),
    [max_pay_diff_v2] [decimal](28, 3) NOT NULL DEFAULT ((0.0)),
    [max_pay_diff_v3] [decimal](28, 3) NOT NULL DEFAULT ((0.0)),
    [municipal] [varchar](25) NOT NULL DEFAULT (' '),
    [overrun_pct] [decimal](28, 8) NOT NULL DEFAULT ((0.0)),
    [pay_client] [varchar](25) NOT NULL DEFAULT (' '),
    [pay_diff_acc_g] [varchar](25) NOT NULL DEFAULT (' '),
    [pay_diff_acc_l] [varchar](25) NOT NULL DEFAULT (' '),
    [pay_ref] [varchar](25) NOT NULL DEFAULT (' '),
    [period_no] [smallint] NOT NULL DEFAULT ((0)),
    [remind_ref] [varchar](20) NOT NULL DEFAULT (' '),
    [rev_vat_disc_ap] [tinyint] NOT NULL DEFAULT ((0)),
    [rev_vat_disc_ar] [tinyint] NOT NULL DEFAULT ((0)),
    [sys_setup_code] [varchar](2) NOT NULL DEFAULT (' '),
    [tax_office_no] [varchar](50) NOT NULL DEFAULT (' '),
    [tax_office_ref] [varchar](20) NOT NULL DEFAULT (' '),
    [tax_system] [varchar](25) NOT NULL DEFAULT (' '),
    [user_id] [varchar](25) NOT NULL DEFAULT (' '),
    [vat_reg_no] [varchar](25) NOT NULL DEFAULT (' '),
    [agrtid] [bigint] IDENTITY(1,1) NOT NULL,
    UNIQUE NONCLUSTERED 
    [agrtid] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
      ('8081','8181',' ',' ','2442','1481','9998',' ',' ','1320',' ','9998',' ',' ','8110','0','UK','Agresso Demo UK','987654321012','0','United Kingdom','GB','UK','1','1','EU','200409','GBP','EUR','EUR','USD','9998','9998','9998','1','0','EU','$',' ','Agresso
    demo','Corporate Office','NO','EN','2004-09-27 12:39:00.000','UK',0.020,0.000,0.000,0.100,0.000,0.000,'0301',0.00000000,'UK','9998','9998','Jim Smith','12','Mike Anderson','0','0','EN','Bristol Brunel','V123/123',' ','JOSUTTON','123456789101');
    insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
       ('8060','8160',' ',' ','2960','1480','1490',' ',' ',' ',' ',' ',' ',' ','7770','0','N1','N1 - Énklient','971332421','0','Norway','NO','N1','0','1',' ','200701','NOK',' ','EUR',' ',' ',' ','9999','0','0','E',' ','971332421','Agresso Demo Norge (NO)','Agresso
    Demo Norge (NO)','NO','NO','2007-01-26 08:31:00.000','N1',0.050,0.000,0.000,0.500,0.000,0.000,'0301',5.00000000,'N1','9999','9999',' ','12',' ','0','0','NO',' ',' ',' ','SYSNO','971332421');
    insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
     ('900000','900000',' ',' ',' ',' ','900100',' ',' ',' ',' ',' ',' ',' ','470000','0','BE','DEMO Belgie',' ','0','Belgium','BE','BE','0','1',' ','200208','EUR',' ','USD','GBP',' ',' ','900100','0','0','2','3',' ',' ','Agresso Business World','BE','EN','2005-11-18
    17:07:00.000','BE',0.050,0.000,0.000,0.050,0.000,0.000,'2018',0.00000000,'BE','900100','900100',' ','12',' ','0','0','BT',' ',' ',' ','SYSBE','BE461149381');
      insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('8030','8040',' ',' ','1250','2450','9998',' ',' ',' ',' ',' ',' ',' ','8060','0','A99','Seneca N.V. - Reporting / Intellagent',' ','0',' ','NL','A99','0','1',' ','201105','EUR',' ','USD',' ',' ',' ','9998','0','0','2',' ',' ','Seneca N.V. - Report / Intell','Seneca
    N.V. - Report / Intell','A01','EN','2011-05-19 12:19:59.000','A99',0.010,0.000,0.000,5.000,0.000,0.000,' ',0.00000000,'A99','9998','9998',' ','12',' ','0','0','EN',' ',' ',' ','SYSTEM',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('766000','666000','445860','445870','486000','487000',' ','445806','445807','445806',' ',' ','DEVISES',' ',' ','3','FR','Agresso Demo France',' ','0','France','FR','FR','1','1','1','200509','EUR','EUR',' ','FRF',' ','DEVISES','471000','0','1',' ','1',' ','Agresso
    demo France','Agresso demo France','FR','FR','2005-08-30 09:27:00.000','FR',0.100,0.000,0.500,10.000,0.000,0.000,'92',0.00000000,'FR',' ',' ',' ','12',' ','0','0','FR',' ',' ',' ','SYSFR','FR12345678');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ','9999',' ',' ',' ',' ',' ',' ',' ',' ','0','AU','Agresso Australia','123456789','0','Australia','AU','AU','0','1',' ','200708','AUD',' ',' ',' ',' ',' ','9999','0','0',' ',' ',' ','Agresso demo Australia','Corporate Office','AU','AU','2007-04-19
    12:40:00.000','AU',0.000,0.000,0.000,0.000,0.000,0.000,' ',0.00000000,'AU','9999','9999',' ','12',' ','0','0','AU',' ',' ',' ','SYSAU','123456789')
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('8060','8160',' ',' ','2960','1480','1490',' ',' ',' ',' ',' ',' ',' ','7770','0','NO','Agresso Demo Norge (NO)','971332425','0','Norway','NO','NO','0','1',' ','201401','NOK',' ','EUR',' ',' ',' ','9999','0','0','E',' ','971332425','Agresso Demo Norge (NO)','Agresso
    Demo Norge (NO)','NO','NO','2014-01-11 12:34:54.000','NO',0.050,0.000,0.000,0.500,0.000,0.000,'0301',5.00000000,'NO','9999','9999',' ','12',' ','0','0','NO',' ',' ',' ','SYSNO','971332425');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('9999','9999',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','9999','0','SF','Agresso Demo SF',' ','0','Finland','SF','SF','0',' ',' ','0','FIM',' ',' ',' ',' ',' ','9999','0','0',' ',' ',' ','Agresso Demo','Hovedkontoret','SF','SE','1996-01-18 03:25:00.000','SF',0.000,0.000,0.000,0.000,0.000,0.000,'
    ',0.00000000,'SF','9999','9999',' ','12',' ','0','0','SF',' ',' ',' ','SYSTEM',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','US','Agresso Demo Corp.',' ','0',' ','US','US','1',' ',' ','199702','USD',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ','Agresso Demo Corp.','Headquarter','US','US','1997-01-21 02:45:00.000','US',0.020,0.000,0.000,5.000,0.000,0.000,'
    ',0.00000000,'US',' ',' ','John Smith','12','Elsa Beskow','0','0','EN',' ',' ',' ','SYSNO',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('8081','8181',' ',' ','2442','1481','9998',' ',' ','1320',' ','9998',' ',' ','8110','0','EN','Agresso Demo','987654321012','0','United Kingdom','GB','EN','1','1','EU','201401','GBP','EUR','EUR','USD','9998','9998','9998','1','0','EU','$',' ','Agresso demo','Corporate
    Office','NO','EN','2014-01-06 10:20:58.000','EN',0.020,0.010,0.000,0.100,0.000,0.000,'0301',0.00000000,'EN','9998','9998','Jim Smith','12','Mike Anderson','0','0','EN',' ',' ',' ','SYSEN','123456789101');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','10','Test company 10 (for multiclient)',' ','0',' ','GB','EN','0','1',' ','200801','GBP',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ','Test company 10 (multiclient)','Test company 10 (multiclient)','EN','EN','2008-05-07
    10:57:51.000','EN',0.010,0.000,0.000,1.000,0.000,0.000,' ',0.00000000,'EN',' ',' ',' ','12',' ','0','0','EN',' ',' ',' ','SYSEN',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('4840','6880',' ',' ','1900','3900',' ','1410','3810','3810',' ','9998','9998',' ',' ','1','DE','D3 Demo Fibu/Projekt/Logistik','1277777001','0',' ','DE','DE','1','1','1','200204','EUR','EUR','USD','DEM','9998','9998','9998','1','1','2','1',' ','Agresso Demo
    Fibu/Pr/Log','Agresso Demo Fibu/Pr/Log','DE','DE','2002-04-03 17:28:00.000','DE',0.050,0.000,0.000,5.000,0.000,0.000,' ',0.00000000,'DE','4720','4720',' ','12',' ','0','0','DE','Finanzamt München II',' ',' ','SYSDE','DE888999777');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','PF','Performance test company',' ','0',' ','GB','PF','0','1',' ','200910','GBP',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ',' ',' ','PF','EN','2009-10-14 15:49:10.000','PF',0.000,0.000,0.000,0.000,0.000,0.000,'
    ',0.00000000,'PF',' ',' ',' ','12',' ','0','0','EN',' ',' ',' ','SYSEN',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','01','RD Reporting Team - Test Client 01',' ','0',' ','NO','01','0',' ',' ','201101',' ',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ',' ',' ','01','EN','2013-10-22 13:29:46.000','01',0.000,0.000,0.000,0.000,0.000,0.000,'
    ',0.00000000,'01',' ',' ',' ','12','Vidar Bjørnson','0','0','EN',' ',' ',' ','REPDEV',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','02','RD Reporting Team - Test Client 02',' ','0',' ','NO','02','0',' ',' ','201101',' ',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ',' ',' ','01','EN','2013-10-22 13:30:11.000','02',0.000,0.000,0.000,0.000,0.000,0.000,'
    ',0.00000000,'02',' ',' ',' ','12','Vidar Bjørnson','0','0','EN',' ',' ',' ','REPDEV',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','03','RD Reporting Team - Test Client 03',' ','0',' ','NO','03','0',' ',' ','201101',' ',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ',' ',' ','01','EN','2013-10-22 13:30:47.000','03',0.000,0.000,0.000,0.000,0.000,0.000,'
    ',0.00000000,'01',' ',' ',' ','12','Vidar Bjørnson','0','0','EN',' ',' ',' ','REPDEV',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','9998',' ',' ',' ','0','FP','FIN PROC Test Project','321456987','0',' ','NO','FP','0','1','1','201206','EUR','EUR','USD','USD','9998','9998',' ','1','1','2','2',' ','FIN PROC Test Project','FIN PROC Test Project','FP','EN','2012-09-24
    10:43:27.000','FP',0.000,0.000,0.000,0.000,0.000,0.000,' ',0.00000000,'FP',' ',' ',' ','12',' ','0','0','EN',' ',' ',' ','FRODE','321456987MVA');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    (' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','DM','Agresso Deployment Manager',' ','0',' ','NO','DM','0',' ',' ','201301',' ',' ',' ',' ',' ',' ',' ','0','0',' ',' ',' ',' ',' ','DM','EN','2013-11-06 13:55:17.000','DM',0.000,0.000,0.000,0.000,0.000,0.000,'
    ',0.00000000,'DM',' ',' ',' ','12',' ','0','0','EN',' ',' ',' ','SYSEN',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('3960','7960',' ',' ','1790','2990','2991',' ',' ',' ',' ',' ',' ',' ','6570','0','S1','Agresso Demo Client S1','556558-7893','0','Sweden','SE','S1','1','1',' ','200401','SEK',' ','NOK','EUR','8322','8321','3740','1','1','3','6','5565587893',' ','Utbildningsföretaget
    AB','SE','SE','2005-02-10 22:04:00.000','S1',0.500,0.000,0.000,0.500,0.000,0.000,' ',0.00000000,'S1','3740','3740','Anna Kronstam','12','Thomas Jelf','0','0','SE',' ',' ',' ','SYSEN','SE556558789301');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('3960','7960',' ',' ','1790','2990','2991',' ',' ',' ',' ',' ',' ',' ','6570','0','S2','Agresso Demo Client S2','556558-7893','0','Sweden','SE','S2','1','1',' ','200202','SEK',' ','NOK','EUR','8322','8321','3740','1','1','3','6','5565587893',' ','Utbildningsföretaget
    AB','SE','SE','2005-01-17 13:20:00.000','S2',0.500,0.000,0.000,0.500,0.000,0.000,' ',0.00000000,'S2','3740','3740','Anna Kronstam','12','Thomas Jelf','0','0','SE',' ',' ',' ','SYSSE','SE556558789301');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('910156','910166',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','0','NL','DEMO Nederland','KVK9937465','0','Holland','NL','NL','0','1',' ','200708','EUR',' ',' ',' ',' ',' ','999999','0','0',' ',' ',' ','Global Trada N.V.','Global Trada N.V.','NL','NL','2007-08-15
    13:41:00.000','NL',50000.000,0.000,0.000,50000.000,0.000,0.000,'3994 DB',0.00000000,'NL','470720','470720',' ','12',' ','0','0','NL',' ',' ',' ','ROB','NL009404296B01');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('4664','4730',' ',' ','4755',' ',' ',' ',' ',' ',' ',' ',' ',' ','4755','0','DK','Agresso Demo Denmark',' ','0','Denmark','DK','DK','0','1',' ','0','DKK',' ',' ',' ',' ',' ',' ','0','0',' ',' ','0123456789','Agresso Denmark','Agresso Denmark','DK','DK','2005-10-14
    08:40:00.000','DK',0.100,0.000,0.000,0.100,0.000,0.000,' ',0.00000000,'DK',' ',' ',' ','12',' ','0','0','DK',' ',' ',' ','SYSDK',' ');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('76800','66800',' ',' ','48000','48500','99999','47201','47701',' ',' ',' ',' ',' ','66910','1','SP','Agresso Spain',' ','0','Spain','ES','SP','0','1','1','200804','EUR','EUR','GBP',' ',' ',' ','99999','0','0','2',' ',' ','Agresso DEMO S.A','Agresso DEMO S.A','SP','ES','2008-04-07
    14:01:38.000','SP',0.010,0.000,0.000,0.010,0.000,0.000,' ',0.50000000,'SP','99999','99999','Dpto.Aministración','12','Dpto.Riesgos','0','0','ES','00007307','18ru0456',' ','SYSES','B18389742');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('3960','7960',' ',' ','1790','2990','2991',' ',' ',' ',' ','8439',' ',' ','6570','0','SE','UTBILDNINGSFÖRETAGET AB','2021001235','0',' ','SE','SE','0','1',' ','200707','SEK',' ','EUR',' ','8439',' ','3740','1','0','2',' ',' ','Masterföretaget AB','Masterföretaget
    AB','SE','SE','2008-06-09 12:38:43.000','SE',0.500,0.000,0.000,0.500,0.000,0.000,'STLM',0.05000000,'SE','3740','3740',' ','12',' ','0','0','SE',' ','Stockholm',' ','SYSEN','SE202100123501');
     insert into oleclient (
     acc_f_agio, acc_f_dag, acc_notes_ap, acc_notes_ar, acc_per_cost, acc_per_inc, acc_reverse, acc_undec_ap, acc_undec_ar, acc_vat_pay, attr_id_balance, bal_acc_v2, bal_acc_v3, balance_acc,
     bank_fee_acc, bflag, client, client_name, comp_reg_no, compress_flag, country, country_code,  cur_client, cur_item, cur_type, cur_type_tri, curr_period, currency, currency_tri,
     currency_v2, currency_v3, diff_acc_v2, diff_acc_v3, diff_account, diff_chk_v2, diff_chk_v3, dim_v2_type, dim_v3_type, employer_id, header, header2, headquarter, language,
     last_update, leg_act_cli, max_inv_diff, max_inv_diff_v2, max_inv_diff_v3, max_pay_diff, max_pay_diff_v2, max_pay_diff_v3, municipal, overrun_pct, pay_client, pay_diff_acc_g,
     pay_diff_acc_l, pay_ref, period_no, remind_ref, rev_vat_disc_ap, rev_vat_disc_ar, sys_setup_code, tax_office_no, tax_office_ref, tax_system, user_id, vat_reg_no )
     values
    ('8081','8181',' ',' ','2442','1481','9998','1301','1307','1320',' ','9998',' ',' ','8110','1','IT','IT - Client',' ','0','Italy','IT','IT','1','EU','EU','200601','EUR','EUR','EUR','USD','9998','9998','9998','1','0','EU','$','CODE SIA','Agresso demo Italia','Corporate
    Office','IT','IT','2006-09-28 08:46:00.000','IT',0.020,0.000,0.000,0.100,0.000,0.000,'0301',0.00000000,'IT','9998','9998','Jim Smith','12','Mike Anderson','0','0','IT','Tax authority province','Auto-no011299',' ','SYSEN','11465420153');
    go
    CREATE UNIQUE NONCLUSTERED INDEX [aioleclient1] ON [dbo].[oleclient]
    [client] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
    GO
    CREATE TABLE [dbo].[Htable1](
    [amount] [decimal](28, 3) NOT NULL DEFAULT ((0)),
    [cur_amount] [decimal](28, 3) NOT NULL DEFAULT ((0)),
    [value_2] [decimal](28, 3) NOT NULL DEFAULT ((0)),
    [value_3] [decimal](28, 3) NOT NULL DEFAULT ((0)),
    [currency] [varchar](25) NOT NULL DEFAULT (' '),
    [client] [varchar](25) NOT NULL DEFAULT (' '),
    [asset_id] [varchar](25) NOT NULL DEFAULT (' '),
    [depr_book_id] [varchar](25) NOT NULL DEFAULT (' '),
    [input_id] [bigint] NOT NULL DEFAULT ((0)),
    [amount_type] [char](25) NOT NULL DEFAULT (' '),
    [reval_year] [int] NOT NULL DEFAULT ((0)),
    [trans_seq] [int] NOT NULL DEFAULT ((0)),
    [sequence_no] [int] NOT NULL DEFAULT ((0)),
    [at_trans_date] [datetime] NOT NULL DEFAULT (CONVERT([datetime],'19000101',(112))),
    [agrtid] [bigint] IDENTITY(1,1) NOT NULL,
    UNIQUE NONCLUSTERED 
    [agrtid] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    INSERT INTO Htable1 (at_trans_date,amount,amount_type,asset_id,client,cur_amount,currency,depr_book_id,input_id,reval_year,sequence_no,trans_seq,value_2,value_3) 
     VALUES ('20140603' ,0.00000000,'GLN','BM','EN',0.00000000,'GBP','BUSINESS',563,0,29,0,0.00000000,0.00000000 ) 
    GO
    INSERT INTO Htable1 (at_trans_date,amount,amount_type,asset_id,client,cur_amount,currency,depr_book_id,input_id,reval_year,sequence_no,trans_seq,value_2,value_3) 
     VALUES ('20140603' ,0.00000000,'GLN','BM','EN',0.00000000,'GBP','BUSINESS',563,0,30,0,0.00000000,0.00000000 ) 
    GO
    --=================================================================================
    -- The following query takes 15 minutes on my computer to give an execution plan. Fetching the data takes no additional time.
    -- removing one table (CACHED88) from the query brings the time down to 59 seconds.
    -- removing one more (CACHED87) brings it down to 4 seconds.
    -- adding the hint "option (QUERYTRACEON 9481)" to the first case, brings it down from 15 minutes to less than one second!
    SELECT 
           CACHED83.amount - ( CACHED76.amount + CACHED75.amount + CACHED85.amount + CACHED86.amount + CACHED87.amount + CACHED88.amount) AS amount, 
           CACHED83.amount - ( CACHED76.amount + CACHED75.amount + CACHED85.amount + CACHED86.amount + CACHED87.amount + CACHED88.amount) AS cur_amount, 
           c.currency    
    FROM 
           Htable1   tab1 , 
           Htable1   CACHED83 , 
           Htable1   CACHED76 ,
           Htable1   CACHED75 ,
           Htable1   CACHED85 ,
           Htable1   CACHED86 ,
           Htable1   CACHED87 ,
           Htable1   CACHED88 ,
           oleclient c  
    WHERE 
           tab1.client = c.client AND
           tab1.amount_type = 'GLN' AND 
           tab1.asset_id     = CACHED83.asset_id AND 
           tab1.depr_book_id = CACHED83.depr_book_id AND        
           tab1.client       = CACHED83.client AND 
           tab1.input_id     = CACHED83.input_id AND 
           tab1.reval_year   = CACHED83.reval_year AND     
           tab1.trans_seq    = CACHED83.trans_seq AND 
           tab1.sequence_no  = CACHED83.sequence_no AND 
           tab1.asset_id     = CACHED76.asset_id AND  
           tab1.depr_book_id = CACHED76.depr_book_id AND 
           tab1.client       = CACHED76.client AND 
           tab1.input_id     = CACHED76.input_id AND  
           tab1.reval_year   = CACHED76.reval_year AND 
           tab1.trans_seq    = CACHED76.trans_seq AND 
           tab1.sequence_no  = CACHED76.sequence_no AND 
           tab1.asset_id     = CACHED75.asset_id AND 
           tab1.depr_book_id = CACHED75.depr_book_id AND 
           tab1.client       = CACHED75.client AND      
           tab1.input_id     = CACHED75.input_id AND 
           tab1.reval_year   = CACHED75.reval_year AND 
           tab1.trans_seq    = CACHED75.trans_seq AND       
           tab1.sequence_no  = CACHED75.sequence_no AND 
           tab1.asset_id     = CACHED85.asset_id AND 
           tab1.depr_book_id = CACHED85.depr_book_id AND        
           tab1.client       = CACHED85.client AND 
           tab1.input_id     = CACHED85.input_id AND 
           tab1.reval_year   = CACHED85.reval_year AND     
           tab1.trans_seq    = CACHED85.trans_seq AND 
           tab1.sequence_no  = CACHED85.sequence_no AND 
           tab1.asset_id     = CACHED86.asset_id AND 
           tab1.depr_book_id = CACHED86.depr_book_id AND 
           tab1.client       = CACHED86.client AND 
           tab1.input_id     = CACHED86.input_id AND  
           tab1.reval_year   = CACHED86.reval_year AND 
           tab1.trans_seq    = CACHED86.trans_seq AND 
           tab1.sequence_no  = CACHED86.sequence_no AND  
           tab1.asset_id     = CACHED87.asset_id AND 
           tab1.depr_book_id = CACHED87.depr_book_id AND 
           tab1.client       = CACHED87.client AND      
           tab1.input_id     = CACHED87.input_id AND 
           tab1.reval_year   = CACHED87.reval_year AND 
           tab1.trans_seq    = CACHED87.trans_seq AND       
           tab1.sequence_no  = CACHED87.sequence_no  AND  
           tab1.asset_id     = CACHED88.asset_id AND 
           tab1.depr_book_id = CACHED88.depr_book_id AND 
           tab1.client       = CACHED88.client AND      
           tab1.input_id     = CACHED88.input_id AND 
           tab1.reval_year   = CACHED88.reval_year AND 
           tab1.trans_seq    = CACHED88.trans_seq AND       
           tab1.sequence_no  = CACHED88.sequence_no  
    --  option (QUERYTRACEON 9481)         

    Reading "What's new in Sql Server 2014" (http://msdn.microsoft.com/en-us/library/bb510411.aspx#CE). I see that  it says:
    New Design for Cardinality Estimation
    The cardinality estimation logic, called the cardinality estimator, is re-designed in SQL Server 2014 to improve the quality of query plans, and therefore to improve query performance. The new cardinality estimator incorporates assumptions and algorithms
    that work well on modern OLTP and data warehousing workloads. It is based on in-depth cardinality estimation research on modern workloads, and our learnings over the past 15 years of improving the SQL Server cardinality estimator. Feedback from customers shows
    that while most queries will benefit from the change or remain unchanged, a small number might show regressions compared to the previous cardinality estimator. For performance tuning and testing recommendations, seeCardinality
    Estimation (SQL Server).
    I states that a "small number of queries might show regressions". To mee the regression is a showstopper and seems to have to do with complexity. I found one query reported by Juha Salo (bug 893758) that possibly could have to do with the same thing.
    It is a query with many joins. Simplifying the query by removing one of the joins, makes it work fine. The query documented in his report does not need any setup as it is a query on system tables as sys.indexes and sys.index_columns.
    I quote:
    There is a huge difference in performance for the following query between compatibility level 120 and the lower levels:
    dbcc dropcleanbuffers
    SELECT i.NAME
    FROM sys.indexes i
    INNER JOIN sys.index_columns k ON i.object_id = k.object_id
    AND i.index_id = k.index_id
    INNER JOIN sys.objects o ON i.object_id = o.object_id
    AND k.object_id = o.object_id
    INNER JOIN sys.index_columns k1 ON i.object_id = k1.object_id
    AND i.index_id = k1.index_id
    AND k1.key_ordinal = 1
    INNER JOIN sys.index_columns k2 ON i.object_id = k2.object_id
    AND i.index_id = k2.index_id
    AND k2.key_ordinal = 2
    INNER JOIN sys.index_columns k3 ON i.object_id = k3.object_id
    AND i.index_id = k3.index_id
    AND k3.key_ordinal = 3
    INNER JOIN sys.index_columns k4 ON i.object_id = k4.object_id
    AND i.index_id = k4.index_id
    AND k4.key_ordinal = 4
    INNER JOIN sys.index_columns k5 ON i.object_id = k5.object_id
    AND i.index_id = k5.index_id
    AND k5.key_ordinal = 5
    INNER JOIN sys.index_columns k6 ON i.object_id = k6.object_id
    AND i.index_id = k6.index_id
    AND k6.key_ordinal = 6
    INNER JOIN sys.index_columns k7 ON i.object_id = k7.object_id
    AND i.index_id = k7.index_id
    AND k7.key_ordinal = 7
    INNER JOIN sys.columns c1 ON o.object_id = c1.object_id
    AND k1.column_id = c1.column_id
    INNER JOIN sys.columns c2 ON o.object_id = c2.object_id
    AND k2.column_id = c2.column_id
    INNER JOIN sys.columns c3 ON o.object_id = c3.object_id
    AND k3.column_id = c3.column_id
    INNER JOIN sys.columns c4 ON o.object_id = c4.object_id
    AND k4.column_id = c4.column_id
    INNER JOIN sys.columns c5 ON o.object_id = c5.object_id
    AND k5.column_id = c5.column_id
    INNER JOIN sys.columns c6 ON o.object_id = c6.object_id
    AND k6.column_id = c6.column_id
    INNER JOIN sys.columns c7 ON o.object_id = c7.object_id
    AND k7.column_id = c7.column_id
    Can be run in any database. In our case we have a legacy database with almost 10 000 (ten thousand) tables. In that kind of database the query just freezes fully utilizing a single cpu core.
    If compatibility level is switched to 110 then query performs as it should.

  • Problem running Portal query using precalculated data

    We are trying to use precalcualated data to run queries in our portal and are running into some issues.
    We have a query with an attached template which uses the cost center group parameter (ksg) to show particular cost centers from a hierarchy created in RSH1.  The query works fine from the BW menu and shows only those cost centers which it should, based on the hierarchy.
    In the Reporting Agent Setting of Administrators workbench (RSA1) we created a reporting agent setting to precalcuate the data and scheduled it to run every couple of hours.
    We have an ivew on our portal which runs the query with the template.  If we add a data_mode parameter and set it to stored, the query seems to use the precalculated data but it seems to ignore the users ksg parameter setting and shows the entire hierarchy of cost centers on the first screen.  If we scroll down to the bottom of the screen and use the down arrow to get the next set of rows, the next screen show the data for only our cost centers based on our ksg parameter setting. 
    However, if we change the data_mode parameter setting to u2018newu2019 the query works as it should and we see the correct cost centers, and not all the ones in the hierarchy so it is going to the OLAP engine for new data and not using the precalculated data.
    We have tried various combination of settings on the Parameter tab of the Change Reporting Agent Setting screen.  We have specified the query name in the Cntrl Query screen.  If we switch from u2018no filteringu2019 to u2018explicity through Query Rsltu2019 the process chain errors out and will not precalc the data.
    Can anyone help?  Thanks.

    Issue SET DEFINE OFF in SQL-Plus before your statement runs.

  • DBCC CHECKDB failure, SQL 2012, There is insufficient system memory in resource pool 'internal' to run this query.

    Hey, guys!
    Tried to find an answer, but nothing works for me.
    So on one of servers when I am trying to run DBCC CHECKDB throws two errors
    Msg 8921, Level 16, State 1, Line 1
    Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.
    Msg 701, Level 17, State 123, Line 1
    There is insufficient system memory in resource pool 'internal' to run this query.
    This is a VM hosted on Hyper-V server 2012 R2. VM has Windows Server 2012 R2 and SQL Server 2012 Std. VM had 8 GB of RAM, I increased it to 12GB (static, not dynamic), also I increased paging file size in Windows and size of TEMPDB also recreated TEMPDB.
    I also tried to restore the Database, which throws an error from another server. On that server DBCC CHECKDB works fine, but it didn't help - I still receive the same error.  Can you suggest, please?

    Hi,
    I agree with you. It is probably a memory issue. First, we need to verify if it is an OS memory issue or caused by SQL Server itself.
    Need to use Performance Monitor:
    SQLServer:Memory
    Memory
    Dynamic Management Views:
    sys.dm_os_sys_info
    sys.dm_exec_query_memory_grants
    1. Use performance monitor to check OS memory: available memory(MB) and monitor the OS memory status before the query and when running the query. If it does not change, I can exclude the OS memory factor. Then, I can conclude
    this memory issue was caused by SQL Server internal. Also, check if there is Memory leak on your system.
    2. Use the below script in SQL Server Management Studio and Result to Text.
    while(1=1)
    begin
    print getdate()
    print '*****sys.dm_exec_query_memory_grants******'
    select * from sys.dm_exec_query_memory_grants
    print 'DBCC memorystatus'
    dbcc memorystatus
    waitfor delay '00:00:01'
    end
    Then, check SQLServer:Memory-Granted Workspace Memory (KB) when the issue occurs which specifies the total amount of memory currently granted to executing processes, such as hash, sort, bulk copy, and index creation operations.
    And compared with the information got in
    sys.dm_exec_query_memory_grants.
    3. In addition, use sys.dm_os_sys_info
     to identify bpool_commit_target and bpool_commited.
    In SQL Server 2012, the columns have been renamed as
    committed_target_kb and committed_kb.
    committed_kb  represents the committed memory in kilobytes (KB) in the memory manager. Does not include reserved memory in the memory manager.
    committed_target_kb represents the amount of memory, in kilobytes (KB), that can be consumed by SQL Server memory manager. The target amount is calculated using a variety of
    inputs like:
    the current state of the system including its      load
    the memory requested by current processes
    the amount of memory installed on the computer
    configuration parameters
    If committed_target_kb is larger than
    committed_kb, the memory manager will try to obtain additional memory. If
    committed_target_kb is smaller than committed_kb, the memory manager will try to shrink the amount of memory committed. The
    committed_target_kb always includes stolen and reserved memory.
    MSSQLSERVER_701
    http://msdn.microsoft.com/en-us/library/aa337311.aspx
    An in-depth look at SQL Server Memory–Part 3
    http://blogs.msdn.com/b/sqljourney/archive/2013/11/02/10402729.aspx
    INF: Using DBCC MEMORYSTATUS to Monitor SQL Server Memory Usage
    http://support.microsoft.com/kb/271624/en-us
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • SQL server 2012 : There is insufficient system memory in resource pool 'internal' to run this query

    We have recently upgraded from SQL server 2008 to SQL server 2012.
    We are getting this error when browsing to several pages on our website.
     There is insufficient system memory in resource pool 'internal' to run this query
    Most of the pages just try to do sql statements or stored procedures. I found a fix related to this error for sql 2012
    http://support.microsoft.com/kb/2769594/en-gb
    I did install it on server but the problem still remains.
    I have increased Maximum server memory to 20 GB to see if it will affect but it didnt.
    Memory on server is 32GB
    This is the sql version we have
    Microsoft SQL Server 2012 (SP1) - 11.0.3393.0 (X64)
        Oct 25 2013 19:04:40
        Copyright (c) Microsoft Corporation
        Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
    How can i solve this error?It keeps on appearing when browsing .net website

    This is the ouptut of memory status
    Process/System Counts Value
    Available Physical Memory 6559842304
    Available Virtual Memory 8741595508736
    Available Paging File 17090838528
    Working Set 21094821888
    Percent of Committed Memory in WS 100
    Page Faults 160487165
    System physical memory high 1
    System physical memory low 0
    Process physical memory low 0
    Process virtual memory low 0
    Memory Manager KB
    VM Reserved 51506548
    VM Committed 20445040
    Locked Pages Allocated 0
    Large Pages Allocated 0
    Emergency Memory 1024
    Emergency Memory In Use 16
    Target Committed 20480008
    Current Committed 20445040
    Pages Allocated 6298528
    Pages Reserved 717408
    Pages Free 13820616
    Pages In Use 5143472
    Page Alloc Potential 14312512
    NUMA Growth Phase 0
    Last OOM Factor 1
    Last OS Error 0
    Memory node Id = 0 KB
    VM Reserved 51504948
    VM Committed 10218952
    Locked Pages Allocated 0
    Pages Allocated 1651360
    Pages Free 8323696
    Target Committed 10239992
    Current Committed 10218952
    Foreign Committed 96
    Away Committed 0
    Taken Away Committed 0
    Memory node Id = 1 KB
    VM Reserved 1536
    VM Committed 10226068
    Locked Pages Allocated 0
    Pages Allocated 4647208
    Pages Free 5496896
    Target Committed 10239992
    Current Committed 10226072
    Foreign Committed 0
    Away Committed 0
    Taken Away Committed 0
    Memory node Id = 64 KB
    VM Reserved 0
    VM Committed 20
    Locked Pages Allocated 0
    MEMORYCLERK_SQLGENERAL (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 19136
    MEMORYCLERK_SQLGENERAL (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 144
    MEMORYCLERK_SQLGENERAL (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 19280
    MEMORYCLERK_SQLBUFFERPOOL (node 0) KB
    VM Reserved 841608
    VM Committed 151560
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1081360
    MEMORYCLERK_SQLBUFFERPOOL (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1119416
    MEMORYCLERK_SQLBUFFERPOOL (Total) KB
    VM Reserved 841608
    VM Committed 151560
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 2200776
    MEMORYCLERK_SQLQUERYEXEC (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 5768
    MEMORYCLERK_SQLQUERYEXEC (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 9624
    MEMORYCLERK_SQLQUERYEXEC (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 15392
    MEMORYCLERK_SQLOPTIMIZER (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 2480
    MEMORYCLERK_SQLUTILITIES (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 112
    MEMORYCLERK_SQLUTILITIES (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    MEMORYCLERK_SQLUTILITIES (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 128
    MEMORYCLERK_SQLSTORENG (node 0) KB
    VM Reserved 4800
    VM Committed 4800
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 7928
    MEMORYCLERK_SQLSTORENG (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 5856
    MEMORYCLERK_SQLSTORENG (Total) KB
    VM Reserved 4800
    VM Committed 4800
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 13784
    MEMORYCLERK_SQLCONNECTIONPOOL (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1184
    MEMORYCLERK_SQLCONNECTIONPOOL (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 536
    MEMORYCLERK_SQLCONNECTIONPOOL (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1720
    MEMORYCLERK_SQLCLR (node 0) KB
    VM Reserved 9450752
    VM Committed 10664
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 60648
    MEMORYCLERK_SQLSERVICEBROKER (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 528
    MEMORYCLERK_SQLHTTP (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    MEMORYCLERK_SNI (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 40
    MEMORYCLERK_SNI (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 56
    MEMORYCLERK_SNI (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    MEMORYCLERK_SNI (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 112
    MEMORYCLERK_FULLTEXT (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 297936
    MEMORYCLERK_FULLTEXT (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 3406024
    MEMORYCLERK_FULLTEXT (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 3703960
    MEMORYCLERK_SQLXP (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    MEMORYCLERK_BHF (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 152
    MEMORYCLERK_BHF (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 184
    MEMORYCLERK_BHF (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 336
    MEMORYCLERK_SQLQERESERVATIONS (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 841952
    MEMORYCLERK_XE_BUFFER (node 0) KB
    VM Reserved 3072
    VM Committed 3072
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 0
    MEMORYCLERK_XE_BUFFER (node 1) KB
    VM Reserved 1536
    VM Committed 1536
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 0
    MEMORYCLERK_XE_BUFFER (Total) KB
    VM Reserved 4608
    VM Committed 4608
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 0
    MEMORYCLERK_XTP (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    MEMORYCLERK_HOST (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 40
    MEMORYCLERK_SOSNODE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 34168
    MEMORYCLERK_SOSNODE (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 11664
    MEMORYCLERK_SOSNODE (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 2600
    MEMORYCLERK_SOSNODE (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 48432
    MEMORYCLERK_SOSOS (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 192
    MEMORYCLERK_SOSMEMMANAGER (node 0) KB
    VM Reserved 85560
    VM Committed 85416
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 0
    MEMORYCLERK_FULLTEXT_SHMEM (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 576
    SM Committed 576
    Pages Allocated 0
    MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 200
    MEMORYCLERK_FILETABLE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    MEMORYCLERK_XE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 3440
    MEMORYCLERK_SQLLOGPOOL (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 4208
    MEMORYCLERK_LWC (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 192
    MEMORYCLERK_FSCHUNKER (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 48
    CACHESTORE_OBJCP (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 5848
    CACHESTORE_SQLCP (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 29664
    CACHESTORE_PHDR (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 4616
    CACHESTORE_XPROC (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 32
    CACHESTORE_TEMPTABLES (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    CACHESTORE_NOTIF (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    CACHESTORE_VIEWDEFINITIONS (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    CACHESTORE_XMLDBTYPE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_XMLDBELEMENT (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_XMLDBATTRIBUTE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_STACKFRAMES (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_STACKFRAMES (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_STACKFRAMES (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_STACKFRAMES (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 24
    CACHESTORE_BROKERTBLACS (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 48
    CACHESTORE_BROKERKEK (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_BROKERDSH (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_BROKERUSERCERTLOOKUP (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_BROKERRSB (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_BROKERREADONLY (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 32
    CACHESTORE_BROKERTO (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    CACHESTORE_EVENTS (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    CACHESTORE_SEHOBTCOLUMNATTRIBUTE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 400
    CACHESTORE_SYSTEMROWSET (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1056
    CACHESTORE_SYSTEMROWSET (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 480
    CACHESTORE_SYSTEMROWSET (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1536
    CACHESTORE_CONVPRI (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 32
    CACHESTORE_CONVPRI (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    CACHESTORE_CONVPRI (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 48
    CACHESTORE_FULLTEXTSTOPLIST (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 56
    CACHESTORE_SEARCHPROPERTYLIST (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    CACHESTORE_COLUMNSTOREOBJECTPOOL (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 192
    CACHESTORE_XML_SELECTIVE_DG (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    USERSTORE_SCHEMAMGR (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8896
    USERSTORE_DBMETADATA (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 5088
    USERSTORE_DBMETADATA (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 4768
    USERSTORE_DBMETADATA (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 9856
    USERSTORE_TOKENPERM (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8104
    USERSTORE_TOKENPERM (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 448
    USERSTORE_TOKENPERM (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8552
    USERSTORE_OBJPERM (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1640
    USERSTORE_OBJPERM (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 600
    USERSTORE_OBJPERM (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 2240
    USERSTORE_SXC (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 160
    USERSTORE_SXC (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 168
    USERSTORE_SXC (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 8
    USERSTORE_SXC (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 336
    OBJECTSTORE_LBSS (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 368
    OBJECTSTORE_LBSS (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 296
    OBJECTSTORE_LBSS (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 664
    OBJECTSTORE_SNI_PACKET (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 616
    OBJECTSTORE_SNI_PACKET (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 648
    OBJECTSTORE_SNI_PACKET (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 56
    OBJECTSTORE_SNI_PACKET (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 1320
    OBJECTSTORE_SERVICE_BROKER (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 496
    OBJECTSTORE_LOCK_MANAGER (node 0) KB
    VM Reserved 65540
    VM Committed 65540
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 11816
    OBJECTSTORE_LOCK_MANAGER (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 11632
    OBJECTSTORE_LOCK_MANAGER (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 24
    OBJECTSTORE_LOCK_MANAGER (Total) KB
    VM Reserved 65540
    VM Committed 65540
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 23472
    OBJECTSTORE_SECAUDIT_EVENT_BUFFER (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    OBJECTSTORE_XACT_CACHE (node 0) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 2224
    OBJECTSTORE_XACT_CACHE (node 1) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 2488
    OBJECTSTORE_XACT_CACHE (node 64) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 16
    OBJECTSTORE_XACT_CACHE (Total) KB
    VM Reserved 0
    VM Committed 0
    Locked Pages Allocated 0
    SM Reserved 0
    SM Committed 0
    Pages Allocated 4728
    Buffer Pool Value
    Database 274830
    Simulated 0
    Target 4096000
    Dirty 507
    In IO 0
    Latched 1
    Page Life Expectancy 11941
    Procedure Cache Value
    TotalProcs 333
    TotalPages 5914
    InUsePages 345
    Global Memory Objects Pages
    Resource 401
    Locks 2934
    XDES 561
    DirtyPageTracking 24
    SETLS 24
    SubpDesc Allocators 165
    SE SchemaManager 559
    SE Column Metadata Cache 549
    SE Column Metadata Cache Store 3
    SQLCache 270
    Replication 2
    ServerGlobal 52
    XP Global 2
    SortTables 3
    Query Memory Objects (internal) Value
    Grants 2
    Waiting 0
    Available 1677087
    Current Max 1814852
    Future Max 1814852
    Physical Max 1854482
    Next Request 0
    Waiting For 0
    Cost 0
    Timeout 0
    Wait Time 0
    Small Query Memory Objects (internal) Value
    Grants 0
    Waiting 0
    Available 95518
    Current Max 95518
    Future Max 95518
    Remote Query Memory Objects (internal) Value
    Grants 0
    Waiting 0
    Available 926250
    Current Max 926250
    Optimization Queue (internal) Value
    Overall Memory 17039360000
    Target Memory 16709148672
    Last Notification 1
    Timeout 6
    Early Termination Factor 5
    Small Gateway (internal) Value
    Configured Units 96
    Available Units 95
    Acquires 1
    Waiters 0
    Threshold Factor 380000
    Threshold 380000
    Medium Gateway (internal) Value
    Configured Units 24
    Available Units 24
    Acquires 0
    Waiters 0
    Threshold Factor 12
    Threshold 1392429056
    Big Gateway (internal) Value
    Configured Units 1
    Available Units 1
    Acquires 0
    Waiters 0
    Threshold Factor 8
    Threshold -1
    Memory Pool Manager Pages
    Reserved Current 0
    Reserved Limit 2095263
    Memory Pool (internal) Pages
    Allocations 464738
    Predicted 929941
    Private Target 0
    Private Limit 0
    Total Target 2560001
    Total Limit 2560001
    OOM Count 0
    MEMORYBROKER_FOR_CACHE (internal) Pages
    Allocations 14370
    Rate 1582
    Target Allocations 1646012
    Future Allocations 0
    Overall 2080000
    Last Notification 1
    MEMORYBROKER_FOR_STEAL (internal) Pages
    Allocations 409631
    Rate -242825
    Target Allocations 2039691
    Future Allocations 0
    Overall 2080000
    Last Notification 1
    MEMORYBROKER_FOR_RESERVE (internal) Pages
    Allocations 0
    Rate -59129
    Target Allocations 2080000
    Future Allocations 463125
    Overall 2080000
    Last Notification 1
    MEMORYBROKER_FOR_COMMITTED (internal) Pages
    Allocations 40735
    Rate 1
    Target Allocations 1670796
    Future Allocations 0
    Overall 2080000
    Last Notification 1
    MEMORYBROKER_FOR_XTP (internal) Pages
    Allocations 2
    Rate 0
    Target Allocations 1630062
    Future Allocations 0
    Overall 2080000
    Last Notification 1
    Memory Broker Clerk (Buffer Pool) Pages
    Total 274830
    Simulated 0
    Simulation Benefit 0
    Internal Benefit 0
    External Benefit 0
    Value Of Memory 0
    Periodic Freed 0
    Internal Freed 0
    Mainly we have SQL and IIS on server

  • Dashboard cursor cache query statement

    hi,
    i would like to ask if there is a way to get the query statement that was executed in getting the dashboard result. i'm thinking if it is possible to get this programmatically, like using a session variable.
    basically, i would like to replicate the data in the dashboard, and i would like to use the query statement (by another application) to be executed via obiee web service.
    thanks.

    I think you are addressing a common problem in datawarehouses... there are staging tables, some times empty, some times with millions of rows... so, maybe the statistics are not reallistic... What is the result of the following query:
    select num_rows, last_analyzed from dba_tables where table_name = '<your_table>';
    If this is the problem, you should to consider one of the following strategies:
    1) Analize the table when is "full" and assure that never runs an analize table (or a gather_schema_stats) over this table. This strategy works fine if all days the table is populated with similar data... but maybe you need to change a gather_schema_stats job schedule... you should be aware of when and how the statistics are updated
    2) Populate the table, then run a gather_table_stats over the table, wait for the completion of the gathertable_stats_, and finally trigger the 6am process... maybe you need to schedule the process before 6am because the statistics gather process
    I hope this helps
    Regards,
    Alfonso

  • How can I navigate to a new page when after-submit process running proc

    I have a long running procedure and would like to provide the users with an animated gif to indicate progress that updates a description line to indicate the current step in the process.
    Currently I have a couple pages in this application in which a stored procedure in a package is called which performs a long-running process which updates progress in a table. These processes have a single parameter argument. In these cases I call the procedure via the Job Scheduler as part of my After-Submit process and the page navigation jumps to another page which shows a graphical representation of % complete based on the progress updates in the table and refreshes itself every 5 seconds until the job is complete. This works fine.
    I am now running into an issue where I have a more complex set of processes, with a number of parameters. To resolve this I used the same process as above, however, I first check to see if the process exists in the Job Scheduler, if not I create it. I then set all of the parameters and tell the job scheduler to execute the procedure. This should work similar to the process I am running on the other pages, however, in this page where I have multiple parameters and send an execute command rather than an execute immediate on job creation, the system runs the entire job prior to running the page branch, as a result the end user is stuck on a hanging page with no user feedback for two minutes after pressing submit.
    I am looking for how to call the procedure and have the branch execute so a progress screen can be viewed. I am not committed to the use of the job scheduler if there is a better way.
    Any help is greatly appreciated.

    The process involves
    (1) a detail table filled with phone usage data, approximately 175,000 records per month.
    (2) a table that stores what various combinations of codes in the detail table translate to for types of calls or data transmissions
    (3) a summary table for the months calls and billing
    (4) the E-Business Suite.
    (5) A GTT for temporary crossreference storage
    (6) A GTT for reporting data
    I have a parameter page where the user selects what data they are looking for and then submits it to generate the report.
    The generation of data is a four step process.
    (A) Retrieve the Code Combination ID's for the phone usage specified in the parameters from the summary billing table(1) into a GTT(5)
    (B) Query the department and Account Code Block Details from E-Business Suite(3) (using dblink) for the CCID's in step one and add to the GTT(5)
    (C) Run a query which uses the detail table(1), a function against the crossref table(2), and the crossreference GTT(5) to create the output in the report GTT(6)
    (D) An ApEx page process that counts the output and returns to a page without Export to Excel for over 65000 records or with Export for under.
    The parameter page is an ApEx page with some text fields, a couple date fields, and some checkboxes. An after submit process calls a packaged procedure which calls separate procedures for (A), (B), and (C), the page then branches to a page that shows an animated gif and current step of the process {this is what is not working right now}. Once the task completes this page branches as per (D) to a page that shows all the contents of the GTT report(6).
    The process works successfully with the exception that instead of going to a page to show the process the system simply hangs on the parameter page after the submit is pressed until the processing is done and then goes to the processing page just long enough to branch to the report page.
    I am beginning to think that I should alter the design to not use the GTT, but include the username as a field in the output table with a binary index on it for speed so that I can use the job scheduler to run a separate session and hence enable the processing page. The processing page is important as the query can take anywhere from 2 minutes to 2 hours to generate the report depending upon the parameters.

  • Running an update statement on two dependent attributes

    Dear All,
    I have a repair_job table that contains values for work_cost, parts_cost and total_cost which is the sum of the work and parts cost values. I want to run an update statement that doubles the work cost and, naturally, updates the value of total cost as well. I tried to run it as:
    update repair_job
    set work_cost = 2 * work_cost, total_cost = work_cost + parts_cost
    where licence in (
    select licence from car
    where year = to_char(sysdate,'YYYY')
    thinking that because the update of work_cost is first on the list, the updated value of total cost would be correct. It seems however that the update of total cost happens first and then the work cost is been updated; not sure what the reason is for that and it happens no matter what the order is in the update statement.
    I know that I can do it in two separate statements, or use a trigger or PL/SQL to do it but I am curious as to why it has this behaviour. Also, is there a way to do it in a single SQL statement - i.e. forcing the update of the work_cost attribute first and then that of total_cost?
    I look forward to hearing from you soon.
    Regards,
    George

    Welcome to the forum!
    >
    thinking that because the update of work_cost is first on the list, the updated value of total cost would be correct. It seems however that the update of total cost happens first and then the work cost is been updated; not sure what the reason is for that and it happens no matter what the order is in the update statement.
    I know that I can do it in two separate statements, or use a trigger or PL/SQL to do it but I am curious as to why it has this behaviour. Also, is there a way to do it in a single SQL statement - i.e. forcing the update of the work_cost attribute first and then that of total_cost?
    >
    The update to all columns of the row happen at the same time - there is no order involved.
    You don't need two statements but you do need to do the updates based on the current value of the columns.
    set work_cost = 2 * work_cost, total_cost = 2 * work_cost + parts_cost----------
    In addition to sb92075's comments in 11 g you could also just define a virtual column for total_cost and then just query it like you do now.
    total_cost   NUMBER GENERATED ALWAYS AS (work_cost + parts_cost) VIRTUAL,See this Oracle-base article for an example
    http://www.oracle-base.com/articles/11g/virtual-columns-11gr1.php
    Edited to supplement sb92075's reply by mentioning virtual columns

  • Trying to run a query

    I'm trying to run a query in a JTextField and then have that query display the output in a JTable. When I try to use .getText() to store the query in a string I keep getting errors about SQLException. Can anyone lend me in hand in telling me what I'm doing wrong?
    This is the error I get when the line below would say:
    query=jtf.getText();
    c:\java>java myguidemo
    Exception in thread "main" java.sql.SQLException: Invalid SQL type
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :208)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:67)
    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1169)
    at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatem
    ent.java:4044)
    at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(OracleSta
    tement.java:4196)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
    1280)
    at myguidemo.<init>(myguidemo.java:39)
    at myguidemo.main(myguidemo.java:106)
    c:\java>
    Here is what I have so far. I took out the oracle IP and login. This is a working version, but where query = "SELECT * ....." I would like that to get whatever is typed in the JTextField. Also button1-5 is supposed to display the entire table in the JTable just by clicking it. Right now I just have them to change background color to make sure they worked.
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class myguidemo extends JFrame implements ActionListener{
              Connection connection;
              Statement stmt;
              String query;
              ResultSet results;
              ResultSetMetaData md;
              int numrows, numcols;
              AbstractTableModel dataModel;
              Object [][] data;
    JTextField jtf;
    JTable jtb;
    JPanel jp;
    JScrollPane jsp;
    JButton button1, button2, button3, button4, button5;
    public myguidemo() throws Exception{
              Class.forName( "oracle.jdbc.driver.OracleDriver" );
              connection = DriverManager.getConnection("jdbc:oracle:thin:@);
              jp = new JPanel();
              add(jp,BorderLayout.SOUTH);
    jtb = new JTable();
    add(jtb,BorderLayout.CENTER);
    jtf = new JTextField();
    add(jtf,BorderLayout.NORTH);
    query = "SELECT * FROM PATIENT";
    stmt = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    results = stmt.executeQuery(query);
    md = results.getMetaData();
              numcols = md.getColumnCount();
              numrows = 0;
              while(results.next()) numrows++;
              results.beforeFirst();
              data = new Object[numrows][numcols];
              results.next();
              for(int i=0; i<numrows; i++){
                   for(int j=1; j<=numcols; j++){
                        data[i][j-1] = results.getString(j);
                   results.next();
    dataModel = new AbstractTableModel(){
         public int getColumnCount() {return numcols;}
         public int getRowCount() {return numrows;}
         public Object getValueAt(int row, int col) {return data[row][col];}
    jtf.addActionListener(this);
    jtb = new JTable(dataModel);
    jsp = new JScrollPane(jtb);
    add(jsp);
    button1 = new JButton("Doctor");
    button2 = new JButton("Medication");
    button3 = new JButton("Patient");
    button4 = new JButton("Prescription");
    button5 = new JButton("Supplier");
    jp.add(button1);
    jp.add(button2);
    jp.add(button3);
    jp.add(button4);
    jp.add(button5);
    button1.addActionListener(this);
    button2.addActionListener(this);
    button3.addActionListener(this);
    button4.addActionListener(this);
    button5.addActionListener(this);
    setTitle("CSIT");
    setSize(1280,720);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setVisible(true);
    public void actionPerformed(ActionEvent e){
    if (e.getSource() == jtf){
         jtf.setText("");
    if (e.getSource() == button1) jtb.setBackground(Color.RED);
    if (e.getSource() == button2) jtb.setBackground(Color.GREEN);
    if (e.getSource() == button3) jtb.setBackground(Color.BLUE);
    if (e.getSource() == button4) jtb.setBackground(Color.ORANGE);
    if (e.getSource() == button5) jtb.setBackground(Color.YELLOW);
    public static void main(String args[]) throws Exception{
         new myguidemo();
    Edited by: rizzo18 on Dec 12, 2009 1:46 PM
    Edited by: rizzo18 on Dec 12, 2009 2:06 PM

    I'm trying to run a query in a JTextField and then have that query display the output in a JTable.1. Write classes that only do JDBC. If there is any GUI code at all in them then it is wrong.
    2. Test those classes and modify until they work.
    3. Use those classes in your GUI code (other classes) to do what you want.
    Questions about 1 and 2 go in this forum. Questions about 3 go into a GUI forum.
    Use code tags when you post code.

  • Help running a query in CF

    Hello - I'm able to run the following query in MS Access:
    SELECT *
    FROM p_retreat
    WHERE ((Not (p_retreat.sessions)=" "));
    When I try to run it from a ColdFusion page I get the error
    below. I would appreciate any suggestions for running this query in
    CF.:
    Error Diagnostic Information
    ODBC Error Code = 07001 (Wrong number of parameters)
    [Microsoft][ODBC Microsoft Access Driver] Too few parameters.
    Expected 1.
    Hint: The cause of this error is usually that your query
    contains a reference to a field which does not exist. You should
    verify that the fields included in your query exist and that you
    have specified their names correctly.
    SQL = "select code, lastname, firstname, sessions from
    p_retreat WHERE ((Not (p_retreat.sessions)=" ")) order by lastname"
    Data Source = "TRAINING_CALENDAR"
    The error occurred while processing an element with a general
    identifier of (CFQUERY), occupying document position (19:1) to
    (19:54).
    Date/Time: 09/08/06 15:27:31
    Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    .NET CLR 1.1.4322)
    Remote Address: 10.1.5.55
    HTTP Referrer:
    http://intra/cfapps/register/retreat_report.cfm

    use single quotes ' ' not double.
    In addition the ; will probably cause an error too.
    HTH
    Tim Carley
    www.recfusion.com
    [email protected]

  • Running a query in a View Designer results in an error, but running the same query in a Query window works

    Hi everyone,
    Just as my title says, I have a query which I've written in a query window and it works perfectly.
    But when I try to add the query code into the view designer, it throws a Syntax error.
    Error in ON clause near '('.Unable to parse query text.
    Also, when running the query from the view designer (pressing red exclamation mark) I get a different error.
    SQL Execution Error.Executed SQL statement: SELECT Sku, ParentSku, UPC, ...Error Source: .Net SqlClient Data ProviderError Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Has anyone else experienced this and is there any workaround?
    I have tried to create the view with T-SQL (CREATE VIEW etc.), but when opening it in the view designer I get the error from the 1st image.
    Thank you,
    Radu

    Hi Radu,
    Yes, I have faced similar issue. I had a View and it was working totally fine but when once I opened it in via right click - View Design, it was giving parse error.
    Cause is that Query designer parse and executes the query without error but the way View designer works, it can't parse it.
    Later I ignored View desinger and just used T-SQL like CREATE/ALTER view.
    Workaround is to do right click on View - Script View as - CREATE To/ ATER To.
    Regarding Timeout error, again the issue with View designer which couldn't execute query in there and ended up with timeout error.
    If your SELECT query and SELECT * FROM YourView works fine in Query designer, you are good to go.
    Similar threads:
    View with errors still saved, and still works...
    Parsing error when creating view
    -Vaibhav Chaudhari

  • Problem in running the query on ODS

    Hi All,
    I have been trying to run the query which consists of only 25 fields and doen't contain much calculations and routines and trying to restrict even 7000 records.
    That too result in system failure reporting on storage parameters somtimes giving dump as well.
    Could you please suggest me the solution for this as this is urgent requirement.
    Thanks
    Suryam

    Hi,
    Are you using a filter / restrictions in the query,if So create a Secondary index which can be suitable(same order) to this filterations/restrictions.
    You can find the order in where cluase in the sql statement used in the query execution.you can see it in SM50.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • DVI to ADC Adapter question

    I've got a Quicksilver 933 (2002) and want to get the ATI Radeon 9600 Pro PC & Mac Video Card. I have a 17" Apple Cinema Display and want to add the new 20" Apple Display for an extended desktop. The ATI card has 2 DVI outs. I will need a DVI to ADC

  • ITunes/iPhone 6 issue

    I just bought an iPhone 6. I was able to backup my iPhone 5 and restore the content to the 6 without any issues. However, iTunes is still considering it a new phone and wants me to either setup as a new phone or restore from the backup (again). I res

  • Premiere Pro CS3 having trouble with 24" monitors

    Can anyone tell me anything about using a 1920 X 1200 resolution with CS3 products?  I try to open PPro CS3 on my new 24" monitor and it crashes.  I have a 768Mb Nvidia Graphics card and the latest drivers installed.  I've tried resetting the resolut

  • Records insert differently with FK?

    I have a parent and child with a foreign key (nothing special, just alter table add constraint foregin key). If I add the FK 1st then populate both tables, a join takes 4+ seconds. If I populate 1st then add the FK, the join is almost instant. Is Ora

  • How To Copy Slides without Losing Object Properties

    Because I was working in a corrupt file, I had to copy and paste my slides into a new project. After doing this, I see that my click boxes, captions, and other objects lose their properties (including Item Name, "On Success: Show" instructions, timin