Can I (How can I) manage in memory page manually?

Hi there,
I am trying to figure out whether Berkeley DB can fit my project where I need to manually control when each page in the memory cache is flushed to the disk. I wonder if Berkeley DB exposes this part of the system. I basically needs a way to locate the page in the memory cache where a specific record is located, and control when that page is flushed (i.e., the system does not flush pages automatically).
Best,
Kevin

Hi Kevin,
Have a look into the memp_register interface, DB_ENV->memp_register()
Normally, this interface is intended to be used by applications if they implement their own database access methods. If the callbacks that you register when reading into and, respectively, writing out pages from cache, are for, say the BTree access method, you must include the functionality of the normal BTree pgin/pgout functions within these callback functions; that's because only one function is called on input and one on output (see __memp_fput, __memp_fget).
Regards,
Andrei

Similar Messages

  • How do you manage Playlists on a manually managed iPod Classic?

    I'm going to get an iPod Classic since I have a huge music collection.
    Most of this music is not in iTunes, and won't fit on my computer.
    I have read that I can set iTunes to "Manually manage music and videos" for the device.
    Then I can simply drag and drop music onto the iPod from the Finder (e.g. from an external drive).
    But I also want Playlists on the iPod.
    (Not the songs in iTunes on some playlist -- just the listing of some songs.)
    Can I compose playlists (that reference the MP3 files I am downloading) in some fashion,
    and then drag them over to the iPod, and have it recognize them as playlists for the music
    files that I have dragged onto the iPod?
    I am imagining this would involve creating/editing some XML files with some magic names
    or extensions and dropping them onto the iPod.  (Or, when I do this "Manually manage..."
    thing and go into the device via Finder, will I see a folder there named "Playlists" or something?)
    Something like that?
    How do you manage Playlists on a manually managed iPod Classic?
    (I'm on Mavericks on the computer, of course.
    I could boot Windows or Linux if needed.)

    I have just found out how to do this:
    Connect your iPod:
    Under DEVICES you will see an arrow (on the left hand side, next to your IPod. If you are unable to display your songs the arrow will be pointing to the right. By clicking on this arrow it will point down, all of your songs will appear. Under Preferences uncheck Auto Sync then you can manually add / delete.

  • How can I manage more RAM on my iPod Touch 4G ?

    How can I manage more RAM on my iPod Touch 4G ?
    My iPod Touch 4G used to have 120MB of free RAM, but it suppost to have 256MB of RAM...120MB is totally not enough for the applications and the iOS to run smoothly...my applications always close in a sudden and the iOS is extremely lag...
    I'm thinking is there anyway to manage of free more RAM on my iPod Touch 4G, I wanna free at least to 150MB...
    I've tried iMemoryEnhancer, Mem Tool, Daemon Tools and Memory Free; but none of them work...I've also tried simply click on Free Memory on SBSettings...but all applications came out with the exact same result...120MB...
    My iPod Touch 4G is running on iOS 4.3.1(8G4) and got 277 applications installed with around 10 Cydia tweaks..so please can anybody help me out ?
    TYVM

    try these
    1. quit apps on MT bar
    2. restart your ipod
    also, how many G(or M) have you used in the ipod, and how many G do you have in orginal?
    Calvin

  • How do i get more memory on my mac book air? is says that i can add 2 more gig how?

    how do i get more memory on my mac book air? is says that i can add 2 more gig ??? or wat files can i delete

    Macbook Air memory is soldered to the logicboard.
    You can only get 4GB or 8GB (2012 Models) in the Air when you order it that way.  Otherwise, you're stuck with 2GB.
    Unless you're talking about hard drive space - then it is upgradeable - click HERE to see which one corresponds to your model.

  • How can I manage six email accounts WITHOUT them all appearing (twice) in the Folders column?

    How can I manage six email accounts WITHOUT them all appearing (twice) in the Folders column?
    All I need is ONE INBOX (like Windows Mail used to do) ...
    I can see in the 'Account' column of each message which email account it's using.
    Then, I either junk or read the message, followed by delete or file to one of my created folders.
    As it is, half my page is depth is taken up by 12 lines of Account names !!!

    That still leaves SIX lines of Account names down the side. All I want is ONE INBOX ... (I can see which account each message belongs to in the 'Account' column...)

  • How can I manage my iphone5 data if my iTunes no longer is working?

    My iTunes is not compatible with the new iPhone5 and my OS X can not handle iTunes 10.7. How do I manage my current iTunes library to allow me to change what is held on my iPhone at any one time? To clarify, if I have a movie on my iTunes library but not on my iPhone5 how do I manage to transfer movie on my iPhone if I am unable to connect using iTunes?

    If there is no way to deactivate th elicense, then you'll have to get in touch wih Support. I recommend our chat support at http://adobe.ly/v6wfLL.  Our chat representatives can provide a personalized experience to resolve the issues you describe.

  • How can I manage 2 ipods on one Itunes library?

    I'm sure this must have been answered elsewhere but I can't find a difinitive answer...
    I have an ipod which I want to keep at home and am thinking of buying a Nano for when I'm out. How do you manage the two devices when obviously one carries vastly fewer songs?
    I read somewhere that you need two itunes accounts but surely there are loads of people now with a large capacity device plus a smaller one - is it not easier than that having two seperate accounts now?

    How to use multiple iPods with one computer
    http://docs.info.apple.com/article.html?artnum=300432
    Managing content manually on iPod
    http://docs.info.apple.com/article.html?artnum=61148
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

  • I have several phones on my itunes accousnt how can i manage to see only my information

    I have both my daughter and my sons iphone onmy itunes account.  How can I manage my storage to seeonly my apps and my music?

    I don't believe that there is a way to do that.  I would sugest using automatic downloads to keep your apps synced across both phones.  You might also want to note that just about any app you have ever download will be available for free download via icloud.
    Wish I could be more help.

  • How can I add more memory to my iPad?

    How can I add more memory to my iPad?

    Memory refers to RAM, and can't be increased.
    I asume you mean storege space (like 16GB, 32GB, etc). It also can't be increased.
    There are some wireless external hard drives that can be used with the iPad.
    The Kingston Wi-Drive, which costs $50 for the 16 Gigabyte, and then $30 more for every 16 gigs more. It works by you turning it on and then accessing the files on it from an app that you download on your iDevice. You can access music, movies, and other stuff. No connections or anything, it works like a WiFi connection, you connect to it from the setting on the iPad under wireless networks.
    Then there is the Seagate GoFlex, which some would recommend over the Wi-Drive. But this one costs $199 and had 500 Gigabytes of storage. It works the sameway as the Kingston: no wires, runs over its wireless connection. You can actually fit up to 300 HD movies on it.
    Another option:
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
     Cheers, Tom

  • How can I add more memory to my iPod touch

    How can I add more memory to my iPod touch?

    You are not able to add memory to a iPod Touch.
    The only way to get more memory is to buy one with a larger capacity.

  • How can HelpDesk manage users in multiple Organizations in OIM R2

    Hi All,
    I looking to satisfy a requirement for OIM 11g R2 where a helpdesk administrator can only manage users that belong to a particular institution. However, there are approximately 50% of users that belong to more than one institution, where helpdesk staff from each institution should be able to manage the user. Customer is currently
    doing this in Waveset by assigning users to orgs dynamically through rules which allows multiple virtual orgs. OIM unfortunately has no way to assign a user to multiple orgs, making OOTB authorization management very difficult.
    How can a administrators from different org manage same User. If that user belongs to different org?
    How to achieve this in OIM R2?
    Thanks
    Akshat

    Hi Adr,
    I know the OIM Authorization is around the Organization, and a user can present in only one org in OIM.
    I wanted to know, can we force the authorization based on Department/Institutions rather than Org. I am thinking in reagards of OES Authorization policies.
    OIM unfortunately has no way to assign a user to multiple orgs, making OOTB authorization management slightly difficult.
    I am looking to determine the best approach to accommodate this requirement. Due to the high number of users that reside within multiple institutions, leveraging organizations will not work. Asa far i know OES APM should be able to accommodate this, but could not find any solid guidance in the Oracle training or Oracle by Example documentation.
    Any thoughts?
    -Ak

  • My macbook air has no longer free memory. Now, when i turn it on, all i can see is a blue landskape and can`t see de dock anymore. how can i clean the memory and get free space?

    hi, my macbook air has no longer free memory space. I haven`t done anything since it started to comunicate me that. now when i turn it on all i can see is de apple on the top left corner and the rest of the monitor is blue. how can i get some memory space since i can`t even onpen the finder?/

    Choose Preferences from the Finder menu, click on the General tab, and uncheck the box to open folders in a new tab.
    (117195)

  • Have MacBook Pro (ancient) has 2.16 Ghz Intel Core Duo with 1 GB 667 MHz RAM using OS 10.4.11. Can I upgrade OS? If so, how far? And can I add more memory? I realize this is an old laptop but I need to wait to upgrade to new.

    Have MacBook Pro (ancient) has
    2.16 Ghz Intel Core Duo with
    1 GB 667 MHz RAM
    using OS 10.4.11.
    Can I upgrade OS? If so, how far?
    And can I add more memory?
    I realize this is an old laptop but I need to wait to upgrade to new.

    if it is the core duo, mac OS X 10.6.8., max ram 2gb.

  • I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?

    I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?  I don't know why the photos are still taking up space and if I will have to reset my phone to get rid of the problem.

    Hey there TowneJ,
    Welcome to Apple Support Communities.
    The article linked below provides troubleshooting tips that’ll likely resolve the issue that you’ve described, where deleted files appear to be taking up space on your iPhone 5.
    If you get a "Not enough free space" alert on your iPhone, iPad, or iPod touch - Apple Support
    So long,
    -Jason

  • If i can't increase the memory on an iphone, how do i NOT upload my entire itunes library?

    hi,
    i'm new to this whole smartphone thing.  but i've run into this frustration and can't seem to find my way around it.
    every time i hook up my phone - iphone 4 - to my computer - macbook 10.7 - they try to sync, and now i don't like having them both on the same wifi because they 'update' behind my back.  i don't want 3 days worth of music on my phone.  i would rather have more room on the phone for other stuff - apps and whatnot.
    i've set every checkbox i can find to NOT sync, and to NOT update, but  they do it anyway.  the songs that haven't been copied in their entirety  have left a place-saver of sorts - a ghost that seems to interfere with  playback of songs in a modified album, or if i just try to play from  the library - which i do, sometimes.
    someone on another post said that since you can't upgrade the memory on an iphone, that they should just delete some music, but it doesn't seem to let me - it puts it there without my permission, and even now that i've deleted all the music from the phone, the library is still full of all these 'ghost' songs that i don't know how to be rid of.
    thanks,
    nate.

    Now, one at a time:
    On Mac:
         Do you have the latest iTunes 11.0.4? If not download it here http://www.apple.com/support/itunes/
         Switch on  iTunes menu > View > Show Sidebar
         Connect and select iPhone under DEVICES in iTunes Sidebar.
         Go through the tabs (top right pane) Summary, Info, Apps, etc.
         and select and de-select what you want on iPhone.
         When finished, click Apply button (bottom right) and then click Sync.

Maybe you are looking for