Very simple database require

Hi
I'm looking for a very simple database solution. I have some very large .csv files that I need to query against before importing to Excel. Filemaker, etc. is over the top for what I need. Any ideas?
Thanks.
PowerPC G5   Mac OS X (10.4.6)  

Welcome to Apple Discussions!
You could use a script that converts CSV to Appleworks:
http://www.tandb.com.au/appleworks/import/
And then export from Appleworks to Excel.
I know the PowerMac G5 doesn't come with Appleworks, but it is a quarter of the price of Filemaker Pro.
Maybe the authors of the script could help you.

Similar Messages

  • A very simple database system with JSON

    If we need to store some data in a database, but without the need of advanced SQL features, can we use this scheme (written here in Javascript / node.js) :
    // the DB will be in RAM !
    var myDb = {};
    // read DB from disk if file exists
    try { myDb = JSON.parse(fs.readFileSync(DBFILENAME)); } catch(e) { }
    // serialize to disk every minute or when process terminates
    function serialize() { fs.writeFile('./myDb.json', JSON.stringify(myDb)); }
    setInterval(serialize, 60 * 1000);
    process.on('SIGTERM', serialize); process.on('SIGINT', serialize);
    myDb['record1'] = 'foo';
    myDb['record2'] = 'bar';
    See
    the longer version here as a gist (8 lines of code).
    1) Does this DB practice have a name? Is it really so bad? Is it possible to use such a
    10-lines-of-code DB system, even in production of websites that have a < 1 GB database ?
    2) Scalability: until which size would this system work without performance problems?
    i.e. would it work until 2GB of data on a a normal Linux server with 4GB RAM? Or would there be real performance problems?
    Note: a minute seems enough to write a 2GB data to disk... Of course I admit it is 100% non-optimized, we could add
    diff feature between n-1th and nth writing to disk...
    3) Search: can I use ready-to-use tools to do some search in such a "simple" database? Lucene, ElasticSearch, Sphinx, etc. something else?

    Nothing is wrong with this for development. If it has a name, I suppose it would be a mock database. It is not uncommon to create a mock database that can emulate very basic functionality. You have the added advantage that you start from a scratch
    database each and everytime, thus you know that your program would work also for a potential empty nosql database for the same reason.
    However this is not a reasonable permanent solution by any means.
    Most programmers, due to the small overhead, will simply go ahead and make it work with a nosql database. It may take slightly longer, you are also programming directly to work in production and not being forced to adapt your program and test it beforehand.
    Scalability is a non-issue because you're always working in development. If you crash your own computer, it is not that big of a deal. The limit of such a database would be only that of your RAM (or the RAM of the computer running the server), however I
    think you'd find that you'll find that the program gets very slow before you even reach the point when your program will crash.
    Perhaps you could adapt some searching mechanism for the mock database, but if you're going to go through the trouble, just go ahead and use a proper nosql database. If you literally lose more than 1 hour working on this mock database, then you've wasted
    time.

  • HT3775 The document "EK000011.AVI" could not be opened. A required codec isn't available.  Can anyone tell in very simple terms what I need to do?   I am trying to open video files to a mac

    The document “EK000011.AVI” could not be opened. A required codec isn't available.  Can anyone tell in very simple terms what I need to do?   I am trying to open video files to a mac and the aformentioned message comes up

    Download and install the free VLC: http://www.videolan.org/vlc/download-macosx.html
    It runs a multitude of file formats.

  • Problem With Deploying a very simple Servlet

    HELP REQUIRED:
    Hi,
    I'm including code of a very simple Servlet application (I shd not call it an application):
    index.html
    ==========
    <html><body bgcolor="#FFFFFF">
         <head>
         <title> Rajeev Asthana </title>
    <form action = "/HelloWorldApp/HelloWorld" method = "POST" >
    Please press Submit
    <input type = "submit" value = "Press Me!">
    </form>
    </body></html>
    HelloWorld.java
    ===============
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorld extends HttpServlet {
         public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
              throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              out.println("<html><body bgcolor=\"#FFFFFF\">");
              out.println("<p>Hello World!</p>");
              out.println("</body></html>");
              out.close();
    web.xml
    ========
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>HelloWorldApp</display-name>
    <servlet>
    <display-name>HelloWorld</display-name>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>HelloWorld</servlet-class>
    </servlet>
    </web-app>
    sun-web.xml
    ===========
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
    <sun-web-app xmlns="http://java.sun.com/xml/ns/j2ee">
    <context-root>/HelloWorldApp</context-root>
    <session-config>
    <session-manager persistence-type="memory">
    <manager-properties/>
    <store-properties/>
    </session-manager>
    <session-properties/>
    <cookie-properties/>
    </session-config>
    <cache enabled="false" max-entries="4096" timeout-in-seconds="30">
    <default-helper/>
    </cache>
    <class-loader delegate="true"/>
    <jsp-config/>
    </sun-web-app>
    I have deployed it in following directory structure:
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\HelloWorldApp\
    |
    |
    |               |               |               |
    |               |               |               |
    META-INF          WEB-INF          HelloWorld.java          index.html
                   |
                   |
              |          |          |          |
              |          |          |          |
         classes          sun-web.xml     web.xml          sun-j2ee-ri-project
         |
         |
         HelloWorld.class
    While generating HelloWorldApp.war (which is the war file for this app), I specifies /HelloWorldApp as context root (sun specific).
    Now, when I deployed it thru Admin Tool and then clicked on "Launch", it displays a page with :
    Please press Submit Press Me!
    But when I click the button "Press Me!", it says:
    "The requested resource (/HelloWorldApp/HelloWorld) is not available."
    What should I do to correct the problem?
    Thanks in advance.
         

    Yes, you need to add a servlet -mapping element and adjust your form to submit to the appropriate URL mapping.
    <servlet-mapping>
    <servlet-name>HelloWorldServlet</servlet-name>
    <url-pattern>/servlet/Hello</url-pattern>
    </servlet-mapping>

  • Looking for a simple database.

    I am looking for a very simple data base program to organize email addresses for mailings that we do for our business. I was using numbers but with the recent upgrade it does not seem like the best option. A free program would be my preference. Any suggestions would be greatly appreciated. Thanks.

    The free sqlite3 database comes with OS X Mavericks and earlier OS X releases. The default interface is the Terminal, as shown in the following. It assumes you know the Structured Query Language (SQL).
    /usr/bin/sqlite3 mydatabase.db
    sqlite> .help
    <sqlite>.quit
    man sqlite3
    You might consider a proper visual interface that sits on top of sqlite3 from Apple's App Store. Base is an example of one tool. There are others. These are much easier to tolerate for some than the command line interface in Terminal.

  • Very simple mp3 player

    What is an easy way to create a very simple flash mp3 player
    in DW CS3? I
    tried the DW mp3 plugin, but that caused confusion for
    visitors who did not
    know how or want to install a plugin. I googled "flash mp3
    player" and
    there are many available, but they support play lists and
    many other
    features. I just want to play one static mp3 url and have
    Quicktime-like
    controls of play, pause, rewind, etc. Any suggestions or
    tutorials on how
    to do this? If there is a simple tutorial on how to roll your
    own in Flash,
    I have Master Collection which includes Flash.
    Best,
    Christopher

    I spent a couple of days reviewing various flash mp3 players
    on the net and
    decided to use SoundPlayer from FlashLoaded.com. For $35 it
    works OK. But
    here's my question. Why doesn't DW CS3 include a flash mp3
    player component
    similar to the flv player? Or did I miss it? Yes, I know the
    generic
    plugin can be used, but that requires visitors to install an
    additional
    plugin. Adding mp3 players to web pages would seem like a
    common problem in
    search of a simple solution in DW; why isn't a flash solution
    included with
    DW CS3 and/or Flash CS3? Am I missing something? This was my
    first Flash
    project, so perhaps I overlooked the obvious.
    Best,
    Christopher

  • Very simple question from a rookie

    Hi,
    I don't know how sequences work in OWB.
    I have a very simple mapping:
    1 (not empty) source table, 1 (empty) target table, 1 sequence.
    Source and destination are connected.
    The sequence.nextval is connected to the primary key. sequence.currval is not connected.
    When I run the debug mode an error occurs: "Could not find data for all sources and target ...". The "Test Data" shows that OWB has not found data for the sequence.
    Help!

    I use 10gR2 and OWB 10.2
    The tables and the sequence are deployed. They are in the database.
    There's something strange about this:
    Starting ("Start...") works.
    The debugging does not work.
    Problem nearly solved ...
    Message was edited by:
    user517859

  • A very simple question..Very Urgent

    HI,
    I have a very simple question.I am able to set up the client authentication as well as server authentication. Now do i need to authenticate (both server as well as client auth.) for every request i send to the server on https...i think it should be like that it should authenticate only for the first time and for the next upcoming requests in same session should not require any server or client authentication.. i think as it happens in browsers..
    what is the fact actually??..can somebody put some light...right now in my case it is authenticating for every requests..
    This is what i have done..
    /****constructor part********/
    // and tm are arrays of keymanagers and trustmanagers for client keystore and truststore
    sslContext.init(km, tm, null);
    HttpsURLConnection.setDefaultSSLSocketFactory(ssf);
    HttpsURLConnection.setDefaultHostnameVerifier(new MYHostNameVerifier());
    /****Method to send the request and response*********/
    urlConn = (HttpsURLConnection)url.openConnection();
    urlConn.setDoInput(true);
    urlConn.setDoOutput(true);
    OutputStream os = urlConn.getOutputStream();
    ObjectOutputStream oos = new ObjectOutputStream(os);
    oos.writeObject(someobject);
    oos.flush();
    InputStream is1 = urlConn.getInputStream();
    ObjectInputStream ois = new ObjectInputStream(is1);
    SomeObject retObj = null;
    retObj = (SomeObject)ois.readObject();
    ois.close();
    System.out.println("Get String>>>>> "+retObj.getString());
    I am creating the object of this class..and calling the method again and again for sending requests and response..so i think handshake everytime i call the method...what i want is that handshake should happen for the first time and for the next requests no handshake or certificates should be checked or processed..
    is it possible ..how..what i need to do for that..
    please help me in this..
    Akhil Nagpal

    Hi,
    how could I achieve SSL Session Resumption using HttpsURLConnection.
    Thanks.

  • What's the correct way to handle some simple database actions with EF 6.1.3?

    I realize the title is very generic, so I'll go into more detail. I have experience working with Entity Framework, but most of my experience is with older versions of EF. Specifically EF 4.x. I'm writing a very simple app; it will return records from 2 look
    up tables, and insert a record into a data table. With EF 4.x what I would do is create a data model, a .EDMX file and then place the relevant tables onto the design surface. Then I'd have a data context object to work with in my C# code.
    However I get the feeling that it's different with newer versions of EF. I'm not even sure that there's a design surface any more. I've seen things like DbSet objects and other things. And I've done a little bit of development using newer versions of
    EF, specifically code first, or what might be more appropriate in this case code first with existing data. Because most certainly that is what I've got here. I don't want to replace or wipe out the existing data! And yet I tend to think more in terms
    of data contexts; I want to use what's appropriate for the newer versions of EF.
    I'm sure that ultimately it would be good for me to get into a class (which unfortunately won't happen) or do some training on my own. I'll do that as I can, but in the interim I'd like to know how I can do what I want to do with two lookup tables and
    one data table that I've got to insert one record at a time into. Could someone please give me a quick run down as to how to do this?
    Rod

    Never mind. I found a good example of what I'm looking for on Channel 9,
    Code First to Existing Database (EF 6.1 Onwards). This is what I've done before, but not too often. Anyway, I hope this will help others.
    Rod

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

  • Very simple html template engine...

    Hi forum
    I need to create a very simple html templating engine. My requirements are only load a html document into an object (HTMLDocument for example?), search a couple of particular tag or string, treat the text found between these tags like a block, repeating the content all the necessary times, and replacing a special string within the text for another one.
    Here an example:
    <html>
    <title>Foo page</title>
    <body>
    <table>
    <!-- Initial special tag -->
            <tr>
                <td>{String to replace}</td>
            </tr>
    <!-- Final special tag -->
    </table>
    </body>
    </html>If i pass the html example code for the template engine with the following parameters, the result that i want is:
    Number of times to repeat the BLOCK: 3
    Text to replace de special string: Hello world
    <html>
    <title>Foo page</title>
    <body>
    <table>
            <tr>
                <td>Hello world</td>
            </tr>
            <tr>
                <td>Hello world</td>
            </tr>
            <tr>
                <td>Hello world</td>
            </tr>
    </table>
    </body>
    </html>That�s all. I search in google for something but a encountered only javascript based "applications", except the "Rhino" engine, but that is to much for mi needs.
    Well, i hope anyone can help me.... and sorry for may bad english :P...

    Here's the generated code:
    `include(~service="system", ~language="", ~theme="dm", ~name="TemplateLibraryDHTML.html")`
          `SAP_DynproLayerBegin(003,001,028,001)`
          `SAP_Label("%#AUTOTEXT001")`
          `SAP_DynproLayerEnd()`
          `SAP_DynproLayerBegin(003,003,020,001)`
          `SAP_Label("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_OLD")`
          `SAP_DynproLayerEnd()`
          `SAP_DynproLayerBegin(030,003,005,001)`
          `SAP_InputField("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_OLD")`
          `SAP_DynproLayerEnd()`
          `SAP_DynproLabelLine(003,003,030)`
          `SAP_DynproLayerBegin(003,004,020,001)`
          `SAP_Label("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_NEW")`
          `SAP_DynproLayerEnd()`
          `SAP_DynproLayerBegin(030,004,005,001)`
          `SAP_InputField("YSRMS_CTR_MASS_NEG_AMEND-YYNEG_AMEND_NEW")`
          `SAP_DynproLayerEnd()`
          `SAP_DynproLabelLine(003,004,030)`
          `SAP_DynproLayerBegin(004,006,014,001)`
          `SAP_Button("CTR_NEG_AMEND_REJ")`
          `SAP_DynproLayerEnd()`

  • Simple database server

    For school i need to develop an application.
    Can anyone help me with a simple database server? I want to read data from my database.
    Database: a simple employers table
    I want to request for example all employers firstname.
    How can i build the server?
    How can i make the connection with the database?
    Are there tutorials or examples?
    Please help.
    Thanks in advance.

    I'd say Hypersonic SQL (HSQLDB) is your simplest bet; easy to setup and no software installation required because it is a pure java database. All you need to know is on their website:
    http://hsqldb.org/

  • Very simple example of distributed cache

    Hi,
    I followed the getting started guide and I have a config xml that lists a VirtualCache. Then I wrote a very simple main class, TestCache1 that does this:
    private static NamedCache cache = CacheFactory.getCache("VirtualCache");
    public static void main(String[] args) {
    cache.put("hello", "hello");
    and then a TestCache2 that gets the value:
    private static NamedCache cache = CacheFactory.getCache("VirtualCache");
    public static void main(String[] args) {
    Object hello = cache.get("hello");
    System.err.println(hello);
    so I run TestCache1 and then i run TestCache2, but the result is "null". I have a very basic problem where I want one java class to add stuff to a cache that another java process can access. WHat do I need to do?
    Thanks, Jason

    Hi,
    Yes I started up both test classes using the same configuration file but it's just not working. Here's the config file:
    +<cache-config>+
    +<caching-scheme-mapping>+
    +<!--+
    Caches with any name will be created as default replicated.
    -->
    +<cache-mapping>+
    +<cache-name>*</cache-name>+
    +<scheme-name>default-replicated</scheme-name>+
    +</cache-mapping>+
    +<cache-mapping>+
    +<cache-name>VirtualCache</cache-name>+
    +<scheme-name>default-distributed</scheme-name>+
    +</cache-mapping>+
    +</caching-scheme-mapping>+
    +<caching-schemes>+
    +<!--+
    Default Replicated caching scheme.
    -->
    +<replicated-scheme>+
    +<scheme-name>default-replicated</scheme-name>+
    +<service-name>ReplicatedCache</service-name>+
    +<backing-map-scheme>+
    +<class-scheme>+
    +<scheme-ref>default-backing-map</scheme-ref>+
    +</class-scheme>+
    +</backing-map-scheme>+
    +</replicated-scheme>+
    +<!--+
    Default Distributed caching scheme.
    -->
    +<distributed-scheme>+
    +<scheme-name>default-distributed</scheme-name>+
    +<service-name>DistributedCache</service-name>+
    +<backing-map-scheme>+
    +<class-scheme>+
    +<scheme-ref>default-backing-map</scheme-ref>+
    +</class-scheme>+
    +</backing-map-scheme>+
    +</distributed-scheme>+
    +<!--+
    Default backing map scheme definition used by all
    The caches that do not require any eviction policies
    -->
    +<class-scheme>+
    +<scheme-name>default-backing-map</scheme-name>+
    +<class-name>com.tangosol.util.SafeHashMap</class-name>+
    +</class-scheme>+
    +</caching-schemes>+
    +</cache-config>+
    Thanks again, Jason

  • Creating a simple database search

    Hi
    I'm being dragged kicking and screaming into site development
    by the needs of an important customer, and I'm trying to create a
    very simple search of a database.
    I'm using DW CS4 with PHP & MySQL on a Mac (Leopard)
    using MAMP.
    I've set up two pages for the task.
    1) a HTML page with a form using the 'GET' method
    2) a PHP page with the Recordset to filter 'postcode' 'begins
    with' using the 'URL Parameter' and 'postcode', and sort by
    'company' 'Ascending'
    Running a test in the Recordset works great.
    When testing in a browser however (Firefox and Safari), the
    post code appears in the URL string when arriving at the results
    page, but no results show.
    When I don't apply a filter in the Recordset, all records
    display in the results page perfectly.
    I'm going even more grey (gray?) so any help and advice would
    be greatly appreciated.
    Many thanks.

    I've sorted it.

  • Using simple database for an application

    Hello,
    Here is my need :
    I will develop an application based on two or three gui-clients java based and a database (all on linux based system).
    What choice for the database ?
    First I had a look on javadb, I was interested by the easy to use aspect and the embedded mode. But I have two applications that have to access the database in the same time and javadb has to be used in a "framework server" to accept multi-user (and this seems to be too complex for my use).
    The database will be very simple (4 or 5 tables and 1000 lines in the biggest table) and has to be shared between 2 ou 3 apps.
    I had a look on SQLite but the use of JNI obstructs me.
    Do you have other ideas to answer to my need ? Is there a way to share the file system where the data files of javadb is (by NFS for example) ? And start two derby service using the same files in two different JVM ?
    Thanks for your help and advices.
    Jean

    I have used HSQLDB for awhile. I have found it to be very useful, though I've mostly used it for simple, read-only databases. Definitely what I would recommend for your situation.

