Is the cache shared between process ?

Hi,
When I set the cachesize to 200MB in each process, does it mean that each process will need 200MB ? Or is there a chance that it will be shared ? As I use PHP scripts in a multi-process environnement to access the database I want to know the consequence on the memory consumption.
thanks

Hi,
The shared memory pool buffer (cache) will be shared between the processes as long as each process correctly specifies the subsystems and uses the same environment (directory):
Shared memory regions
Architecting Transactional Data Store applications
So, the processes will not carve out each a 200MB block of memory. If the processes do not share the same environment, then aside a 200MB per process private block of memory needed, database modifications will be private to each process, leading to inconsistent data, unexpected results and likely core dumps; similar issues would apply to log records, which will be overwritten as the log record buffer will be private, leading to data corruption and failed recovery.
Regards,
Andrei

Similar Messages

  • 'One' To 'Many' relationship, (with the 'One' shared between persistance object graphs)

    Hi,
    I'm relatively new to JDO. So I need some verification on my program design.
    When creating a new Persistence Object I'm using a 'Builder' design pattern
    to check the database for an object that equals the new objects bean
    parameters(Via a JDOQL query). If it finds a matching one it loads it
    otherwise it creates a new instance.
    This way I have common objects between Persistence Object graphs. And there
    is not repeated common objects in the database.
    Is there a better way?
    regards
    Graham Cruickshanks

    // Doesn't workWhat does not work? What error do you get?
    You need to use "join" to define a join.
    CriteriaQuery<Competence> cq = cb.createQuery(Competence.class);
    Root<Competence> competence = cq.from(Competence.class);
    Join<CompetenceName> name = competence.join(Competence_.competenceNames);
    cq.orderBy(cb.asc(name.get(CompetenceName_.name));
    The "fetch" will do a fetch join, if you also wish to load the data in the same query.
    James : http://www.eclipselink.org

  • Understanding Storage shared between work process

    Hi guys,
    I was just trying to understand the SAP memory management  and I think I don't really have good understanding of the SAP memory pools that we  can view via ST02 .
    Under the Storage shared between work process section we have :
    So what are these memory area ?  "Not in pool" seems to have almost 90% of configured SAP pool memory.
    Not in Pool seems to be allocated (3.4G here) the moment the SAP instance is started.
    Can you please explain the concept of the memory Pools in  the SAP? I have vague idea but I do not really understand this.
    I think when we increase the  various SAP buffers (like program,scree,Export/import), we increase these pools...
    Can you please help me link these pools with the four main memory areas of the SAP:
    1. Roll
    2.Extended
    3.Page
    4.Heap
    or are they entirely different?
    As you can see I badly need to tune my SAP buffer memory ! Before increasing these buffers I need to understand if we have sufficient memory left in the box.
    regards,
    Rakesh

    Hello back,
    I have read few other posts and help.sap.com for more clarity on the memory management. I am getting the hang of it but I would like  you to explain this query.
    I have just rebooted our LINUX box which has two application server each for CRM and R3.
    However, I couldn't understand the current  memory  usage that is shown by free -,m command at OS level and the sum I get from the ST02 txn for each of the app servers.
    see the scraancap  below:
    Here at os level, used memory (all physical)is around 6GB and no SWAP memory:
    This linux box has no other applications running other than two app servers as I mentioned.
    And when I check the ST02 current memory in both the app server :
    If we consider only extended memory , the sum of the current usage is about 4G+6.7G=10.7G
    and I assume they are allocated using physical memory(Could be virtual=physical+SWAP) which clearly shows that far more than the current memory used shown at OS level , here around 6G...
    So that's my confusion,would really appreciate if someone can help me understand this.
    Regards,
    Rakesh

  • All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us

    All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us

    Everything that you have checked in your icloud settings will be shared between devices using the same Apple ID.  If you don't want icloud to share that information, then simply turn off that process under settings > icloud

  • Sharing between two users on the same machine

    I have read through and tried to find posts about sharing but they are all about doing so via a network. I have a desktop that my wife and I use. Each of us has out own seperate profile so that we can both keep things set the way that works for us and to keep our mail profiles seperate. The problem that I have is that I cant figure out how to have folders that both of us can access and manipulate. I would like to store all our photos on this shared directory and also to be able to have a spot where we keep filees that we both require access to. The iphoto sharing requires the primary acct holder to be logged in to have the othe user be able to access the files. Uggg..

    Don't use the Sharing option in iPhoto. Instead move the iPhoto library outside of the /Users area (something like /Document/Photos) so that everyone can access it. The process is described in KB 93603, iPhoto: How to move the iPhoto Library Folder to a new location.
    For iTunes follow a similar process. It is described in KB 93195, iTunes: How to share music between different accounts on a single computer.
    Any documents that you want to share, place in /Documents instead of the default /Users/userName/Documents.

  • Thank you all for the responses. By process of elimination, I think the problem is the connection to the express in between the extreme and dock. I bought another express and tried it at dock, no luck, I then replaced new express where the one is between

    I have an airport extreme and express setup. My extreme is in my 2nd floor office with windows facing the water. My dock is about 250 ft away down a very steep hill. I have the express about 100 ft down the hill in an electrical waterproof box attached to a tree as high as I could install. The signal is weak and I'm thinking I might have to buy another express. Any thoughts on the best setup for me. I ultimately want to control speakers(hard wired in) down at the dock with my iphone. I have a receiver coming with airplay built in.
    Thank you all for the responses. By process of elimination, I think the problem is the connection to the express in between the extreme and dock. I bought another express and tried it at dock, no luck, I then replaced new express where the one is between extreme and dock, no better. I unplugged the express between extreme and dock and there was no difference. So I believe I am connecting to the airport express or extreme that is inside the house. Again because when i approach express that is halfway I reconnect. so if you can understand my chaos, I believe the express in between is not really connecting to the extreme inside my house. Yes, No? So I need to know how to know if the express half way down the hill is getting the connection from the the extreme in the house. This is wearing me out!!!!!

    You are asking several different questions. If you need to store your photos, music, and movies on an external volume, you certainly can. Any externally connected hard disk drive will work, connected either directly to your Mac or to your Time Capsule as a shared volume.
    You should not rely upon using that as a backup device though. Although you certainly may use it for both purposes, it is a better idea to have dedicated backup devices for a variety of reasons not limited to redundancy. You would not want to simultaneously lose all your pictures as well as your backup. If they are all on the same device, that could happen. Furthermore, a backup cannot back up the volume on which it is running.
    As for adding an Extreme or Express, using its LAN port for your iMac, and then enable Internet sharing so you can effectively use the iMac as a "hotspot", you can do that too, but I am unclear on what benefit you believe this arrangement would convey for you.
    An Extreme's Guest network is separate from its Main network; that is the reason for having it.

  • I am trying to set up home sharing between my iphone 4s and mac which is running itunes 11. Both are connected to my home wifi network and using the same apple id but on the iphone app it says 'Turn on Home sharing in iTunes on your mac using account ***

    I am trying to set up home sharing between my iphone 4s and mac which is running itunes 11. Both are connected to my home wifi network and using the same apple id but on the iphone app it says 'Turn on Home sharing in iTunes on your computer or apple tv using account ***
    Does anybody have suggestions as to why this is the case?

    Understanding Home Sharing - Support - Apple
    Hope this helps.

  • Sharing iphoto library on the same computer between different users

    Can anyone tell me how (without having to write my own code) I can share photos easily (so I can teach my parents, who know nothing about mac, how to do it) between different users on the SAME COMPUTER?
    I am so frustrated! You can share with anyone else in the world, but when it is on the same computer I can't figure out how to share!

    Hi Mereditty,
    Here are all the links I have for sharing a couple of different ways.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • HT4527 I tried home sharing between my desk top and my lap top. My desk top is the original computer with my iTunes library. On my lap top I can only see the music I have bought from iTunes. Is this all I should see? Not my entire library?

    I have tried to install home sharing between my desk top and lap top. I can only see the music I have bought from iTunes on my lap top. Is this normal? I thought I would be able to see my entire library.

    Yes I tried that. I finally turned off all home sharing settings, shut down my desktop and found them in my account settings in the store on the cloud. So at that point I just had it download everything. But I suspect that with the ipad somehow being on, the store was saying I had already received them? Regardless, my trip today whilst running errands, I was rocking out to vintage Police music! Thank you so much for responding.

  • TS2972 is it possible to use home sharing between two users on the same computer?

    My wife and I have itunes accounts and want to be able to share music we have each bought on our accounts. We have tried setting up the home sharing on our PC but it doesn't show up on the screen. Can anyone please help?

    "Is it possible to use home sharing between two users on the same computer?"
    No. Home sharing is used to connect two running instances of iTunes across a network. When you switch users on the computer all applications running on the other profile are suspended.
    You can however share your respective media folders so that they are visible in either profile and then copy over any content that you want, or you could create a single joint library which you use when either user is logged in.
    tt2

  • Configuring SMTP Namespace Sharing between two Exchange Forests on the same LAN

    Hi guys, really hoping that someone can help me with configuring SMTP Namespace Sharing between two Exchange Forests on the same LAN.
    Basically, I have created a new forest and installed a new exchange organisation in this forest.  Both forests are located on the same IP subnet and a two way trust has been created between the forests.  Federated sharing has also been configured. 
    I can use ADMT to migrate the user and computer accounts to the new forest and also migrate test mailboxes over.  Ideally, I want to be able to do the mailbox migrations in stages so will need to be able to have mail flowing between the two forests. 
    I have read over the following article (http://ibrahimnore.wordpress.com/2012/09/06/configuring-smtp-namespace-sharing-between-two-exchange-forests-part-2/)
    which is good but it's demonstrating over the internet, can anybody advise how this can be achieved on the local LAN? 
    Any help greatly appreciated :-)

    Hi Gilliano,
    Thanks for correct link. I must say this is a very good article indeed, I read the entire article and if you go to the 3rd part of this article, please note the text "DOMAINC.COM is configured as Internal Relay Accepted Domain on both the domains"
    This is exactly what I asked you to check. Personally, I understand the method described in this article will work but its very complex to manage and administer, while the easiest option is to configure internal relay at the first place and no need to make
    so many DNS changes and customizations to your environment.
    The solution really depends on what your requirement is - Since you mentioned that you are migrating stuff over from source to destination - I feel this article is too complex for your situation and not really worth (for your requirement). The setup described
    in the article is an excellent choice if you are planning to keep both forests alive for longer duration due to several reasons like compliance or company mergers and so on...
    please let me know if my explanation is not clear enough.. we can even even have a one-on-one email conversation too!
    All the best!
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. Regards, Siva

  • What is the difference between  Process Type TRIGGER AND CHAIN

    What is the difference between these two process types.  When I am looking process types, I want to provide information only about process chains and not individual steps of process chain. Looks like one can do using either.
    Along the same line, I am looking  at  data from RSPCPROCESSLOG, no where this table has a column process chain id. So How od I find information about a process chain.
    Thanks a lot,

    A "Chain Process" can be a a step in a Process Chain as well.    For Example: So you could have the following Process Chain:
    Process Chain Example
    Step 1. TRIGGER (Execute Daily at 4am)
    Step 2. DTP_LOAD Execute DSO Load
    Step 3. DTP_LOAD Execute InfoCube Load
    Step 4. CHAIN Execute Master Data Process Chain
    I believe the "Master Chain" is called a "MetaChain" since it controls the start of another Process Chain.
    Hope that helps...

  • Can LabVIEW global variables be shared between UUT sequence steps in the parallel sequence model?

    Sorry for this simple question,  I'm having a hard time finding this answer.
    If I launch a sequence to run on two UUTs in the parallel sequence module,   can I get both UUTs to run LabVIEW vis that use global variables such that :
    1) UUT 0  executes 20 LabVIEW Vi  steps asynchronously,  5 of which access data from LabVIEW global variables A, B, C (Strings)
    2) UUT 0 executes the same 20 LabVIEW based steps asynchronously  5 of which access data from then same LabVIEW global variables A, B, C (Strings)
    I am a little worried that using file globals may have some delays or more of a race condition than using native LabVIEW global variables like in a single labview application perform.  
    QUESTION 2:  Are file globals actually written to the hard drive and shared between parallel sequences through file transfer?  OR  are they in memory?
    Brad Whaley
    LabVIEW Certified Engineer

    Hi bdwhaley,
    Are your parallel sequences only reading from the global variable? Or are they writing to the variable as well? If it is just reading, then you should be okay. File globals are read from memory. Every time they are read, a copy of the data is made in memory.
    Humphrey H.
    Applications Engineer
    National Instruments

  • I store my itunes library on an external drive shared between 2 computers and itunes on computer A isn't seeing or showing the songs I added using itunes on computer B.

    I store my itunes library on an external drive shared between 2 computers and itunes on computer A isn't seeing or showing the songs I added using itunes on computer B. How to fix this?

    I don't know if this is me adding files to iTunes when the external wasn't connected
    it is.
    is it OK to just keep deleting that library on the Air?
    i wouldn't - at least not until i
    mount the external
    point iTunes media folder location back to the external via preferences > advanced
    consolidate my library via file > library > organize library
    The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
    in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive.

  • What is the functional difference between the /Shared Items and the /Users/Shared folders?

    Can someone shed some light on the difference, intended functionality between the /Shared Items and the /Users/Shared folders?

    do any/all network services use the Shared Items folder?
    Not all services use it. Time Machine Server does, and I'm not sure which others. FTP is not controlled by Server.app.

