Running multiple instances of program in parllel processing.
Hi Experts...
We have an issue where we need to update huge set of data (say more than 2000000), update is simple where some BI table needs to be updated for few fields.
Now issue is that if at one go this update is done then there is memory issue, system is not able to extend the internal table beyond a permitted memory.
For this there may be some chanes which could be done in report RSMEMORY but business does not want this way.
I want to know what does "running multiple instances of a program in parllel processing, one job does not have to update the whole table".
Program is ready but simply running program without any input on the selection screen is picking all data and ending up in a short dump since there is huge data in the BI table.
What is the best possible way to update table through program where there is an issue of Huge data.
Do we have any expert comments on this ?
Thanks & Regards,
Mark
Hope this gives some direction !
Bundling using Function Modules for Updates
If you call a function module using the statement CALL FUNCTION ... IN UPDATE TASK, the function module is flagged for execution using a special update work process. This means that you can write the Open SQL statements for the database changes in the function module instead of in your program, and call the function module at the point in the program where you would otherwise have included the statements. When you call a function module using the IN UPDATE TASKaddition, it and its interface parameters are stored as a log entry in a special database table called VBLOG.
http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm
Rgds
Sameer
Similar Messages
-
Running multiple instances of program at same time problems
I have a c++ program that uses BerkeleyDB 4.8.26 with transactions. Program works well, and I can run multiple instances of program and they cooperate on database very well. Problem arises when I run a small test program that runs 10 instances of the same program at same time.
Test program opens database with transactions, it does some database reads and writes and quits. This test is run in 10 instances of the same program at the same time. Some instances run and finish well, other instances end up with some of these errors:
unable to allocate memory for the lock table
PANIC: Cannot allocate memory
Error opening environment: DB_RUNRECOVERY: Fatal error, run database recovery
another with:
db_files/__db.001: No such file or directory
db_files: No such file or directory
Error opening environment: Invalid argument
others with this one:
Log file corrupt at LSN: [1][84474]
fileops: close db_files/log.0000000001
PANIC: Invalid argument
unable to join the environment
db_files: No such file or directory
Error opening environment: DB_RUNRECOVERY: Fatal error, run database recovery
I don't understand reason of this error, as I thought (and read) that BerkeleyDB should be able to handle multiple instances accessing database and is thread-safe.
I tried to run the test on both NFS and local disk drive with same results.
Is there anyone with ide what could be causing this problem ? My platform is x86_64 GNU/Linux 2.6.18-164.el5
Edited by: Miro Janosik on 21.9.2010 22:42If there is someone who would like to look at this problem I'd like to show you program log files with verbose output turned on. There are 11 log files in the archive: http://bin.mypage.sk/FILES/log.rar
Log files that end up with lines like this one below mean that program finished running ok:
4000|0 4 20100922 07:07:24.094 20100922 07:07:24.094 FLOW_CMD
Here below is output from one of log files:
FilePersistentStorage::open() start
FilePersistentStorage::open() ReadDir
FilePersistentStorage::open() db_env_create
FilePersistentStorage::open() db_env_create ok
FilePersistentStorage::open() set cachesize
FilePersistentStorage::open() set_tx_max
FilePersistentStorage::open() set_timeout
FilePersistentStorage::open() set_lk_detect
FilePersistentStorage::open() exists homedir?
envp->open
FilePersistentStorage::open() envp->open
fileops: stat /var/tmp
fileops: open db_files/__db.rep.init
fileops: close db_files/__db.rep.init
fileops: open db_files/__db.001
fileops: close db_files/__db.001
fileops: open db_files/__db.001
fileops: mmap db_files/__db.001
fileops: close db_files/__db.001
unable to join the environment
fileops: directory list db_files
fileops: unlink db_files/__db.005
fileops: unlink db_files/__db.004
fileops: unlink db_files/__db.003
fileops: unlink db_files/__db.002
fileops: unlink db_files/__db.001
fileops: open db_files/__db.001
fileops: open db_files/__db.001
fileops: read db_files/log.0000000001: 12 bytes at offset 371
Finding last valid log LSN: file: 1 offset 371
fileops: close db_files/log.0000000001
fileops: open db_files/__db.005
fileops: seek db_files/__db.005 to 794624
fileops: write db_files/__db.005: 8192 bytes
fileops: mmap db_files/__db.005
fileops: close db_files/__db.005
fileops: open db_files/__db.006
fileops: seek db_files/__db.006 to 376832
fileops: write db_files/__db.006: 8192 bytes
fileops: mmap db_files/__db.006
fileops: close db_files/__db.006
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 12 bytes at offset 335
fileops: read db_files/log.0000000001: 371 bytes at offset 0
fileops: directory list db_files
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 28 bytes
fileops: close db_files/log.0000000001
Recovery starting from [1][243]
fileops: close db_files/log.0000000001
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 28 bytes
fileops: write db_files/log.0000000001: 92 bytes at offset 371
fileops: flush db_files/log.0000000001
fileops: close db_files/log.0000000001
fileops: open db_files/log.0000000002
fileops: close db_files/log.0000000002
fileops: open db_files/log.00002
fileops: close db_files/log.00002
fileops: open db_files/log.0000000001
fileops: seek db_files/log.0000000001 to 463
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 3633 bytes
fileops: close db_files/log.0000000001
Recovery complete at Wed Sep 22 07:07:23 2010
Maximum transaction ID 80000002 Recovery checkpoint [1][371]
FilePersistentStorage::open() ok
envp->lock_detect
FilePersistentStorage::open() lock_detect
rejected locks count: 0
db_create
dbp->open
fileops: stat db_files/test_aaps.db
fileops: stat db_files/test_aaps.db
fileops: stat db_files/__db.80000001.d9f23b56
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 28 bytes
fileops: write db_files/log.0000000001: 67 bytes at offset 463
fileops: flush db_files/log.0000000001
fileops: open db_files/__db.80000001.d9f23b56
fileops: stat db_files/__db.80000001.d9f23b56
fileops: seek db_files/__db.80000001.d9f23b56 to 0
fileops: write db_files/__db.80000001.d9f23b56: 4096 bytes
fileops: seek db_files/__db.80000001.d9f23b56 to 4096
fileops: write db_files/__db.80000001.d9f23b56: 4096 bytes
fileops: flush db_files/__db.80000001.d9f23b56
fileops: close db_files/__db.80000001.d9f23b56
fileops: stat db_files/test_aaps.db
fileops: stat db_files/__db.80000001.d9f23b56
fileops: unlink db_files/__db.80000001.d9f23b56
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 12 bytes at offset 463
DB_LOGC->get: LSN 1/463: invalid log record header
DB_TXN->abort: log undo failed for LSN: 1 463: Input/output error
fileops: close db_files/log.0000000001
PANIC: Input/output error
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 12 bytes at offset 463
PANIC: fatal region error detected; run recovery
DB_LOGC->get: LSN: 1/463: read: DB_RUNRECOVERY: Fatal error, run database recovery
DB_TXN->abort: log undo failed for LSN: 1 463: DB_RUNRECOVERY: Fatal error, run database recovery
fileops: close db_files/log.0000000001
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
dbp->open end
dbp->close
PANIC: fatal region error detected; run recovery
envp->close
File handles still open at environment close
Open file handle: db_files/log.0000000001
fileops: close db_files/log.0000000001
PANIC: fatal region error detected; run recovery
Database 'db_files//test_aaps.db' open failed: DB_RUNRECOVERY: Fatal error, run database recoveryDatabase close failed: DB_RUNRECOVERY: Fatal error, run database recovery
environment close failed: -
Disallow running multiple instances of the same web start application..
on the client? I have an application that is launched on the client by clicking on the link to the JNLP file. The problem is that I don't want the application to launch twice if the user clicks the link twice. Is there a way to keep web start from running multiple instances of the same app?
I don't want to just disable the button after it is clicked because then the user won't be able to get back in if they need to.
Any help out there?
Thanks,
MelanieThe way I do this is to try connect to an obscure port number on the localhost at startup.
if this connection succeeds I assume the app is already running. otherwise the program continues and registers as a server at that port number.
I actually take this a little bit further by registering a web server at this port (I use the Brazil server), That way if the program finds an instance of itself running it can send a message to the web server and ask the program to do something (like start another window if,for instance you wanted to allow this but only within the same VM). -
How can i run multiple instances of Photoshop EXE at the same time on windows 7
Alright. You may ask why do you need multiple ?
Assume that i have 10000 PSD files in 10 different folders
I have a script that just save as them as PNG
And these files are each 3000x3000 px
My computer has 8 cores and 1 photoshop exe is only using 1 cpu core
Also i have SSD raid system it has 750 mb read write per second
So right now i am wasting my time with running only 1 photoshop exe instead of at least 4I'm not aware of a way to run multiple instances or different versions of photoshop at the same time on windows.
Assuming of course they are all installed on the same operating system.
On mac versions you can running two different versions of photoshop at the same time, but i don't think that's possible on windows where it
appears that only one version of photoshop can run at a time. -
Running multiple instances on same machine
I need to run multiple instances of BEA WLS on a unix machine. I need 4 separate instances (dev and test for two different departments) on one machine and two production instances on another machine. What is the best way to go about separating these (ex. an account or directory structure for each)?
Thanks,
Roger ---|-Dev/Test:
Give each one its own domain name - i.e. a separate directory under config. This
works well.
Production:
Do the same, but to keep licensing costs down, I'd be inclined to run everything
on a single instance.
simon.
Roger Cornejo wrote:
I need to run multiple instances of BEA WLS on a unix machine. I need4 separate instances (dev and test for two different departments) on
one machine and two production instances on another machine. What is
the best way to go about separating these (ex. an account or directory
structure for each)?
Thanks,
Roger ---|- -
Running multiple instances of Premiere
This may be a dumb question, and I admit I'm new and naive to Premiere, but I've Googled and I've searched the forums here, and I must say the only thing I've found regarding this is 5 years old. I'm a little pressed for time, so I figured this would be the quickest way to get an answer. I want to run multiple instances of Adobe Premiere Pro 4.2 on a Vista 32bit system. Is is possible, and how would I go about doing so? Thanks in advance.
That wouldn't be so bad, except there are multiple takes per angle, and I renamed the clips in Premiere, so instead of 00023, it says Person Running. So instead of just looking at the time codes in the EDL, showing "00023 starts etc etc" it shows "Person Running etc etc" and I would have to guess as to which exact take it would be that was used.
*edit* I just looked, and I could concievably click on the properties for each clip, and it shows the original file name, so it would be possible to rename them all to the original file name. It just looks like it's gonna take some extra work, on top of my already large load. -
Running multiple instances of a service
ello,
is it possible (and not "tabooed") to run multiple instances of an application that is designed to be service?
Im intending to use the Java Service Wrapper to have my app run as a service, but im wondering if it is possible to run multiple instances of my application wrapped in the wrapper.
What about starting the service using command line arguments?
This is some details of my scenario:
Im developing a server that will run without threading - it will read client requests that have been saved by the clients into a database. Thus im going to have an infinite while loop that just keeps reading the db for unprocessed client requests.
When it is noticed that the load has increased then more than one instance of the server will be necessary.
if im using the java service wrapper to run my server as a service will it be possible to achieve the above?
thanks.one more thing : if i make any changes in the wrapper.conf xml file for the java service wrapper will the config be automatically loaded?
-
Run Multiple Instances of Windows Store App
We have a desktop app which we are considering porting to Windows Store. Our app allows the user to generate orders. If the user wishes to generate several orders simultaneously, they open several instances of our app.
Is it possible to run multiple instances of a Windows Store app on Windows 10?Hi,
Another thread in MSDN forum already answered this question:
https://social.msdn.microsoft.com/forums/windowsapps/en-us/19b5bd94-d772-46b0-b5af-a1be475b0e16/multiple-instance-in-metro-app
The app is still single instance, but it can now open multiple windows by calling
CoreApplication.CreateNewView. This is demonstrated in the
Multiple Views Sample
Roger Lu
TechNet Community Support -
Running multiple instances from same oracle home
Hi Gurus,
I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
I hope my questions are not too much confusing ... !!
Cheers,
SudriptaHello,
"If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
More info:
1 Oracle Home - 1 Database - 1 SID is possible.
1 Oracle Home - Many Databases - Many SID is possible.
1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC. -
Running multiple instances of Flash IDE CS(6)
I have a build machine compiling my fla files by running Flash.exe from command line and supplying a JSFL file as a parameter. I want to run multiple instances of Flash IDE in order to enable concurrent builds on that machine otherwise there's only one thread running on a build machine which is a resource waste.
So, is it possible to run multiple instances of Flash IDE? Maybe there's a kind of command line switch? I have Flash CS6, but there shouldn't be that many differences with CC, isn't it?I dont think you can run multiple instances of flash both in CS6 and CC.
-Sujai -
I want to run multiple instance of tomcat on same server-very Urgent
HI all,
I want to run multiple instance of tomcat on same server. I have created CATALINA_BASE directory and i put conf,logs,temp,webapps, and work directory. I have configured server.xml in different port. I have set the environment variables too. Though it didn't workout for me. Is there anything else i have to do for that. if so, Please assist me.
I did all according to the tomcat 4.1running.txt
Thanks in advance
Ram.hi,
http://www.linuxjournal.com/article/8561
http://forum.java.sun.com/thread.jspa?threadID=515368&messageID=2458945Hit Google..
http://www.google.com/search?q=how+to++run+multiple+instance+of+tomcat+on+same+server&client=netscape-pp&rls=com.netscape:en-US -
Running Multiple Instance of indesign server using com calls
Hello All,
I am new to this community , can anyone help me in understanding how can i run multiple instance of indesign server using com calls.. i am using jacob library in java for com calls ..
ThanksHi Soni,
Web colsole --> your domain --> your server --> configuration -->
general --> Listen Port / Listen Address
Regards,
Slava Imeshev
"Soni " <[email protected]> wrote in message
news:3dcfbbcb$[email protected]..
>
Hi:
Is it possible to run two seperate instances of WebLogic server 6.1 onsame the
server both listening on port 80?
Details about the instances:
Instance 1
Domain names : fasnets
Server name: envext
Listen Address : 155.x.x.1
Listen Port : 80 :
External DNS : www.acme.com
Instance 2
Domain names : fasnets1
Server name: envext1
Listen Address : 155.x.x.2
Listen Port : 80 :
External DNS : www.acme1.com
Thanks,
Soni -
"you can not use multiple instance of Program at the same time"
Hello @ all,
I have a Problem, after the installing from Acrobat Testversion and acrobat reader in version in "all Combination" 8 an 9.
I get this misstake information "you can not use multiple instance of Program at the same time" if I want open more then 1 .pdf.
If I have no pdf open, but acrobat/reader so i can´t open with the same Misstake.
I have deinstalled and installed, Allways I bekame the same information. I tryed all things to clean and know i don`t know forward.
Important: by Drag an Drop in the Acrobat Reader it is going, but by direct click on the pdf i get mistake.
Maybe, you know what I can do!
Thanks for help!Installation of both Acrobat and Reader in the same Windows machine is not advisable. If I were you, I would remove both completely and then reinstall the one you want to keep.
-
Multiple instances of programs appear with "Open With" in Finder
When I right click on an item in Finder, and go to Open With, I'm getting multiple instances of programs (screen capture below). How can I fix this?
This just started, and I recently started using Carbon Copy Cloner to back up my drives (my iMac has two internal drives, an SSB 256 GB hard drive and a standard 2 TB hard drive). But I have CCC set to dismount the drives after each backup, and the extra instances of programs are still there even when the drives are properly dismounted.That's LaunchServices. These are only cache files but can get corrupted. Launch /Utilities/Terminal and copy & paste this at the prompt to rebuild LaunchServices: (be sure to copy the entire line it's a scroll)
Code:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Then press return. Wait until terminal returns to the command line. Quit Terminal. After that, log out and back in or restart. Let us know -
How can I run multiple instances of an app in netbeans?
Hi,
I would like to run multiple instances of an app in netbeans, this is essential when making GUI changes and you want to compare them with the older version.
Thanks in advance,It is still true that Netbeans cannot launch the same project twice, even with the latest 7.2 and JavaFX Beta version. When trying to "run" the second instance, Netbeans tries to rebuild the project jar file but can't delete it because it is "locked" by the first instance.
For JavaFX projects, I start one instance by double-clicking the jar file (in the project's dist folder), then use Netbeans to launch the second instance. For comparing your app's old vs. new screens, save the old app version by copying the project folder to another place and use the double-click jar to launch the old app, then proceed to revise the new app version and launch it under Netbeans. That's how you run one version "outside" another version.
Maybe you are looking for
-
How to use ImgScan(built in win32 OCX) in applet?
Hi, I am new to this forum. I explain what exactly i want to do. I have a scanner in network. i want to display scanned image in applet. As iam reguler VB programmer i was using ImgScan.OCX and ImgEdit.OCX(windows built in ocx's) for this. In java al
-
Scout mode and sbx at same time? Zxr and battlefield 4
I just recently purchased a soundblaster zxr for playing battlefield 4. I'm still trying to find the best settings, if anyone can help, I would appreciate it so much. When I try to enable scout mode, SBX pro studio becomes disabled. Likewise, when I
-
How I can store Image file in a database
Can any one how i can stored image file in a database and then by using same database how i can show in HTML page...(in a browser)
-
Hi all, Im actually a bit new with OSX so maybe there is a easy answer to this but i rather be careful then that my system crashes. I got a Macbook this christmas with the following specs: Macbook model 1,1 intel core duo 1.83 Ghz. 2GB RAM Systemvers
-
Want to upgrade to PS CS5 from CS3 Web Premium
I want to upgrade from Photoshop CS3 that was part of CS3 Web Premium Suite to PhotoShop CS5 Extended. I do not want to upgrade the entire suite. Is this possible? Jack Davis said I should be able to. I just want to make sure. The Adobe website says