Problem choose method for save and retrive data

Hi
I want to conver sql database to berkeley db.my sql database has over that 40 tables and each table has diffrent fields (like varchar,int,...)and some tables have over that 30 fields .I want to use method that berkeleydbcorec pdf explain in chapter 3(Using C Structures with DB):
what is the limitation for use first method for store information?
I think only limitation is waste database.
what are the advantages of use (marshalling the data)?
if I use marshalling the data for store records does speed for fetch information reduce or not?
is it good use marsharling or first method for store information?
please help me.
regards,
saaed

Hi,
Since nobody else has posted anything I thought I would mention a couple of things:
Most applications that need a database need a way to work with records and fields. Berkeley DB does not have a schema so it is up to the application to format the data. Some databases through their DML make it easy to the application to look at fields but they are doing work for you behind the scenes.
Some dbms's if they support variable length fields store some information on the page to delimit fields. At run time there is some overhead in doing that as the dbmx needs to find the location on the page for the next field and so forth. So although the application may not have to write the code to obtain fields from records there still is the overhead in the database to do so.
As you noted in Berkeley DB, you do the marshalling and unmarshalling of data. Since you know your data best, you can optimize it as you see fit.
Perhaps you should try this on one table first and see what the performance is.
I hope this helps.
Ron

Similar Messages

  • BDC Program - Session Method For Add and Edit Data

    Hi,
    How to write a BDC program (For Session Method) to upload Sales Order Data (VA01) and at the same
    time to modify the data if the Order exists?
    Thanks
    Murthy

    Hi,
    go to SHDB
            Create a project and recording the Va01 and then u write the code for That recording.

  • Best Method for Importing and Exporting Data to a local 'resrouce'  file

    I've searched the forum, and seen glimmers of hope to what I am trying to piece together - but not in a concise way that will sink into my brain.
    Using Javascript on a PC for IDCS2, I'm writing a simple script that has a user interface.
    I'd like to have 4 default values for the user interface to be read from (and if altered, written to) a text file.
    What's the simplest way to go about this? I've read through many posts, and toyed around with readln and writeln functions, but nothing is working out. For some reason, I can't send any information to any file - let alone read it back in.
    Could somebody point me in the right direction? For simplicity sake let's say I have just one variable, "myVariable" - and I want to send it to and read it from c:\test.txt.
    Someday - this will all sink in. Right now, I'm reaching for Aspirin.

    Hi D Scott Chinn,
    Try something like this:
    var myFile = File.saveDialog ("Save file as:")
    if(myFile != undefined){
    var myString = "Write this string to a file."
    myFile.open("w");
    myFile.write(myString);
    myFile.close();
    Thanks,
    Ole

  • Are there LabView VI's for accessing and writing data to a CDF?

    I am currently trying to develop a data acquisition system using LabView to acquire the data and to write the data to a file in NSSDC's Common Data Format (CDF). The CDF distribution (Windows 2000) comes with a precompiled dll of the CDF library of functions. Unfortunately, LabView crashes when I try to use the Call Library Function node. I am confident that it is not a function prototype error, but it may be that the CDF library is not thread-safe.
    Has anyone developed VIs for writing and accessing data in CDF format?
    Does anyone know how I can determine why the Call Library Function node causes LabView to crash when it uses a particular dll? There are a host of reasons given in the "Using External Co
    de" manual, but no apparant way of determining which one is the culprit.

    Thank you for your response. Actually, I have solved the problem by recompiling the source code for the CDF distribution using the Cygwin development environment. Cygwin provides a unix C compiler and linker which can create Windows executables and dlls. After modifying the makefiles that came with the CDF distribution I was able to build the dll and then use the Call Library Module to access the CDF functions.
    A note about this process: the linker that Cygwin exports both Windows-style and C-style functions when it creates the dll. Be carefull not to use functions that end in underscores from the CDF dll as C-style functions.
    Also, I would like to point out that the current faliure method of the Call Library Module (i.e. crashing LabView) is not acceptable.
    It would be much better if LabView would generate an error message or an error log entry in case of a dll failure. I would hope that this scenario would be a target goal for future development of LabView. The Call Library Module is an incredibly powerful tool in that opens up many avenues of development -- it deserves a better way diagnosing problems.

  • I don't know why whenever i choose " check for updates " and download itunes 11.1 , it never shows any downloads , and i need itunes 11.1 so i can restore my iphone again .. help please

    I don't know why whenever i choose " check for updates " and download itunes 11.1 on my desktop , it never shows any downloads .. even when i tried downloading it from the website, and i need itunes 11.1 so i can restore my iphone again .. help please

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HCM errors in phase Identify Objects for Transfer and Start Data Selection.

    Hello Colleagues ,
    Background: We are using TDMS HCM PA PD Expert package to transfer all of the HCM data
    We are using TDMS 4.0 SP 5. We are trying to do the Configuraition in Identify Objects for Transfer and Start Data Selection.. In this phase, we are encountering the issue of 'choose to confirm to trigger data selection'.  The only option in this activit is'confirm batch' and 'confirm online'. Even if we press the button, we are still encountering issues. What selections then or values can we use?Thank you. Kindly see screen shot
    Regards,
    Meinard

    Hello Meinard,
    There could be two issues:
    First check if you have assigned the target ranges for the dialog user which you are using to select data from sender system. You need to maintain target ranges in activity 'Define target ranges for users' which you can find under activity "Configuration and Utilities in Control system".
    Secondly, there could be authorizaton issues for the sender system user. Check for any authorization issue in SU53 in sender system for the user which you used to logon to sender system.
    Thanks
    Anita

  • Best practice for Plan and actual data

    Hello, what is the best practice for Plan and actual data?  should they both be in the same app or different?
    Thanks.

    Hi Zack,
    It will be easier for you to maintain the data in a single application. Every application needs to have the category dimension, mandatorily. So, you can use this dimension to maintain the actual and plan data.
    Hope this helps.

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • New firefoxis great. i keep many windows open. in ur earlier ver. I used to close it, it would ask for save and shut down as one of the three option,but in this new version it close all my window, how do i save my window tab?

    new firefox is great. I usually have many windows open. in your earlier version, when ever I used to close it, it would ask for save and shut down as one of the three option,but in this new version it close all my window, how do i save my window tab?

    See [[Firefox does not ask to save tabs and windows on exit]].
    Does this work for you?

  • TCODES FOR SENDINGIG AND RECEIVING DATA THROUGH ALE

    Hi,
    All,
    Message type I can find for the following :
    Equipment master: EQUIPMENT_CREATE
    Work centre: WORKC2, WORKC3 or WORKC4
    Functional location: FUNC_LOC_CREATE
    but i did'nt  find  a transaction code for sending and receiving data through ALE.
    For example:  Send material    T.code BD10,
                         Receive material T.code BD11.
    Please give the solution.
    Regards.

    can Tx BD21 is of any help

  • For block and unblock date .

    Hi All,
                 In me22n for standard PO  there are 2 Lock icons under Header details,
    In my Report the user wants that Lock icons  details to be appeared in output. (ie) for block and unblock date .....
    Kindly suggest me how to do it .....
    Your Valuable answers will be  rewarded .
    Regards,
    Vinoth.

    Hi Paras
    Try as below:
    data: l_lock type ICON_D value '@06@',
          l_ulock type ICON_D value '@07@'.
    write:/ l_lock as icon,
          / l_ulock as icon.
    Kind Regards
    Eswar

  • What is Licensing Method for SCCM and SCOM 2012

    What is Licensing Method for SCCM and SCOM 2012
    We have 75000 clients, so we going to implement SCCM and SCOM 2012 environment in azure. Actually we plan to go for One Central Administration site and three primary sites (to manage this clients), going to host in Azure. I need to know how the licensing
    process work for this environment, how many licenses we need to get for this? is charging for Client based, Site based or environment based?  Please update.
    Thank you
    Fazal
    Fazal(MCTS)

    Hi,
    Running the SCCM and SCOM servers themselves in Azure to manage clients outside azure is not really supported if I remember correctly..
    http://blogs.technet.com/b/configmgrteam/archive/2013/10/23/configmgr-and-endpoint-protection-support-for-windows-azure-vms.aspx
    Licensing is explained here.
    http://www.microsoft.com/licensing/about-licensing/SystemCenter2012-R2.aspx
    In short for Client OS you need a cal per client, included in Core CAL and Enterprise CAL.
    For servers it is licensed per CPU and can be licensed for all virtual servers on a host as well, included in the guide above.
    ps. side note a CAS is not really necessary in most case if you don't have more than 100'000 clients, it adds a lot of complexity and I would avoid it if I could.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Does EBS license include tools for reporting and extracting data (queries)

    Hello,
    I'm recommending Oracle EBS to a customer and I need to mention what tools for reporting and extracting data (queries) are included in a Oracle EBS license.
    I hope you can help me with that information, or at least with providing me the place where I can get the info.
    Thanks in advance,
    A/P Sergio Maestri

    Hi,
    Thanks, I think the same ... but the customer asked me about it ... I supose my answer will be that he can use Reports Builder for reporting and Toad or PLSQL Developer to access to the database and make queries ...
    What about XML Publisher ? ...it can be used to make reports against an Oracle EBS database and integrate them into the EBS Application ?I believe you need a developer license to use Oracle Developer (Forms/Reports) for customizing/creating reports.
    Global Pricing and Licensing
    http://www.oracle.com/corporate/pricing/index.html
    And IINM, the same thing applied to XML Publisher -- See this thread for a similar discussion.
    eBiz & XML Publisher - Confusion
    http://forums.oracle.com/forums/thread.jspa?messageID=3834445
    Please contact your Oracle sales representative, he/she is the best one to answer such questions.
    Thanks,
    Hussein

  • BOXI R3 Webi Doc -"Refresh On Open" checked as default for Save and Save As

    we have row level security at database level and we require that all webi reports are set to "Refresh on Open" in order to apply the security settings each time the report is viewed. 
    Is it possible to make BOXI R3 Webi Document -"Refresh On Open" checked as default for "Save" and "Save As"
    through SDk?

    Are you referring to editing/creating a Webi doc through infoview?  Infoview is an out of the box web application and modification of it is not supported.  There is no setting to make all webi docs refresh on open within the enterprise product.
    The only thing you could do with the sdk is to open any existing doc and change the setting.  This isn't a great solution as it won't affect any new reports created, nor will it prevent users from modifying the document and changing this setting and saving.

  • Bapi or method for opening and closing quantity of material

    Hi Friends,
    Is there any Bapi or Method for Opening and Closing Balence quantity of material
    plz tell me if any.
    Thanks And Regards.
    Devalla T Kr.

    Hi ,
    try this one.
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=15856
    from this code u need to ignore Ztables.
    regards
    Prabhu

Maybe you are looking for

  • WCF Service as Data source in SSRS report with Complex Types

    Hi All, I have a requirement where we are suppose to use WCF service as datasource in SSRS. I was able to do that when the WCF response type was simple. Now the requirement have changed where the response type is complex . I couldn't figure out a way

  • How do you remove and get a new Apple ID on an iPod Touch?

    How do I remove and get a new Apple ID on my daughter's iPod Touch instead of my Apple ID that I use for my iPhone?  She is now able to get everything that I download and even see some text messages and all my contacts....and she is only 9!  I though

  • Repository Access

    Hello All, I have a question. I can't find the SAP HANA Development when I go to windows --> Preferences in my SAP HANA Studio. I am trying to get to the Repository Access. Can someone help me out? Thank you. Onero.

  • Unable to edit any old entity in Data Modeler

    Hi, I have a strange problem with Data Modeler 2.0.0.584 on Win XP. If you came across similar issue, please let me know how you solved it. I have a logical model created several weeks ago. I can open the model without any errors, but I am unable to

  • Outlook Tasks Only Does Not Sync

    I can get everything to sync to my Outlook 2007 except my Tasks. I don't receive much help on it, only message in the Log is Outlook Tasks synchronization failed. Any help would be greatly appreciated. Nothing tells me why it failed.  Thanks! Post re