Maybe you are looking for

  • How can I play movies-MacPro-to my TV?

    Hello I need some "simple" help regards playing QT movies directly from my Mac Pro to my TV. Up until now, I have taken a arduous crazy route: I copy a movie to an external firewire drive; then connect that drive to my laptop (an older G4). Then I co

  • Print Jpeg files from SAP

    Hi, We have JPEG files (pictures) stored in Custom Z table (Cluster table). We would like to know how to print these files from SAP on to a certain printer. We know that it is not possible to convert JPEG to BMP within SAP and print using SAPScript O

  • How to deauthorize my computer if i dont have access to it and i already deauthroized all 5 computers 8 months ago. I need Help

    I deauthroized all 5 computers 8 months ago. And over the course of those months, i have been on many computers at work and authorized my computers. However, i have relocated and can no longer deauthorize those computers. I need help.

  • Macbook Pro Late 2011 Grey screen

    Hi pals, I have a Macbook Pro Late 2011 since 2012. I've upgraded it to Yosemite, thing that I've to do from scratch because it worked very slow, but that's not the deal here. The other day I started it, and it simply didn't do it. I've tried everyth

  • Mac OS X 10.9.1 cannot connect to HP 7610

    I even tried to manually connect the printer and computer with a usb cord and NOTHING.