Maybe you are looking for

  • Make fails while building cldc 1.1 on Linux

    Dear All, Following is the software config: javac : "1.4.2_08" linux version: redhat linux 9 kernel: 2.4.20-8 on an i686 I am building cldc 1.1 on linux. I am facing a strange problem. After doing a make, the build process stops after these lines ===

  • Trouble staying logged in

    It seems that after updating to Yosemite and Safari 8, I'm having trouble staying logged into some sites such as Facebook and Netflix. I have the "keep me logged in" button checked too. After a couple minutes or so of browsing or watching an episode,

  • Need Format masks which can be added to oracle form fields

    Hi All, I needed a list of all the format masks present for Oracle Forms fields. The problrm that i face currently that when I apply masking (999g999g999d99) the values in the text item field on the form side are no more left justified but shift towa

  • MSS PCR Notification/Workflow

    Hi, We have been trying to use the MSS PCR for Separation.  We are able to successfully submit the PCR however, there are no workflows triggered.  Appreciate if you can advise on how to setup to trigger workflow.  Alternatively, appreciate advise on

  • Little bit of wireless help, please. [solved]

    I'm stuck and would really appreciate it if someone could walk me through the steps toward getting wireless working.  I've followed the wiki entry to the letter (I think--something's obvously not right) using the fwcutter method. lsmod shows ieee8021