Berkeley DB Used In ARM9 Platform

How can I use Berkeley DB in an ARM9 platform running Win CE 6.0?
I've successfully built development environment and compiled Berkeley DB for PocketPC (ARM4) platform, but where do I go from here?
Regards,
- Harry M.

Katta,
JE is used in a wide variety of production deployments, including use as a cache and as the final repository for stores with large volumes of data. There is no limit on the number of record that can be stored.
Performance measurements are always most meaningful when taken in the context of your particular application. Please take the time to look over the JE FAQ at http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html in general, and the performance section in particular.
Regards,
Linda

Similar Messages

  • B2B INTEGRATION USING WEBLOGIC INTEGRATION PLATFORM 8.1

    procedure and requirements for B2B INTEGRATION USING WEBLOGIC INTEGRATION PLATFORM 8.1
    Message was edited by:
    sachu

    Saurabh,
    Well it is achievable with a bit of custom code which should not be very difficult to make.
    1) Is this flow achievable using Beehiveonline ?
    Yes, you can have the external users programmatically upload the content into the system and if you set up a subscription for a genric user/email it could be informed when something changes and programmatically copy it out to wherever you need it to go.
    2) How can we fetch the files from Beehiveonline directories ? Can we use generic SFTP/FTPS adapters to do so?
    FTPS can be used along with the developers kit, webDAV and HTTP transfers - I have a working java FTPS programme that can be used to upload/download the files so that piece already exists.
    As usual the devil will be in the detail and the flow you describe at the moment is a bit sparce on detail :-)
    Phil

  • What database program will convert my Appleworks DB for use on Intel platform?

    What database program will convert my Appleworks DB for use on Intel platform?

    Yes, you just need the appleworks folder from applications.
    However, whether or not this is strictly legal is another question entirely, I'm afraid, unless you are planning to remove appleworks from your computer. You could just buy her her own copy of Appleworks, too.

  • Book query:  O'Conner, Internationalization Using the Java Platform

    John O'Conner, Internationalization Using the Java Platform
    Paperback - 416 pages (31 March, 2002)
    Addison Wesley; ISBN: 0201615681
    Amazon.co.uk is the only place I can find this title online. It appears to be out of stock.
    The following sites do not list it at all:
    http://www.aw.com/
    http://java.sun.com/docs/books/
    http://www.amazon.co.jp/
    Does anyone know if/when this title is due to be reprinted?
    Thanks,
    Campbell

    I am sorry to hear it was never published.
    I have not read the other book yet - I was trying to find out which of the two had better reviews before contemplating buying one.
    Ideally I would like two books on the subject. As a i18n novice I might learn more by being able to compare and contrast. I don't know, but I guess there are areas in Java i18n where different approaches are open to debate; other areas where there is general agreement about the best way of doing things; and topics which in one book could have been dealt with better, or in more detail, and which the other book makes good? Having two books on the subject would make these contrasts and parallels clear.
    I am supposed to be preparing for exams just now, but once free I will take a closer look at your articles, and the other book and let you know my comments. If you were able to revive the book project, I would certainly do all I could to encourage you.
    Regards,
    Campbell

  • Hello i made a site using the 3 platforms: desktop, tablet, and smartphone but... on tablets and smartphones appears the desktop design, any idea why?

    Hello i made a site using the 3 platforms: desktop, tablet, and smartphone but... on tablets and smartphones appears the desktop design, any idea why?

    Vivek,
    I've checked the "Redirect from Desktop" and after uploading the website into the hosting account, it still appears in the desktop version.  Would you please take a look at this?  I hope you can see what I've missed.  Thanks.
    Initial BC version during construction:  Oklahoma Immigration Attorney- Jonny Randall. Immigration, Criminal, Divorce, and Bankruptcy Defense
    Uploaded version into hosting account: Oklahoma Immigration Attorney- Jonny Randall. Immigration, Criminal, Divorce, and Bankruptcy Defense

  • Concurrent access to Berkeley Db using c++

    Hi
    I'm trying to implement a concurrent persistent queue using Berkeley DB. As a starter I tried to make two process which both appends to the DB:
    #include <unistd.h>
    #include <sstream>
    #include <db_cxx.h>
    class Queue : public DbEnv
    public:
    Queue ( ) :
    DbEnv(0),
    db(0)
    set_flags(DB_CDB_ALLDB, 1);
    open("/tmp/db", DB_INIT_LOCK |
    DB_INIT_LOG |
    DB_INIT_TXN |
    DB_INIT_MPOOL |
    DB_RECOVER |
    DB_CREATE |
    DB_THREAD,
    0);
    db = new Db(this, 0);
    db->set_flags(DB_RENUMBER);
    db->open(NULL, "db", NULL, DB_RECNO, DB_CREATE | DB_AUTO_COMMIT | DB_THREAD, 0);
    virtual ~Queue ()
    db->close(0);
    delete db;
    close(0);
    protected:
    Db * db;
    class Enqueue : public Queue
    public:
    Enqueue ( ) : Queue() { }
    virtual ~Enqueue () { }
    bool push(const std::string& s)
    int res;
    DbTxn * txn;
    try {
    txn_begin(NULL, &txn, DB_TXN_SYNC | DB_TXN_WAIT );
    db_recno_t k0[4]; // not sure how mutch data is needs???
    k0[0] = 0;
    Dbt val((void*)s.c_str(), s.length());
    Dbt key((void*)&k0, sizeof(k0[0]));
    key.set_ulen(sizeof(k0));
    key.set_flags(DB_DBT_USERMEM);
    res = db->put(txn, &key, &val, DB_APPEND);
    if( res == 0 ) {
    txn->commit(0);
    return true;
    } else {
    std::cerr << "push failed: " << res << std::endl;
    txn->abort();
    return false;
    } catch( DbException e) {
    std::cerr << "DB What()" << e.what() << std::endl;
    txn->abort();
    return false;
    } catch( std::exception e) {
    std::cerr << "What()" << e.what() << std::endl;
    txn->abort();
    return false;
    } catch(...) {
    std::cerr << "Unknown error" << std::endl;
    txn->abort();
    return false;
    using namespace std;
    int main(int argc, const char *argv[])
    fork(); // create two independent processes
    Enqueue e;
    stringstream ss;
    for(int i = 0; i < 10; i++){
    ss.str("");
    ss << "asdf" << i;
    cout << ss.str() << endl;
    if( ! e.push(ss.str()) )
    break;
    return 0;
    Compiling it:
    $ g++ test.cxx -I/usr/include/db4.8 -ldb_cxx-4.8
    Create the db-dir
    $ mkdir /tmp/db
    And when I run it I get all kind of errors (segmentations fault, allocation error, and some times it actually works)
    I'm sure that I have missed some locking, but I just do not know how to do it. So, any hints and/or suggestions to fix this are most welcome.
    Best regards
    Allan W. Nielsen

    Okay, I think I found a way to do this. It is not pretty, and I think I can be done easier...
    The application is a call home process, where the producer is added data, and producer tries to send it home. If the consumer fails to send it home, it must try again. The database must not block for producer while the consumer is trying to sink data.
    The code has a file lock, and will only allow one consumer process.
    Here are the code:
    #include <db_cxx.h>
    #include <sstream>
    #include <fstream>
    #include <vector>
    #include <boost/interprocess/sync/file_lock.hpp>
    class Queue : public DbEnv
    public:
    Queue ( bool sync ) :
    DbEnv(0),
    db(0)
    set_flags(DB_CDB_ALLDB, 1);
    if( sync )
    set_flags(DB_TXN_NOSYNC, 0);
    else
    set_flags(DB_TXN_NOSYNC, 1);
    open("/tmp/db", DB_INIT_LOCK |
    DB_INIT_LOG | DB_INIT_TXN | DB_INIT_MPOOL |
    DB_REGISTER | DB_RECOVER | DB_CREATE | DB_THREAD,
    0);
    db = new Db(this, 0);
    db->set_flags(DB_RENUMBER);
    db->open(NULL, "db", NULL, DB_RECNO, DB_CREATE | DB_AUTO_COMMIT | DB_THREAD, 0);
    virtual ~Queue ()
    db->close(0);
    delete db;
    close(0);
    protected:
    Db * db;
    struct Transaction
    Transaction() : t(0) { }
    bool init(DbEnv * dbenv ){
    try {
    dbenv->txn_begin(NULL, &t, 0);
    } catch( DbException e) {
    std::cerr << "DB What()" << e.what() << std::endl;
    return false;
    } catch( std::exception e) {
    std::cerr << "What()" << e.what() << std::endl;
    return false;
    } catch(...) {
    std::cerr << "Unknown error" << std::endl;
    return false;
    return true;
    ~Transaction(){ if( t!=0) t->abort(); }
    void abort() { t->abort(); t = 0; }
    void commit() { t->commit(0); t = 0; }
    DbTxn * t;
    struct Cursor
    Cursor() : c(0) { }
    bool init( Db * db, DbTxn * t) {
    try {
    db->cursor(t, &c, 0);
    } catch( DbException e) {
    std::cerr << "DB What()" << e.what() << std::endl;
    return false;
    } catch( std::exception e) {
    std::cerr << "What()" << e.what() << std::endl;
    return false;
    } catch(...) {
    std::cerr << "Unknown error" << std::endl;
    return false;
    return true;
    ~Cursor(){ if( c!=0) c->close(); }
    void close(){ c->close(); c = 0; }
    Dbc * c;
    class Enqueue : public Queue
    public:
    Enqueue ( bool sync ) : Queue(sync) { }
    virtual ~Enqueue () { }
    bool push(const std::string& s)
    int res;
    Transaction transaction;
    if( ! transaction.init(this) )
    return false;
    try {
    db_recno_t k0[4]; // not sure how mutch data is needs???
    k0[0] = 0;
    Dbt val((void*)s.c_str(), s.length());
    Dbt key((void*)&k0, sizeof(k0[0]));
    key.set_ulen(sizeof(k0));
    key.set_flags(DB_DBT_USERMEM);
    res = db->put(transaction.t, &key, &val, DB_APPEND);
    if( res == 0 ) {
    transaction.commit();
    return true;
    } else {
    std::cerr << "push failed: " << res << std::endl;
    return false;
    } catch( DbException e) {
    std::cerr << "DB What()" << e.what() << std::endl;
    return false;
    } catch( std::exception e) {
    std::cerr << "What()" << e.what() << std::endl;
    return false;
    } catch(...) {
    std::cerr << "Unknown error" << std::endl;
    return false;
    const char * create_file(const char * f ){
    std::ofstream _f;
    _f.open(f, std::ios::out);
    _f.close();
    return f;
    class Dequeue : public Queue
    public:
    Dequeue ( bool sync ) :
    Queue(sync),
    lock(create_file("/tmp/db-test-pop.lock")),
    number_of_records_(0)
    std::cout << "Trying to get exclusize access to database" << std::endl;
    lock.lock();
    virtual ~Dequeue ()
    bool pop(size_t number_of_records, std::vector<std::string>& records)
    if( number_of_records_ != 0 ) // TODO, warning
    abort();
    Cursor cursor;
    records.clear();
    if( number_of_records_ != 0 )
    abort(); // TODO, warning
    // Get a cursor
    try {
    db->cursor(0, &cursor.c, 0);
    } catch( DbException e) {
    std::cerr << "DB What()" << e.what() << std::endl;
    abort();
    return false;
    // Read and delete
    try {
    Dbt val;
    db_recno_t k0 = 0;
    Dbt key((void*)&k0, sizeof(k0));
    for( size_t i = 0; i < number_of_records; i ++ ) {
    int get_res = cursor.c->get(&key, &val, DB_NEXT);
    if( get_res == 0 )
    records.push_back(std::string((char *)val.get_data(), val.get_size()));
    else
    break;
    number_of_records_ = records.size();
    if( number_of_records_ == 0 ) {
    abort();
    return false;
    } else {
    return true;
    } catch( DbException e) {
    std::cerr << "DB read/delete What() " << e.what() << std::endl;
    abort();
    return false;
    } catch( std::exception e) {
    std::cerr << "DB read/delete What() " << e.what() << std::endl;
    abort();
    return false;
    bool commit()
    if( number_of_records_ == 0 )
    return true;
    Transaction transaction;
    Cursor cursor;
    if( ! transaction.init(this) )
    return false;
    if( ! cursor.init(db, transaction.t) )
    return false;
    // Read and delete
    try {
    Dbt val;
    db_recno_t k0 = 0;
    Dbt key((void*)&k0, sizeof(k0));
    for( size_t i = 0; i < number_of_records_; i ++ ) {
    int get_res = cursor.c->get(&key, &val, DB_NEXT);
    if( get_res == 0 )
    cursor.c->del(0);
    else
    break; // this is bad!
    number_of_records_ = 0;
    cursor.close();
    transaction.commit();
    return true;
    } catch( DbException e) {
    std::cerr << "DB read/delete What() " << e.what() << std::endl;
    return false;
    } catch( std::exception e) {
    std::cerr << "DB read/delete What() " << e.what() << std::endl;
    return false;
    void abort()
    number_of_records_ = 0;
    private:
    boost::interprocess::file_lock lock;
    size_t number_of_records_;
    sigset_t orig_mask;
    };

  • Using Skype across platforms

    I have a Mac desktop & a Mac laptop & an Android smartphone.
    I'm thinking about getting an iPad.
    I want a cross-platform app that I can use to send & receive e-mails from/to a Mac or Android or Windows device.
    Unfortunately, Apple won't allow text messages from an iOS/OSX device to go to an Andoid or a Windows device. There are Android apps that will allow iMessage text onto an Andoid phone.
    Skype is the only cross-platform app that I know of that can be used on Macs or Androids or Windows devices. I tried to enter my name as a Skype contact on my Mac desktop & Skype wouldn't allow it.
    My sister has an Android phone & a friend has a Windows laptop.
    So, how do I set up Skype on each of my devices so that they can talk to each other? Once I successfully set up Skype on my Android phone & my Mac, I want to test it out.

    I have 2 Macs & an Android phone. A friend has an iPhone & a Windows laptop. That's 4 platforms(OSX, iOS, Android & Windows). Is it possible to send & receive video & text messages thru the Skype network across all 4 platforms for free?
    When setting up an account, the first thing that one does is enter "Full Name". That's what shows up in the History, right? Can a Full Name contain characters other than alphabetic? For example, can I use "David Simpson's smartphone" as a Full Name or "David Simpson's iPad" as a Full Name? Can I use BOTH upper & lower-case letters in the Full Name?

  • Programs using adobe air platform

    Hello everybody, I have downloaded a bunch of programs that use the adobe air platform. Programs like tweetdeck, twhirl, seesmic, spaz and some other. The thing is that, none of them work for me and I don't know if it's because there is some problem with adobe air not letting them connect properly. They are all programs which allow users to connect to their twitter account, but they just try to log in, and they stay there but nothing happens. Some of them say that they can't connect to twitter, or they just keep logging forever.
    The reason why I'm here is because I downloaded like 7 similar programs and not one of them work. So I don't think every single one of them has problems. That's why I'm wondering if the problem could be Adobe AIR? Can anyone please share their opinions on this? Because if Adobe AIR is not the problem I have to start looking somewhere else.
    I've already requested support from every single program, to see if they have some solution. I'm just here because I wanna know if the reason why none of them connect could be because of Adobe AIR?
    Thank you so much.

    Oh, sorry, my OS is windows vista home premium, and I use mozilla firefox 3.0.10 as my browser. Thank you. I've seen a forum on get satisfaction where people are having the same problem and apparently it's an adobe air problem because it doesn't connect to the internet. The link to that discussion is here.
    Is there a solution to this problem? Like what can we do to make adobe air connect to the internet?
    Thank you again so much.

  • IPOD nano (4th gen) use on windows platform need to be formatted?

    Hi,
    I am a NEW ipod nano user . Recently , I have upload some songs using MAC and sync it. When I want to upload some more new songs onto my ipod nano using my other PC which is window XP pro version. It prompt me to "re-format the ipod nano" . Is this normal?
    I am afraid if I reformat the ipod nano, all my songs will be gone ( previously using MAC to upload ). Can any expert on apple stuffs give some wise advise?

    My ipod is having the same problem...that's actually why I came to the help page. My ipod is 2 yrs old and I've been taking good care of it, and this is the second time i've had this problem. the first time, after I left it for a while plugged in, it just started working - but now, nothing works!!! I've tried everything on the help page, and this is the only discussion I could find on the topic. I do not have voice command for my ipod, so I don't know if it works...it will reset, but the apple logo just sits there. Help!?!?!?!!!!! I really don't want to toss it!

  • [Forum FAQ]How to use Azure Cross-Platform Command-Line interface in Mac OS

    1. Download the installer on Microsoft Azure website.
    Figure 1.
    2. Open the DMG file and install the following package.
    Figure 2.
    3. Open Terminal (Mac OS build-in), type “azure login” and enter your azure account to login.
    (Note: you can login only via a Microsoft organizational account or service principal.) We used a Microsoft account to connect. (Figure 3)
    Figure 3.
    After that, we can use the commands to manager Azure instances and services. You can type “azure help” to list all the available commands.
    Figure 4.
    If you want to view the detailed information for a specific command, you can type “azure help xxx”. For example, we can run “azure
    help vm” to list all the commands for managing Azure Virtual Machines.
    Figure 5.
    In the figure below, we used the “vm create” command to create a new virtual Machine (testmachine002) in a new cloud service (testmachine003)
    and virtual network (vnet1).
    Figure 6.
    To obtain the image name, you can type “azure vm image list”:
    Figure 7.
    After the “vm create” command executed, we can find that the Virtual Machine(testmachine002) is created in Azure management portal.
    Figure 8.
    More information:
    http://azure.microsoft.com/en-us/documentation/articles/xplat-cli/
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Here on Apple Discussions, you will find many command line enthusiasts hanging out in the UNIX forum. Good luck.

  • Monitoring nexus 5K using DCNM (linux platform)

    Hi guys,
    since some time i installed on a linux server. (the server is shared with Netapp onCommand / DFM).
    nothing to say about installation and discovery of the nexus switches.
    they i read the manual to understand how to collect performance data... and here start the problem ( in my opinion the documentation is not very clear and miss the basics).
    i did the following steps:
    1. created a flow on 1 nexus switch for 2 zones traffic direction both. (i tried to create for all zones all cards but i've got a out of memory error and im not able to understand if its a server problem of a nexus problem)
    2. created collections on DCMN-> admin.>collections for both nexus
    3. started performance manager
    the result after some time (ciouple of hours) is:
    on DCNM->performance->end devices->all ports
    i see all NaNB (usually means the snmp response is blank or -1)

    what happens is when the server boots the HBA sees the array and boot lun, but when you start the ESX 5.1 install the server initiator logs out of the SAN and the boot lun disappears. If you use ESX 4.1 everything works fine. I opened a TAC case and they confirmed that the fnic driver in ESX 5.1 will not work with the 4700's directly connected to the FI.

  • How to configure and use informatica development platform ?

    Samples and documentation for the Mapping API are, as far as I recall, part of the PowerCenter client installation; open a Windows explorer and look into the client installation directory tree, you should be able to find it fast. As of my knowledge there's nothing comparable to the Mapping API available for the Developer yet. You have two choices (which I see at this moment):Hope that Informatica v10 will contain this feature.Create your objects in PowerCenter using the Mapping API. Then export all objects from PowerCenter to XML files in the format used by the Developer and import these XML files into the Developer (infacmd.sh importFromPowerCenter should prove helpful here). Regards,Nico

    Hi Could some help me in using IDP to create the intormatica mappings dynamically?Basically I am looking to configure the environemnt to use the design APIs. Any help would be appriciated!! One more point I need to ask, whether Informatica provide any design APIs for data vurtulization( i.e creating logical data objects dynamically in developer tool and create the IDS on that ) Regards,Nikhil

  • Selling a Book using Adobe eBook Platform.

    Looking to sell and a digital book using adobe content server and adobe digital editions and looking to better understand how this process would work?  User would pay and then be able to download the ebook to their devices and allow us to control the files rather than sending pure pdf's.

    This is the forum for the Adobe FormsCentral product. It is not a support forum for help with downloading e-books.
    I suggest you try with the online store where you are trying to buy your book, or with your e-reader manufacturer. Perhaps there is a forum somewhere for users of your device?
    Brian

  • Error in Blackberry application using Sybase Unwired Platform

    Hi Experts,
    I am developing a mobile application, in which I need to give authorization to all SAP users. For this I had created an RFC enabled Function Module in SAP R/3, which checks the input username and password. If the username and password satisfies the condition the output internal table may get filled, otherwise the output internal table will get refreshed.
    Suppose for the first time when I am giving wrong username and password int he front application, Internal table will be empty. This is correct as per the logic. During the second time when I enter correct username and password, It will fetch all the needed values this is also correct. But during the third time when I enter correct username and wrong password and debug there is no value in the internal, but in the mobile front end it is showing the data.
    Can anybody help me to solve this issue?
    Thanks and regards,
    Rinzy Deena Mathews.

    Hi,
    The problem in your case is, whenever you request data from your ERP backend this data is cached in SUP CDB tables. For eg. if you try to give a different userid and password for the fourth time, then you will see the data of both the first and the second user.
    This is not a problem but a feature provided in SUP to cache data. This improves performance when you have huge number of devices. Your issue can be resolved by configuring the cache groups.
    Try to look at the documentation : http://infocenter.sybase.com/help/topic/com.sybase.infocenter.scc.sup.1.5.2.configure.doc/doc/html/aba1251475340824.html
    Regards,
    Siva.

  • How to use the cross-platform jmf?

    I have download a file named jmf-2_1_1a-alljava.zip,when unzip, a bin directory in it,but how to run the jmstudio,jmfregistory?

    You need to get jmf.jar in your CLASSPATH, either on the command line, in an environment variable, by putting a symlink in $JAVA_HOME/lib/ext, whatever works for you. Have you done that? Once it's in the classpath, you can run jmstudio from any directory with the command "java JMStudio".
    Items in the bin directory are just shell scripts, run with "sh jmstudio" or whatever suits your shell (on Mac OS X, copy one of these guys and append ".command" to the filename to make him double-clickable in the Finder).
    --invalidname

Maybe you are looking for

  • Configure a Password Policy

    Hi All, i want to have a password policy for the database. As I found, there's a default table called dba_profiles where we can set password properties for the default database profile in 11g. Actual requirement is to change the sys user's password i

  • Creating a ruler

    Hi, I have an idear about creating a ruler in Flex, but I do not know how to start. My idear is as follows: I want to display a ruler with markers on it. (0,100,200,300) I want to be able to move it by mouse (sweep it to the left and to the right, wi

  • Additional cc in outgoing mail

    I can only add 2 cc's to my outgoing emails and I need more than that on some emails. How do I add a couple more cc's?

  • Can't download previously purchased Elements on new Macbook

    I purchased Photoshop Elements 12 in November 2013 and downloaded it to my Macbook Pro. I recently bought a new Macbook and wanted to install this previously purchased version of elements. I went to my order history on the Adobe site and pressed down

  • PostPrint for Adobe Reader 7.0.0

    The PostPrint event does not fire in Adobe Reader 7.0.0 when the user press cancel in the print dialog. Is there any other way to know if a user closes that dialog? Upgrading Adobe Reader is unfortunately not an option.