How to use Berkeley DB in an application without installing

I'm using Berkeley DB in a python project, and I am wondering if I can make the libraries available to python without specifically installing berkeley DB.
How can you embed Berkeley DB in an application generally?
Has anyone done this with python and bsddb3?
Thank you
Sachi.

The python BDB libraries are maintained independently of Oracle.  You will probably have more success asking this question on the BDB python mailing list at https://mailman.jcea.es/listinfo/pybsddb
Lauren Foutz

Similar Messages

  • What is Digital Signature, How to use it in web based applications?

    I am new to digital signatures. Any body can help me how to create a digital signature and how to use it in web based applications. Do we need certificates to use digital signatures?

    <link_farm_and_everything_else_removed_by_moderator>
    Edited by: Julius Bussche on Sep 3, 2008 8:59 AM

  • How to use " toFront() " method in java application and in which package or

    How to use " toFront() " method in java application and in which package or class having this toFront() method.if anybody know pl. send example.

    The API documentation has a link at the top of every page that says "Index". If you follow that and look for toFront(), you will find it exists in java.awt.Window and javax.swing.JInternalFrame.
    To use it in a Java application, create an object x of either of those two classes and write "x.toFront();".

  • How will the new OSX Mavericks affect applications already installed and using Mountain Lion?

    How will the new OSX Mavericks affect applications already installed and using Mountain Lion?

    If you're asking about compatibility, that would be something you would need to ask of the app developers, though most apps compatible with Mountain Lion should be compatible with Mavericks. You can also consult the tables here:
    http://roaringapps.com/apps
    though that information comes from user reports and so should not be considered authoritative.
    If you're asking whether installing Mavericks will delete your apps, no, it won't, though a good backup is always highly recommended.
    Regards.

  • How to use iPhone USB tethering / Personal Hotspot without iTunes

    I have a corporate laptop so didn't want to install the whole of iTunes to enable USB tethering / Personal Hotspot.
    Here's how you can enable USB tethering / Personal Hotspot without installing iTunes.
    1. Download iTunes from https://www.apple.com/itunes/download/
    2. Extract the contents of the downloaded file using winRAR or 7zip. In particular you want the following files:
    For 32 bit systems:
    - AppleApplicationSupport.msi
    - AppleMobileDeviceSupport.msi
    For 64 bit systems:
    - AppleApplicationSupport64.msi
    - AppleMobileDeviceSupport6464.msi
    Note: If you don't have either winRAR or 7zip you can do the following instead:
    Start the iTunes installation, then on reaching the first screen, the required files will be extracted to your machine, perform a search for one of the files above on your C drive whilst the iTunes installation window is open, it should find them in a temp folder somewhere, you can then copy and paste them somewhere and close the iTunes installation.
    3. Before continuing, ensure your iphone is not connected to the computer. Then, install AppleApplicationSupport.msi (or AppleApplicationSupport64.msi for 64 bit machine)
    4. Install AppleMobileDeviceSupport.msi (or AppleMobileDevice6464.msi)
    5. Restart your computer
    6. After your computer has restarted, enable Personal Hotspot on your iPhone (select USB only option) and plug in your iPhone using the USB cable. Some device drivers will install and then your computer should automatically connect to the iPhone internet connection.

        Hi kveille,
    Using the personal hotspot can become tricky as there are three different options available. Based on your details, it sounds like you've been trying the option to connect using WiFi on your computer and iPad. We have the steps needed for iOS 6 to activate and use WiFi so I encourage to use these exact steps to get it to work http://bit.ly/SFLD2b. You will need to check that the MacBook Pro is setup to pick up the network the right way. Check by following http://bit.ly/PJkOWZ. Step 9 demonstrates how to find the network name that you can look for on your computer. Try these steps and keep us posted to the status of the connection.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • Can i just partition my HD by using boot camp 4.0.1 without install window?

    Can i just partition my HD by using boot camp 4.0.1 without install windows?
    cox i want to use rEFIt to boot up my pendrive to install windows.
    Due to some reason the boot camp 4.0.1 cannnot detect my usb drive (that contained windows 7), so thats why i use the rEFIt to boot from my usb drive

    Yes, you can.
    Let the BootCamp Assistant just make the partition and do not click on "Install Windows"-button.
    The result is a preformatted FAT32-partition on your Mac.
    Stefan

  • HT1651 how can i improve my macbook's performance without installing memory

    how can i improve my macbook's performance without installing memory

    More RAM & bigger faster Hard Drive will help, maybe a better Graphics card also, since 10.5 ises the Video much harder.
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto *but not including the Serial#*...
    Hardware Overview:
    Machine Name: Power Mac G5 Quad
    Machine Model: PowerMac11,2
    CPU Type: PowerPC G5 (1.1)
    Number Of CPUs: 4
    CPU Speed: 2.5 GHz
    L2 Cache (per CPU): 1 MB
    Memory: 10 GB
    Bus Speed: 1.25 GHz
    Boot ROM Version: 5.2.7f1
    Then click on More Info>Hardware>Graphics/Displays and report like this...
    NVIDIA GeForce 7800GT:
      Chipset Model:          GeForce 7800GT
      Type:          Display
      Bus:          PCI
      Slot:          SLOT-1
      VRAM (Total):          256 MB
      Vendor:          nVIDIA (0x10de)
      Device ID:          0x0092
      Revision ID:          0x00a1
      ROM Revision:          2152.2
      Displays:
    VGA Display:
      Resolution:          1920 x 1080 @ 60 Hz
      Depth:          32-bit Color
      Core Image:          Supported
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Quartz Extreme:          Supported
    Display:
      Status:          No display connected

  • Running java application without installing JRE

    We try to run Java application without installing JRE, by copying java.exe (and other JRE files) together with our jar file. This does not work.
    Can it be solved?

    Can you elaborate on the steps to create a java
    application without installing JRE.
    Regards,
    padmaPadma,
    The solution is to deploy my JAR together with JRE files, without running standard JRE installation. This makes possible to simply ensure that my JAR will run with THIS SPECIFIC JRE. This is important from QA point of view. Also, installation of my application does not change configuration of JVMs on the computer.
    The solved problem:
    Standard JRE installation may change the default JRE for many Java applets and application on computer. Changing version JRE may lead to some programs misbehaviour (JRE backward compatibility does not always work and different Java versions not always live together well). Thus, some IT departments are very nervous about JRE version change.
    Hope, this explains my problem and the solution.

  • Need pointers on how to use SQLite in  ADF Mobile applications

    Hey,
    I am trying to develop an ADF mobile App. I am new to ADF mobile. I went through some of the tutorials but still need some clarification on how to use SQLite inside the application. Can i get a Data control out of it? Or is it just to read and write data .
    that brings me to the other question, Is the 'demo.db' i.e the db file which represents the Database, supposed to be packaged as a resource with the application?
    Pls give me some info abt this.. If you can provide me links with this information, it would be of great help.
    Thanks,
    Jithesh

    You can expose a java class containing methods (select, update, ...) as a Data Control.
    Yes, you need to add your .db as a resource.
    Here a blog post about SQLite in ADF Mobile:
    http://adf4beginners.blogspot.be/2013/03/adf-mobile-sqlite-in-adf-mobile.html

  • How to use iterator in standard BSP application BT115QIT_SLSQ

    Hi experts,
    I am new in BSP and my requirement is to put a checkbox icon beside the actions column (that has 2 existing icons already) of BT115QIT_SLSQ enhancement. I read a lot of article about iterators but I believe most of them are used in custom BSPs as we all know that standard BSP uses standard classes as well, which we cannot modify ourselves without access keys. Can someone help me how to use it in standard BSP? Or is there other much appropriate method?
    Thanks and Regards,
    Louie

    Dear Pradeep,
    Find the below link which explains a simple data download to excel from a table view.
    www.sapt echnical.com/Tutorials/BSP/Excel/Index.htm
    Try to avoid the way your using in the BSP application and it is abdicable to use the standard methods / class available like "cl_bsp_utility"
    Hope this will be helpful.
    Regards,
    Gokul.N
    Edited by: Gokul on Oct 8, 2009 9:57 AM

  • How to use an OBR outside the application

    Hi All,
    I am using SOA and Jdev 11.1.1.1.0.
    I have created business Rule and deployed it(using Decision table).
    Now I want to use that rule out side my application.
    In JDev i am able to import .rules file only with in that application. But we need that out side that application.
    Please guide me.
    Regards
    PavanKumar.M
    Edited by: pavan4s on Mar 9, 2010 3:39 AM

    Hi Eric,
    Thanks for the reply.
    Yes, I have stored my rules file in MDS(File based... both in resource palltte and application resources).
    But how to use this in other application.
    While creating Business rule in other application it is allowing us to import files from the same application.
    Regards
    PavanKumar.M

  • How to use virtual keyboard in flex application

    hi..
    i am using flash builder 4,
    how to use virtual keyboard in flex?
    if any one aware of this pls reply me.......
    saran r

    hi,
    how to code for these buttons  "control,alt,delete,insert and spacebar".
    can u help me  how to program?
    i have attached the mxml code with this,
    virtualkeypad1.mxml
    <?xml  version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"  minHeight="600"
                     creationComplete="application1_creationCompleteHandler(event)"  viewSourceURL="srcview/index.html">
         <fx:Script>
             <![CDATA[
                 import flash.utils.getQualifiedSuperclassName;
                 import mx.events.FlexEvent;
                 private var inpText:String = 'inp1';
                 private var shiftState:Boolean = false;
                 private var capsState:Boolean = false;
                 protected function  keyboard_clickHandler(event:MouseEvent):void
                     this[inpText].text =  this[inpText].text+(event.currentTarget as Button).label;
                     if (shiftState == true) shift_clickHandler(null);
                 protected function caps_clickHandler(event:MouseEvent):void
                     capsState = !capsState;
                     if (capsState == true)
                         currentState = "SHIFTED" else currentState =  "PRIMARY";
                 protected function tab_clickHandler(event:MouseEvent):void
                     this[inpText].text = this[inpText].text+"    ";
                 protected function shift_clickHandler(event:MouseEvent):void
                     shiftState = !shiftState;
                     if (shiftState == true)
                         currentState = "SHIFTED" else currentState =  "PRIMARY";
                 protected function enter_clickHandler(event:MouseEvent):void
                     this[inpText].text = this[inpText].text+"\n";
                 protected function  backspace_clickHandler(event:MouseEvent):void
                     var tmpStr:String = this[inpText].text;
                     this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
                 protected function  application1_creationCompleteHandler(event:FlexEvent):void
                     inp1.setFocus();               
                 protected function focus_enterHandler(event:MouseEvent):void
                     inpText = event.currentTarget.id;
             ]]>
         </fx:Script>
         <s:states>
             <s:State name="PRIMARY"/>
             <s:State name="SHIFTED"/>
         </s:states>
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value  objects) here -->
         </fx:Declarations>
         <s:TextInput id="inp1" y="36" width="151" horizontalCenter="0"  click="focus_enterHandler(event)" y.PRIMARY="239"  horizontalCenter.PRIMARY="42" width.PRIMARY="199"  height.PRIMARY="31"/>
         <s:Group id="keyboard" width="661" height="184"  horizontalCenter="0" y="300" focusEnabled="false">
             <s:Button x="5" y="5" label="~" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="`"/>
             <s:Button x="49" y="5" label="!" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="1"/>
             <s:Button x="93" y="5" label="@" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="2"/>
             <s:Button x="137" y="5" label="#" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="3"/>
             <s:Button x="181" y="5" label="$" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="4"/>
             <s:Button x="225" y="5" label="%" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="5"/>
             <s:Button x="269" y="5" label="^" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="6"/>
             <s:Button x="313" y="5" label="&amp;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
             <s:Button x="357" y="5" label="*" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="8"/>
             <s:Button x="401" y="5" label="(" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="9"/>
             <s:Button x="445" y="5" label=")" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="0"/>
             <s:Button x="489" y="5" label="_" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="-"/>
             <s:Button x="533" y="5" label="+" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="="/>
             <s:Button x="577" y="5" label="Backspace" height="43"  width="80" fontSize="11" fontWeight="bold"  click="backspace_clickHandler(event)"/>
             <s:Button x="5" y="48" label="Tab" height="43" width="67"  fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
             <s:Button x="72" y="48" label="Q" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="q"/>
             <s:Button x="116" y="48" label="W" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="w"/>
             <s:Button x="160" y="48" label="E" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="e"/>
             <s:Button x="204" y="48" label="R" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="r"/>
             <s:Button x="248" y="48" label="T" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="t"/>
             <s:Button x="292" y="48" label="Y" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="y"/>
             <s:Button x="336" y="48" label="U" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="u"/>
             <s:Button x="380" y="48" label="I" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="i"/>
             <s:Button x="424" y="48" label="O" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="o"/>
             <s:Button x="468" y="48" label="P" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="p"/>
             <s:Button x="512" y="48" label="{" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="["/>
             <s:Button x="556" y="48" label="}" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="]"/>
             <s:Button x="600" y="48" label="|" height="43" width="57"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="\"/>
             <s:Button x="5" y="91" label="CapsLock" height="43"  width="80" fontSize="12" fontWeight="bold"  click="caps_clickHandler(event)"/>
             <s:Button x="85" y="91" label="A" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="a"/>
             <s:Button x="129" y="91" label="S" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="s"/>
             <s:Button x="173" y="91" label="D" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="d"/>
             <s:Button x="217" y="91" label="F" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="f"/>
             <s:Button x="261" y="91" label="G" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="g"/>
             <s:Button x="305" y="91" label="H" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="h"/>
             <s:Button x="349" y="91" label="J" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="j"/>
             <s:Button x="393" y="91" label="K" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="k"/>
             <s:Button x="437" y="91" label="L" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="l"/>
             <s:Button x="481" y="91" label=":" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY=";"/>
             <s:Button x="525" y="91" label="&quot;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
             <s:Button x="569" y="91" label="Enter" height="43" width="88"  fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
             <s:Button x="5" y="134" label="Shift" height="43" width="106"  fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
             <s:Button x="111" y="134" label="Z" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="z"/>
             <s:Button x="155" y="134" label="X" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="x"/>
             <s:Button x="199" y="134" label="C" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="c"/>
             <s:Button x="243" y="134" label="V" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="v"/>
             <s:Button x="287" y="134" label="B" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="b"/>
             <s:Button x="331" y="134" label="N" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="n"/>
             <s:Button x="375" y="134" label="M" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="m"/>
             <s:Button x="419" y="134" label="&lt;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY=","/>
             <s:Button x="463" y="134" label="&gt;" height="43"  width="44" fontSize="24" fontWeight="bold"  click="keyboard_clickHandler(event)" label.PRIMARY="."/>
             <s:Button x="507" y="134" label="?" height="43" width="44"  fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)"  label.PRIMARY="/"/>
             <s:Button x="551" y="134" label="Shift" height="43"  width="106" fontSize="24" fontWeight="bold"  click="shift_clickHandler(event)"/>
         </s:Group>
    </s:Application>
    thanks in  advance,
    saran r

  • How to use Xcelsius tool in Desktop applications

    Hello
    This is shankar, from IMS CRM4 team in SAP. We have a requirement for interactive anlalytics in our product and found that Xcelisus is the correct approach.
    Can you please clarify the following
    1. How to use the Xcelsius tool in desktop applications.
    2. Is Xcelsius Viewer free version available which can used only to view the interactive analytics. Xcelsius designer is not required for all the users.
    Thank You
    Shankar

    Hello Victor
    Thank you for your inputs !!
    Point 2 is very clear to me that we do not need any additional software to run the SWF files.
    We have CRM Mobile offline product with Crystal reports integrated already. CRM Mobile Offline solution is a desktop application and there is no intutive analytics.
    So i would like to know more on how to link the data (Excel or XML) to Xcelisus tool and get the output SWF file. Can it be done through the command line (without using Xcelsius designer) ??. Do we need to have any licensed version of Xcelisus for this task??
    This will promote both our prodcut and BOBJ Xcelisus prodcut as well
    Regards
    Shankar

  • How to use Preloader with stand-alone application in Eclipse? Thank you.

    My IDE is eclipse and my project is a stand-alone application(pure CS architecture with OSGI framework).
    How to use Preloader thus the preloader would be started before my main Application and hid later?
    I found some code in http://docs.oracle.com/javafx/2/deployment/preloaders.htm#BABGGDJG
    but I still don't know how to deploy the Preloader with my startup Application in OSGI framework.
    I give some code of my startup application below:
    public class MyPrjMain extends Application
        private static Stage primaryStage;
         public void start(final Stage stage)
            throws BusinessException
            primaryStage = stage;
            init(primaryStage);
            primaryStage.show();
    }Thanks very much, everybody.
    Edited by: Slash Wang on 2013-2-27 下午5:36

    Your question has already been answered on StackOverflow:
    http://stackoverflow.com/questions/15126210/how-to-use-javafx-preloader-with-stand-alone-application-in-eclipse/15148611

  • How to use berkeley-db on 64bit windows?

    Hi,
    I'm using berkeley-db5.0.21 with C# wrapper in my application, it works fine on 32bit windows. However, when I tried my app on 64bit windows, it came with the error:
    The type initializer to System.TypeInitializationException: “BerkeleyDB.Internal.libdb_csharpPINVOKE” threw an exception. ---> System.TypeInitializationException: The type initializer to “SWIGStringHelper” threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT:0x8007000B)
    At BerkeleyDB.Internal.libdb_csharpPINVOKE.SWIGStringHelper.SWIGRegisterStringCallback_libdb_csharp(SWIGStringDelegate stringDelegate)
    At BerkeleyDB.Internal.libdb_csharpPINVOKE.SWIGStringHelper..ctor()
    At BerkeleyDB.Internal.libdb_csharpPINVOKE..cctor() At C:\Users\gmf\hg\db-5.0.21\csharp\Internal\libdb_csharpPINVOKE.cs:line 33
    At BerkeleyDB.Internal.libdb_csharpPINVOKE.new_DB(HandleRef jarg1, UInt32 jarg2)
    At BerkeleyDB.Internal.DB..ctor(DB_ENV env, UInt32 flags) At C:\Users\gmf\hg\db-5.0.21\csharp\Internal\DB.cs:line 109
    At BerkeleyDB.BaseDatabase..ctor(DatabaseEnvironment envp, UInt32 flags) At C:\Users\gmf\hg\db-5.0.21\csharp\BaseDatabase.cs:line 35
    At BerkeleyDB.BTreeDatabase..ctor(DatabaseEnvironment env, UInt32 flags) At C:\Users\gmf\hg\db-5.0.21\csharp\BTreeDatabase.cs:line 30
    This should be normal because the installed bdb is 32bit by default. Then I re-built Berkeley DB(build_windows\BDB_dotNet.sln) to x64, and copied the built "libdb50d.dll, libdb_csharp50d.dll"(removed the last "d" char) to the installation directory to replace the original dlls and rerun my app, but still failed with the different error:
    The type initializer to System.TypeInitializationException: “BerkeleyDB.Internal.libdb_csharpPINVOKE” threw an exception。 ---> System.TypeInitializationException: The type initializer to “SWIGStringHelper” threw an exception. ---> System.DllNotFoundException: Could not load file or assembly “libdb_csharp50”: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT:0x800736B1)。
    At BerkeleyDB.Internal.libdb_csharpPINVOKE.SWIGStringHelper.SWIGRegisterStringCallback_libdb_csharp(SWIGStringDelegate stringDelegate)
    At BerkeleyDB.Internal.libdb_csharpPINVOKE.SWIGStringHelper..ctor()
    At BerkeleyDB.Internal.libdb_csharpPINVOKE..cctor() At C:\Users\gmf\hg\db-5.0.21\csharp\Internal\libdb_csharpPINVOKE.cs:line 33
    At BerkeleyDB.Internal.libdb_csharpPINVOKE.new_DB(HandleRef jarg1, UInt32 jarg2)
    At BerkeleyDB.Internal.DB..ctor(DB_ENV env, UInt32 flags)At C:\Users\gmf\hg\db-5.0.21\csharp\Internal\DB.cs:line 109
    At BerkeleyDB.BaseDatabase..ctor(DatabaseEnvironment envp, UInt32 flags) At C:\Users\gmf\hg\db-5.0.21\csharp\BaseDatabase.cs:line 35
    At BerkeleyDB.BTreeDatabase..ctor(DatabaseEnvironment env, UInt32 flags) At C:\Users\gmf\hg\db-5.0.21\csharp\BTreeDatabase.cs:line 30
    At BerkeleyDB.BTreeDatabase.Open(String Filename, String DatabaseName, BTreeDatabaseConfig cfg, Transaction txn) At C:\Users\gmf\hg\db-5.0.21\csharp\BTreeDatabase.cs:line 229
    Am I doing something wrong with the build of x64 version? Or is there other steps needed to do to use x64 bdb? Any help is appreciated.

    My x86 hardware: Intel E7500 Dual CPU @2.93G Hz, 2GB RAM.
    My x64 hardware: Intel Xeon E5504 @2.00G Hz, 16GB RAM
    I ran two tests separately in x86 & x64, the page size of bdb is both 8KB, cache size is both 128KB.
    1. Pure insert.
    Inserts 200,000 items of data(each data value is about 64 bytes large).
    x86: 5.01s
    x64: 5.54s
    2. Business logic related. The application gets data from mysql db, does some business-related operation, and inserts the data to bdb.
    x86: 10,000 rows of data/s.
    x64: 6,500 rows of data/s.
    The factor of network cost to mysql can be ignored, and the assemblies used in x64 are release build.

Maybe you are looking for

  • Acrobat 9 Pro question

    I'm working in Acrobat 9 Pro. I have a three page form. I need to add the same number in the same position at the top of each page. I then need to send that form to our in-house copier to print it. I then need the same form with next numerical number

  • Hyperlink text will not work with _self, only as self and then creates window

    I understand that the code below should work but it doesn't, I have to take the underline before self out, for the hyperlink to work at all, and then it creates another window for the file. There may some sort of glitch that I am not aware of. But th

  • I see no icons in the store, cant purchase anything

    Inet is on. Everything worked ok before, but 2 days ago all icons from iTunes store disappeared. It is just blank window. I cant buy anything. Reinstallation of itunes doesnt help. Current version is 4.3.3 but it cant be upgraded to 4.3.5. dunno why.

  • Can't tell what generation ipod shuffle I have

    I've looked at the online community for I-pod shuffle's link and still can't tell what generation I have.  My last 3 serial numbers aren't numbers they are letters. Any help? Thanks

  • Reposting Line Items

    Hi Experts, I just want to know what are the steps in making the reposting in KB61 reflected in FI-GL. I mean, if I'm going to transfer my post in wrong cost center to the right cost center using KB61, I want to show the effect in FS10N. So far, in S