Endeca Server performance issue: dgraph is slow and not always available
Hi, I'm experiencing a problem with Endeca Server. It's very slow and the dgraph process takes about 97% of the cpu without doing queries.
When I try to open the Studio Page, the cpu utilization of the dgraph process increases up to 200%, and if I try to launch a simple query from Integrator the result is:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Error contacting the conversation service on data store 'SocialIDData' at port 7011: Error parsing data version from DGraph response.</faultstring>
<detail>
<ns2:Fault xmlns:ns2="http://www.endeca.com/MDEX/conversation/2/0" xmlns:ns3="http://www.endeca.com/MDEX/lql_parser/types"/>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
If I try to ping the Data Store by visiting the url http://192.168.2.16:7001/endeca-server/admin/SocialIDData?op=ping sometimes the response is positive, and sometimes it's negative.
I've also checked the log file in ${ENDECA_SERVER_DOMAIN}/EndecaServer/logs/SocialIDData.out and I've found that message:
MALLOC: 4656726016 ( 4441.0 MB) Heap size
MALLOC: 4617801000 ( 4403.9 MB) Bytes in use by application
MALLOC: 23912448 ( 22.8 MB) Bytes free in page heap
MALLOC: 2146304 ( 2.0 MB) Bytes unmapped in page heap
MALLOC: 4865568 ( 4.6 MB) Bytes free in central cache
MALLOC: 198144 ( 0.2 MB) Bytes free in transfer cache
MALLOC: 7802552 ( 7.4 MB) Bytes free in thread caches
MALLOC: 27450 Spans in use
MALLOC: 7 Thread heaps in use
MALLOC: 19922944 ( 19.0 MB) Metadata allocated
MALLOC: 4096 Tcmalloc page size
Endeca fatal error detected in dgraph.
Segmentation violation detected.
testbi.localdomain:/u01/app/oracle/Middleware/user_projects/domains/endeca_domain/EndecaServer/logs
Register state:
Stack trace:
Please report this problem to Endeca and include the following information
1. Endeca software version number
2. Operating system, operating system version, and hardware platform
3. Any other information that you can provide (including core files)
4. The contents of this message
Process map:
00400000-049b4000 r-xp 00000000 fd:04 2590868 /u01/app/oracle/Middleware/EndecaServer7.5.1_1/endeca-server/dgraph/bin/dgraph
04bb4000-04c11000 rw-p 045b4000 fd:04 2590868 /u01/app/oracle/Middleware/EndecaServer7.5.1_1/endeca-server/dgraph/bin/dgraph
04c11000-04c69000 rw-p 00000000 00:00 0
As you can see at rows 16-17-18 that's a problem with the dgraph, but I have no idea on how resolve it.
My system configuration is:
OS: Oracle Linux 6
OEID 3
Can anyone help me? Thank you.
Samuele Scattolini
Please contact Oracle Support at http://support.oracle.com for assistance. Thanks.
Similar Messages
-
Required info on SQL Server Performance Issue Analysis and Troubleshoot way
Dear All,
I am going to prepare the simple documentation steps on SQL Server Performance Issue Analysis and troubleshoot method. I am struggling to make this documentation since we have different checklist (like network latency,disk latency, memory/processor pressure,SQL
query tuning etc) to validate once application performance issue reported from the customer.So, I am looking for the experts document or link sharing .
Your input will help for document preparation in better way.
Thanks in advance.Hi,
Recommendations and Guidelines on configuring disk partitions for SQL Server
http://support.microsoft.com/kb/2023571
Disk and File Layout for SQL Server
https://blogs.technet.com/b/dataplatforminsider/archive/2012/12/19/disk-and-file-layout-for-sql-server.aspx
Microsoft SQL Server 2012 Performance Tuning: Implementing Physical Database Structure
http://www.packtpub.com/article/sql-server-2012-implementing-physical-database-strusture
Database Mirroring Best Practices and Performance Considerations
http://technet.microsoft.com/en-us/library/cc917681.aspx
Hope the information helps.
Tracy Cai
TechNet Community Support -
RE: Case 59063: performance issues w/ C TLIB and Forte3M
Hi James,
Could you give me a call, I am at my desk.
I had meetings all day and couldn't respond to your calls earlier.
-----Original Message-----
From: James Min [mailto:jminbrio.forte.com]
Sent: Thursday, March 30, 2000 2:50 PM
To: Sharma, Sandeep; Pyatetskiy, Alexander
Cc: sophiaforte.com; kenlforte.com; Tenerelli, Mike
Subject: Re: Case 59063: performance issues w/ C TLIB and Forte 3M
Hello,
I just want to reiterate that we are very committed to working on
this issue, and that our goal is to find out the root of the problem. But
first I'd like to narrow down the avenues by process of elimination.
Open Cursor is something that is commonly used in today's RDBMS. I
know that you must test your query in ISQL using some kind of execute
immediate, but Sybase should be able to handle an open cursor. I was
wondering if your Sybase expert commented on the fact that the server is
not responding to commonly used command like 'open cursor'. According to
our developer, we are merely following the API from Sybase, and open cursor
is not something that particularly slows down a query for several minutes
(except maybe the very first time). The logs show that Forte is waiting for
a status from the DB server. Actually, using prepared statements and open
cursor ends up being more efficient in the long run.
Some questions:
1) Have you tried to do a prepared statement with open cursor in your ISQL
session? If so, did it have the same slowness?
2) How big is the table you are querying? How many rows are there? How many
are returned?
3) When there is a hang in Forte, is there disk-spinning or CPU usage in
the database server side? On the Forte side? Absolutely no activity at all?
We actually have a Sybase set-up here, and if you wish, we could test out
your database and Forte PEX here. Since your queries seems to be running
off of only one table, this might be the best option, as we could look at
everything here, in house. To do this:
a) BCP out the data into a flat file. (character format to make it portable)
b) we need a script to create the table and indexes.
c) the Forte PEX file of the app to test this out.
d) the SQL staement that you issue in ISQL for comparison.
If the situation warrants, we can give a concrete example of
possible errors/bugs to a developer. Dial-in is still an option, but to be
able to look at the TOOL code, database setup, etc. without the limitations
of dial-up may be faster and more efficient. Please let me know if you can
provide this, as well as the answers to the above questions, or if you have
any questions.
Regards,
At 08:05 AM 3/30/00 -0500, Sharma, Sandeep wrote:
James, Ken:
FYI, see attached response from our Sybase expert, Dani Sasmita. She has
already tried what you suggested and results are enclosed.
++
Sandeep
-----Original Message-----
From: SASMITA, DANIAR
Sent: Wednesday, March 29, 2000 6:43 PM
To: Pyatetskiy, Alexander
Cc: Sharma, Sandeep; Tenerelli, Mike
Subject: Re: FW: Case 59063: Select using LIKE has performance
issues
w/ CTLIB and Forte 3M
We did that trick already.
When it is hanging, I can see what is doing.
It is doing OPEN CURSOR. But not clear the exact statement of the cursor
it is trying to open.
When we run the query directly to Sybase, not using Forte, it is clearly
not opening any cursor.
And running it directly to Sybase many times, the response is always
consistently fast.
It is just when the query runs from Forte to Sybase, it opens a cursor.
But again, in the Forte code, Alex is not using any cursor.
In trying to capture the query,we even tried to audit any statementcoming
to Sybase. Same thing, just open cursor. No cursor declaration anywhere.==============================================
James Min
Technical Support Engineer - Forte Tools
Sun Microsystems, Inc.
1800 Harrison St., 17th Fl.
Oakland, CA 94612
james.minsun.com
510.869.2056
==============================================
Support Hotline: 510-451-5400
CUSTOMERS open a NEW CASE with Technical Support:
http://www.forte.com/support/case_entry.html
CUSTOMERS view your cases and enter follow-up transactions:
http://www.forte.com/support/view_calls.htmlEarthlink wrote:
Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? Well, we're missing a lot here.
Like:
- a database version
- how did you test
- what data do you have, how is it distributed, indexed
and so on.
If you want to find out what's going on then use a TRACE with wait events.
All nessecary steps are explained in these threads:
HOW TO: Post a SQL statement tuning request - template posting
http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
Another nice one is RUNSTATS:
http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701 -
How do I do a defrag? My machine is running slow and defragging always worked with Microsoft. Thanks in advance.
Pat,
Use Activity Monitor to keep an eye on your disk use and memory use. You may hear different figures, but I like to see my free disk and free memory above 25%. Sometimes all it takes is a Restart. Try to minimize the number of browser windows you have open at once. Quit unused applications.
Many of us in this discussion area like to use OnyX periodically. It clears caches and repairs permissions, etc. You can download it from this site. Be sure to download the one for the OS version you are using. There is a script called Automation within OnyX that allows you to start it and come back later when it's done with several actions.
Jerry -
My Final Cut X changed behaviour after conneting the external monitor via HDMI. Several times after restarting Final Cut X was very slow and it always kept repeating rendering on same three clips after every restart. Later the dual screen icon disapeared on the top of my screen and it stops rendering on every restart like before and the machine was normal and faster. Now Final Cut won't start anymore whenever I start it loads and crushes immediately on every restart.
Upgrade FCPX
-
I have areas of my iPad screen that does not respond to touch. Is that normal? The areas are random and not always in the same place. Is there anything I can do to fix this problem?
Have you tried rebooting it by holding the home and on button until the Apple logo appears?
-
Navigation very slow and not able to enter in memory a sequence issue
Hello,
we have a big problem with oracle forms performance since we deployed our
application to the web. all our customers are not confortable with this new
environment because the sytem are very slow and working it's very difficult.
our application is very slow in point of when the user use very quickly the key
functions it doens't work.
I explain :
for example, we have a button &Verifier (alt+v : acces key to this button) and
when clicking to button we have a dialox box that contains 2 buttons:
Oui(alt+O:access key) and Non(alt+N:access key) and if we click Oui(alt+O) it
popup as an information box and we must click Ok(alt+O: access key).
then if we click quickly alt+v after alt+o after alt+o it doens't work and it
wait to click againt alt+o.(like the system doesn't follow or has not yet enter all the sequence in the memory)
before in client/server it work's fine.
it's like our application in the web it's not able to entered in memory a
serial of access key.
please can you help me the problem is always occuring in the production
environment.
our environment:
- oracle jiniator :1.3.1.22
OAS 10G (9041)
DATABASE 9206
- the complete version of forms : 9.0.4.0.19
- we have 23 USERS.
any help are welcome, the problem are urgent.
thank you.Hi
Lets analyse and hope to narrow down your issue
We have used the Pick and Pack Manager to release goods from Sales Order through to Invoice. The functionality offered is good,
> Slow performance could be triggered by multile issue , so lets wait
> Do you know PICKand PACK manager is only for status ,but it actually doesn't affect inventory level .
but in practise the system is so slow it is taking 2 to 3 times longer than copying to a Sales Invoice.
> You need to do delivery first and transfer the delivery into invoice .
Is there any way of cutting out part of the process to speed things up? What we really need is to be able to create an invoice(s) straight from the Pick and Pack manager.
>> It basically depends upon your business process . but by software , You can bypass Pick and PACK Manager process. You can transfer your sales order into A/R invoice and while posting A/R invoice , inventory will be reduced .
Hope this help to narrow down your issue
thank you
Bishal -
Terminal Server performance issue
Hi,
We have Acrobat Pro 11.0.07 on a Terminal Serveur ( windows server 2008 R2 standard) and got performance issue when we use acrobat. Acrobat use a complete core and this is slowing our server. Is there an other version of Acrobat to use or patch to fix that issue ?Hi Sean,
"Equally annoying. When I remove the printer in question, it re-adds itself and I end up with multiple copies of the same printer. Is there anyway to stop this from happening?"
Did you try to login this terminal server locally ?
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hi All,
Our BW server is too slow after the refresh of the testing server.I will explain the problem in detail below.
here are the activities we undertook after basis handed the system back to us post refresh. I can't comment on any of the activites they(basis team) did as part of their process.
1. De-scheduled all the process chains in BT1
2. Checked the monitor (RSPCM) to see if any process chains had kicked off (at this point I was worried live source-system deltas were being extracted)
3. The system showed 4-6 process chains that had kicked off.
4. Quickly consulted with Basis - I was worried that the live source systems (RS1 and FS1) 'saw' the now refreshed BT1 system as 'BS1' (the live BW system)
5. Agreed that the best step would to remove RS1 and FS1 as source systems to BT1. Going forward, we wouldn't want them connected anyway.
6. I deleted both RS1 and FS1 as source systems to BT1 in the admin workbench (RSA1)
7. This left the 'started' process chains in a yellow status and unfortunately removed the partner profile information from both FS1 and RS1 and no data loads were possible
8. Basis corrected this error by 'Restoring' the source systems in RSA1
9. Loads now possible from both source systems
Our current problem is:
RSPCM hangs (left for over 4 hours) when run for 'Today'
Support are unable to reschedule the 'hung' process chains - I believe this is caused by the fact that they cannot turn the process chains red from RSMO - the system just hangs.
We believe the problem is isolated to loads from FS1.We have two source systems.FS1 and RS1.The loads from RS1 is Now the server is too slow and we are unable to turn the amber loads to red.When trying to do so the system hangs.Pls help us on this.
Regards,
SupriyaHi,
When I give date range in rsmo as 11.12.2007 to 19.12.2007,I can see lots of data loads are in yellow status.When I try to turn the amber loads to red the system hangs.These loads are from FS1(R/3 production).So I have checked in R/3 sm37 and I couldn't find any job which has started on 11th and still running.What could be the problem?How to turn these amber loads to red?Without doing this I cannot start any new deltas.Now the performance of the system is ok.Only problem we are facing is unable to reschedule 3 process chains and unable to kill the jobs which are running for a long time.I think by killling these jobs will help us to reschedule the process chains.Pls help us on this issue.
Thanks in advance
Supriya -
My server Performance issue.
Hi friends,
I have one of my quality system. Its response time is slow 2000 ms as i checked the average processing time is 977 ms with is far grater than the CPU time 300ms. As per this i though either the DB bottle neck or CPU bottle neck or Network issue causing this issue.
If this is the network issue the remaining servers are working fine.
Could you kindly suggest how to investigate this issue to make the performance better.
Thanks.
Chowdary.Hi Chowdry,
There is few recommendation from my side to improve the performance.
If you DB and CI is on the same server then check the value PHYS_MEMSIZE in Rz11 and adjust the value ...eg : if the 32 gb RAM is available in system then assign 22 GB to PHYS_MEMSIZE and leave 10 GB for DB..
Check in sm21 if any message related to network...
Please share the I/o Read and write time from db02 ....
RK -
MacBook Pro performance issues w/2nd monitor and FCP7
I have this MacBook Pro bought brand-new in January 2010:
Model Name: MacBook Pro
Model Identifier: MacBookPro5,2
Processor Name: Intel Core 2 Duo
Processor Speed: 3.06 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 6 MB
Memory: 8 GB
Bus Speed: 1.07 GHz
and until today had never attached a second monitor to it. Today I hooked up my Samsung 24" to do some dual screen editing in Final Cut 7.0.3. I was unable to play back my video at full speed in the second monitor, and after a few seconds of skippy playback I'd get that error message about unable to play back video at full speed and to check my RT settings. I was using a Mini DisplayPort to DVI adapter. My computer has no issues playing the video in the laptop's monitor at any resolution and any quality settings (I've never changed the RT settings or anything else in the menu ever but I tried every combination this time). I then tried using my TV as a 2nd monitor with an HDMI adapter. Same performance issues. I then tried my friend's newer 13" MBP 8,1 and it performed flawlessly with the same project & footage. I feel like my $3,000 computer should outperform a $1,200 one even if mine is a year and a half older. Any advice?
ChrisWow, you posted this perfectly to coincide with an identical problem, albeit using Logic Pro 9.1.5 rather than FCP.
Last week, I purchased a 23" external monitor to use alongside my "flagship" 2011 15" hi-res, 2.3 i7 Macbook Pro with 8Gb of RAM.
It is connected via a mini-DVI to D-sub analog (not that that should matter?) and all appeared fine.
The first issue I had was with my MBP's fan now running CONSTANTLY, when I have the second monitor attached. Even when the machine is completely idle.
When using the machine to record audio, this is a fairly hefty problem and not something I had anticipated - indeed why would I anticipate such a thing?
What is far, far worse though is that over the last few days I have had repeated problems with performance drop-outs and errors in Logic and I have trying to fathom out why. Realising that the only major system change made, was the above monitor connection, I ran some tests.
I restarted my MBP, no other apps were running and with my new 23" monitor attached acting as main display with MBP built in display on as secondary
I loaded up a fairly demanding Logic project which was hitting 40% to 60% CPU usage when using the built in MBP display last week
I ran activity monitor and had CPU usage history open
The above project now repeatedly overloads and playback halts in a given 8 bar section - with CPU at 80% most of the time
I disconnected the external display, no shut down, I just let the machine switch to the built in 15".
Started the same project, the same 8 bar section and hey presto - CPU usage back down to 40% to 60%
The above was reflected in the CPU usage history with the graph showing CPU use down by about a half, when running this Logic project WITHOUT the external display.
There is a very useful benchmark Logic project that has been used as a test by many users to gauge Logic performance on given Apple hardware.
The project has about 100 tracks pre-configured with CPU intensive plugins, designed to tax the CPU.
The idea is that you load up the project with tracks muted, press play and then unmute the tracks steadily until Logic us unable to play contiunously because of a system performance error.
On my MBP, with the external monitor NOT attached, I can play back around 50 of the audio tracks in this benchmark project.
With the monitor attached, I can get about 22 tracks playing.... which is actually a far worse a performance drop (-50% I think!?) than with the first example!
I did also try with just the external monitor attached and not the MBP display and performance was about 10% better than with dual monitors - so still extremely poor, to say the least.
This machine is the flagship MBP and has a dedicated AMD Radeon HD6750 GPU which should take care of most if not ALL graphics processing - I mean it's capable of running some pretty demanding games!
Putting aside the issue of constant fan noise, there is no reason AT ALL, why using an external monitor should tax the i7 CPU this way - it's not as though Logic is graphically demanding... far from it.
I am on 10.6.8, Logic 9.1.5, all apps up to date via "Software Update".
I will of course, be contacting Apple... -
Performance Issue on Traditional Import and Export
Scenario
=====
Oracle 9i Enterprise Edition (9.2.0.8)
Windows Server 2003 (32 bit)
--- to ---
Oracle 11g Enterprise Edition (11.2.0.3)
Windows Server 2008 Standard R2 (64 bit)
Hi to all
I'm doing a upgrade from 9i to 11g and i am using native imp/exp to migrate those data.. For my 1st round of testing, I have done the following:
1) Full DB Export from 9i. exp system/<pwd>@db FULL=Y FILE=export.dmp log=export.log
Encountered warning "EXP-00091: Exporting questionable statistics." (On hindsight, I know that I need to set the characterset as per my server before exporting) Nevertheless, I proceeded on with this 8.4GB dmp file that has the warning "EXP-00091: Exporting questionable statistics." The characterset in 9i is US7ASCII. My export took 1 hour, my 9i is actually only a small 26GB.
2) Full import to 11g. My 11g is a newly created DB with characterset WE8MSWIN1252. I know that schemas and objects will be automatically created in 11g.
3) However, the problem I face is that this importing of data has been running for the past 4 hours and counting and it is still not done.
My question is:
Is it because of the difference in the characterset in the dmp file and 11g that is causing this importing to be slow? Could it be that characterset conversion is causing high overhead?
OR
Is it because I exported all the indexes from 9i and now during importing, it is taking a long time to create those indexes in 11g? Should I have export full but set index=F and create a index creation script from 9i and run it in 11g, so as to save time?
OR
Both of the above is causing the importing to keep on running? Or ??
Edited by: moslee on Nov 21, 2012 11:54 PM
Edited by: moslee on Nov 22, 2012 12:01 AMHi to all
All my tablespaces in oracle 9i database is on 4096 block_size... But I pre-created those same tablespaces in 11g and they are on 8192 block_size..
Am I right to say that it is the differences in block size that is slowing down this importing?
If so, how can I solve this problem? If I use "IGNORE=Y" in my import statement, will it help? Thanks..
I think i will follow my 9i db and create the tablespaces in 11g in 4096 block_size...
Here's the new server (11g) specs (i know this is not officially supported by oracle yet):
Win Server 2012
HP Proliant DL360p
Intel Xeon CPU @ 2GHz
8GB Ram
======
Logfile
======
C:\>imp system/<pwd>@dbnew full=y file=export.dmp
Import: Release 9.2.0.1.0 - Production on Thu Nov 22 11:29:08 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via conventional path
Warning: the objects were exported by OEM, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
IMP-00017: following statement failed with ORACLE error 29339:
"CREATE UNDO TABLESPACE "UNDOTBS" BLOCKSIZE 4096 DATAFILE 'F:\ORADATA\UNDO\"
"UNDOTBS.DBF' SIZE 5120 , 'F:\ORADATA\UNDO\UNDOTBS1.DBF' SIZE 5120 "
" EXTENT MANAGEMENT LOCAL "
IMP-00003: ORACLE error 29339 encountered
ORA-29339: tablespace block size 4096 does not match configured block sizes
IMP-00017: following statement failed with ORACLE error 29339:
"CREATE TEMPORARY TABLESPACE "TEMP" BLOCKSIZE 4096 TEMPFILE 'D:\ORADATA\TEM"
"P\TEMP.DBF' SIZE 7524 AUTOEXTEND ON NEXT 20971520 MAXSIZE 8192M EXTE"
"NT MANAGEMENT LOCAL UNIFORM SIZE 10485760"
IMP-00003: ORACLE error 29339 encountered
ORA-29339: tablespace block size 4096 does not match configured block sizes
IMP-00015: following statement failed because the object already exists:
"REVOKE "OEM_MONITOR" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "HS_ADMIN_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "HS_ADMIN_ROLE" FROM SYSTEM"
. importing O3's objects into O3
Edited by: moslee on Nov 22, 2012 6:45 PM
Edited by: moslee on Nov 22, 2012 7:07 PM
Edited by: moslee on Nov 22, 2012 7:13 PM
Edited by: moslee on Nov 22, 2012 7:28 PM -
Performance issues involving tables S031 and S032
Hello gurus,
I am having some performance issues. The program involves accessing data from S031 and S032. I have pasted the SELECT statements below. I have read through the forums for past postings regarding performance, but I wanted to know if there is anything that stands out as being the culprit of very poor performance, and how it can be corrected. I am fairly new to SAP, so I apologize if I've missed an obvious error. From debugging the program, it seems the 2nd select statement is taking a very long time to process.
GT_S032: approx. 40,000 entries
S031: approx. 90,000 entries
MSEG: approx. 115,000 entries
MKPF: approx. 100,000 entries
MARA: approx. 90,000 entries
SELECT
vrsio "Version
werks "Plan
lgort "Storage Location
matnr "Material
ssour "Statistic(s) origin
FROM s032
INTO TABLE gt_s032
WHERE ssour = space AND vrsio = c_000 AND werks = gw_werks.
IF sy-subrc = 0.
SELECT
vrsio "Version
werks "Plant
spmon "Period to analyze - month
matnr "Material
lgort "Storage Location
wzubb "Valuated stock receipts value
wagbb "Value of valuated stock being issued
FROM s031
INTO TABLE gt_s031
FOR ALL ENTRIES IN gt_s032
WHERE ssour = gt_s032-ssour
AND vrsio = gt_s032-vrsio
AND spmon IN r_spmon
AND sptag = '00000000'
AND spwoc = '000000'
AND spbup = '000000'
AND werks = gt_s032-werks
AND matnr = gt_s032-matnr
AND lgort = gt_s032-lgort
AND ( wzubb <> 0 OR wagbb <> 0 ).
ELSE.
WRITE: 'No data selected'(m01).
EXIT.
ENDIF.
SORT gt_s032 BY vrsio werks lgort matnr.
SORT gt_s031 BY vrsio werks spmon matnr lgort.
SELECT
p~werks "Plant
p~matnr "Material
p~mblnr "Document Number
p~mjahr "Document Year
p~bwart "Movement type
p~dmbtr "Amount in local currency
t~shkzg "Debit/Credit indicator
INTO TABLE gt_scrap
FROM mkpf AS h
INNER JOIN mseg AS p
ON hmblnr = pmblnr
AND hmjahr = pmjahr
INNER JOIN mara AS m
ON pmatnr = mmatnr
INNER JOIN t156 AS t
ON pbwart = tbwart
WHERE h~budat => gw_duepr-begda
AND h~budat <= gw_duepr-endda
AND p~werks = gw_werks.
Thanks so much for your help,
JayeshIssue with table s031 and with for all entries.
Hi,
I have following code in which select statement on s031 is
taking long time and after that it shows a dump. What should I do instead of
exceeding the time limit of execution of an abap program.
TYPES:
BEGIN OF TY_MTL, " Material Master
MATNR TYPE MATNR, " Material Code
MTART TYPE MTART, " Material Type
MATKL TYPE MATKL, " Material Group
MEINS TYPE MEINS, " Base unit of Measure
WERKS TYPE WERKS_D, " Plant
MAKTX TYPE MAKTX, " Material description (Short Text)
LIFNR TYPE LIFNR, " vendor code
NAME1 TYPE NAME1_GP, " vendor name
CITY TYPE ORT01_GP, " City of Vendor
Y_RPT TYPE P DECIMALS 3, "Yearly receipt
Y_ISS TYPE P DECIMALS 3, "Yearly Consumption
M_OPG TYPE P DECIMALS 3, "Month opg
M_OPG1 TYPE P DECIMALS 3,
M_RPT TYPE P DECIMALS 3, "Month receipt
M_ISS TYPE P DECIMALS 3, "Month issue
M_CLG TYPE P DECIMALS 3, "Month Closing
D_BLK TYPE P DECIMALS 3, "Block Stock,
D_RPT TYPE P DECIMALS 3, "Today receipt
D_ISS TYPE P DECIMALS 3, "Day issues
TL_FL(2) TYPE C,
STATUS(4) TYPE C,
END OF TY_MTL,
BEGIN OF TY_OPG , " Opening File
SPMON TYPE SPMON, " Period to analyze - month
WERKS TYPE WERKS_D, " Plant
MATNR TYPE MATNR, " Material No
BASME TYPE MEINS,
MZUBB TYPE MZUBB, " Receipt Quantity
WZUBB TYPE WZUBB,
MAGBB TYPE MAGBB, " Issues Quantity
WAGBB TYPE WAGBB,
END OF TY_OPG,
DATA :
T_M TYPE STANDARD TABLE OF TY_MTL INITIAL SIZE 0,
WA_M TYPE TY_MTL,
T_O TYPE STANDARD TABLE OF TY_OPG INITIAL SIZE 0,
WA_O TYPE TY_OPG.
DATA: smonth1 TYPE spmon.
SELECT
a~matnr
a~mtart
a~matkl
a~meins
b~werks
INTO TABLE t_m FROM mara AS a
INNER JOIN marc AS b
ON a~matnr = b~matnr
* WHERE a~mtart EQ s_mtart
WHERE a~matkl IN s_matkl
AND b~werks IN s_werks
AND b~matnr IN s_matnr .
endif.
SELECT spmon
werks
matnr
basme
mzubb
WZUBB
magbb
wagbb
FROM s031 INTO TABLE t_o
FOR ALL ENTRIES IN t_m
WHERE matnr = t_m-matnr
AND werks IN s_werks
AND spmon le smonth1
AND basme = t_m-meins. -
OEID 3 - Endeca Server Installation Issue
Helo,
I am in the process of installing components of OEID 3 in my Windows7 machine.
I installed Weblogic and ADF as per the instructions given here - http://docs.oracle.com/cd/E37502_01/server.751/es_install/toc.htm#Installing%20WebLogic%20Server%20and%20Application%20Developer%20Runtime
I installed Endeca Server as per the instructions given here - http://docs.oracle.com/cd/E37502_01/server.751/es_install/toc.htm#Installing%20Oracle%20Endeca%20Server
There is no error while installing the Endeca Server but the Oracle Home Size is only 44MB while it should be 470MB as per the instruction.
The problem is while creating the WebLogic domain, Endeca Server is not appearing for selection.
Did anyone get into similar situation? Is this related to Windows7? What am I missing?
Thanks,
VJHi VJ,
Are you referring to this step in the installation procedure (Creating the WebLogic Domain for Endeca Server)?
http://docs.oracle.com/cd/E37502_01/server.751/es_install/toc.htm#Creating%20the%20WebLogic%20domain%20for%20Endeca%20Server
If so, this indicates that either the Endeca Server, or the ADF were not properly installed. Are you sure you are using the WLS and ADF packages as indicated in the documentation? Are you using Sun JDK 6?
Julia -
Performance Issue in Query using = and =
Hi,
I have a performance issue in using condition like:
SELECT * FROM A WHERE ITEM_NO>='M-1130' AND ITEM_NO<='M-9999'.
Item_No is a varchar2 field and the field contains Numberical as well as string values.
Can anyone help to solve the issue.
Thanks and RegardsHow can you say it is a performance issue with the condition? Do you have execution plan? If yes, post it between [pre] and [/pre] tags. Like this.
[pre]SQL> explain plan for
2 select sysdate
3 from dual
4 /
Explained.
SQL> select * from table(dbms_xplan.display)
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 1546270724
| Id | Operation | Name | Rows | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 2 (0)| 00:00:01 |
| 1 | FAST DUAL | | 1 | 2 (0)| 00:00:01 |
8 rows selected.
SQL>
[/pre]
Maybe you are looking for
-
Unable to debug indesign cs5 plugin in windows
Hi, again. Originaly posted here: http://forums.adobe.com/thread/766469?tstart=0 We are having some problems with an indesign sc5 plugin, it works perfectly in macosx but in windows it causes indesign to crash. Anyway after some trouble shooting we t
-
B575: Microsoft Visual C++ Runtime Library Error on Startup? Please Help!
This came out of the blue, I just started up my laptop and out of no where my Windows 7 Ultimate transperancy graphics are gone and I can't connect to the internet! I get this message on startup saying 'Microsoft Visual C++ Runtime Library Error', fo
-
What is the best external hard drive (USB 2.0) to get for my Mac?
Here is a question from your "average user" I'm looking for an external hard drive for my iMac (Mac OS X 10.7.2 - only 4 GB). I was looking at 1Tb. We have a new baby so I'd like to protect my pictures, video, and scrapbooking files in addition to us
-
Restored mac - iphone doenst recognize itunes - erase and sync
HI, I recently had to completely restore my Mac Book Pro... complete re-install everything, OSX Mavericks, itunes, the whole 9 yards. Problem - My iphone was synced with the same computer, but now it doesnt recognize it as its "home" itunes library.
-
Hi, I have a setup ISE 1.1.1. Users are getting authenticate against AD. Everything is working fine except some users report disconnection. I see in the ISE that (Authentication failed: 24415 User authentication against Active Directory failed since