Ideas for a database for my app

I'm thinking about writing a small app for myself. Basically it will be a type of journal program, with some customizations to suit my needs. Basically, it would be a journal program with some slider bars or drop down boxes to help me categorize the type of journal entry. For example, a "Mood" category or something like that.
I'd like to be able to store various bits of information about the journal entries, such as keywords and categorical information so I can lookup journal entries and maybe plot graphics based on certain information.
I'd rather not go the typical route of using a text file to store the data. I'm thinking of maybe a database backend with the ability to do some queries.
This would be a desktop application.
I'd really appreciate it if someone could throw out some suggestions on how to store this information? If there are any free databases out there which would work, please post them.
Thanks!

That would work, except that XML is text, and you already said you'd rather not do that. The question is "Do you need a database"? As you noted, there are some downsides to using a database, such as administration and installation. If you've just got a few bits of information, a text file might be better. A database becomes more useful if you've got a lot of information that's all of the same type, and if you can organize your information so that you can query it. XML sort of allows you to do that too, but you have to read and write the entire file every time you want to change something. (Just like the text file.) So it becomes a problem if you have "large" quantities of data.

Similar Messages

  • Where can I download the agent for 11g database for 10.2.0.4 grid control?

    where can I download the agent for 11g database for 10.2.0.4 grid control? i can't find the link.

    I don't think there is one yet, but you can use Grid Control 10gR4 to monitor a 11g database. Please refer the certification matrix in Note 412431.1 Oracle Enterprise Manager 10g Grid Control Checker

  • Procedure for Standby Database for SAP ERP 6.0

    Hello All,
    We are using SAP ERP 6.0 with Oracle 10g with AIX 5.3.
    We are planning to setup a standby database for our SAP ERP 6.0 production system as part of remote DR site using Oracle Data Guard.
    I was under the assumption that i can first install an erp 6.0 (ABAP) system using homogeneous system copy from my erp 6.0 (ABAP) production system and then start configuring oracle dataguard.
    But the System Copy Guide "System Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 ABAP" has mentioned that "You cannot create standby systems with a system copy".
    Please suggest the best practise or the procedure for creating standby database for SAP ERP 6.0 system. Iam not looking at the steps for creating a pure oracle 10g standby database, but with SAP instances as well.
    Thanks in advance.
    CVS

    Hi,
    Please refer the below mentioned link for configuring data guard.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10823/create_ps.htm
    Below mentioned are the sequence of stpes, which needs to be followed for setting up data guard.
    3.1 Configuring the Primary Database
    3.1.1 Enable archiving and define a local archiving destination
    3.1.2 Create a password file
    3.1.3 Configuring the Oracle networking files
    3.1.4 Set initialization parameters on the primary database
    3.1.5 Take Offline/Online backup of the primary database
    3.1.6 Create a control file for the standby database
    3.1.7 Prepare initialization parameter file for the standby database and start the primary database with the changed pfile.
    3.1.8 Copy all files from the primary host to the standby host
    3.2 Configuring the Standby Database
    3.2.1 Configuring the Oracle networking files
    3.2.2 Create a INIT parameter file for the standby database
    3.2.3 Copy the standby controlfile to the appropriate location
    3.2.4 Create Oracle Password File
    3.2.5 Start the physical standby database
    3.2.6 Initiate log apply services
    Regards,
    Ranjith

  • Download not working for 10g Database for Vista

    Hi
    I am trying to download the Oracle 10g Database for Windows Vista,
    After 20% the download suddenly ends and i am not able to download properly,
    Please correct the issue ASAP so that i can download the Software
    Thanks and regards
    Cindy
    [email protected]
    (On behalf of Cindy)

    Can anyone pls. help me ? I tried all options from disbling firewall to uninstalling Bonjour.. But nothing works. Had I known that Apple makes such worst software I would never have bought iPhone !!!! Apple really *****!!!!!!!

  • Kodo-ds.xml: how to use for two database in same app server?

    hi,
    i meet a problem: i have two applications in the same app server(one app
    use one database.). BUT, only one kodo-ds.xml can configure the
    PersistenceManagerFactory with jndi name. When i figure the two jidi name
    for two "<tx-connection-factoy>" in the root element
    "<connection-factories>" in the kodo.ds.xml. That's unavailable!
    eg:
    <connection-factories>
    <tx-connection-factoy>
    <!-- specify the the first database connection properties with jndi name A
    -->
    </tx-connection-factoy>
    <tx-connection-factoy>
    <!-- specify the the SECOND database connection properties with jndi name
    B -->
    </tx-connection-factoy>
    </connection-factories>
    THAT'S MY CONFIGURATION. UNAVALIABLE NOW.... Who can help me solve this
    problem?
    thx!

    You should deploy multiple kodo-ds.xml files (i.e. kodo-ds-oracle.xml).
    Kidwish wrote:
    hi,
    i meet a problem: i have two applications in the same app server(one app
    use one database.). BUT, only one kodo-ds.xml can configure the
    PersistenceManagerFactory with jndi name. When i figure the two jidi name
    for two "<tx-connection-factoy>" in the root element
    "<connection-factories>" in the kodo.ds.xml. That's unavailable!
    eg:
    <connection-factories>
    <tx-connection-factoy>
    <!-- specify the the first database connection properties with jndi name A
    -->
    </tx-connection-factoy>
    <tx-connection-factoy>
    <!-- specify the the SECOND database connection properties with jndi name
    B -->
    </tx-connection-factoy>
    </connection-factories>
    THAT'S MY CONFIGURATION. UNAVALIABLE NOW.... Who can help me solve this
    problem?
    thx!
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Set up DB Connection Pool for Oracle DataBase Using Java App Server8

    Hi,
    In the Admin Console of Java App Server 8, I tried to create a connection pool for the oracle database. I chose Resource Type to be "javax.sql.ConnectionPoolDataSource" and the Vendor is Oracle. So the Data Source Class Name is filled by the system to be "oracle.jdbc.pool.OracleConnectionPoolDataSource". Now, I set up the class path to point to the database driver class "sun.jdbc.odbc.JdbcOdbcDriver" and also the to the Data Source Class Name. Also I set up the JVM options in the console. Restart the server, and then try to ping to the database, but get the error:
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: No suitable driver
    I don't understand what else I should do and why this error is coming?
    Please help me out.
    Thank you
    Regards,
    Sarah

    Hi,
    I've already solve the problem. I did the following:
    set the Url to be: jdbc:oracle:thin:@hostname:port:SID
    set username
    set password
    add oracle.jdbc.drivers.OracleDriver into the JVM options -Djdbc.drivers
    restart the server
    test the connection
    it works :)

  • Simplest approach for creating database for small collection of data - new project design phase

    Hello. I am at the design stage of a VB.NET project, which I hope will help me strengthen some skills I have learnt so far, and learn new ones. I have a couple of questions. Firstly regarding data types, is there a unified, standardised, all-convergent
    data type available I can use? Secondly I've read about numerous avenues to create a database, namely binary serialisation, access-based, excel-based, notepad-based - The project I intend to create, will only require storage of a "relatively" small
    collection of data, which may grow over time, but not significantly - so, taking this into account, which method is advisable for creating my database? (a beginner-friendly option is preferred). I have included a couple of images, with my questions, to give
    a rough idea of what I'm planning to do. Thanks for your advice and suggestions.

    Type would be the type of recording, as in LP (Long Play - standard album), EP (Extended Play) or Compilation. Most would be LP.
    Chris,
    I have a start on this and I want to pause here to post what I have and to discuss it.
    There’s a lot to talk about because you’re going from little knowledge of a class to a lot in a hurry. There is no real hurry
    in any of this; if you don’t understand then let’s stop and talk about it – until you fully have a handle on it, adding more would only fuel the confusion.
    I’ll add this at this juncture: There is no one single right way to do this. There are definitely some
    wrong
    (or maybe just simply ineffectual) ways, but certainly no single right way. A lot of what you’ll see in the following will reflect my preference; nothing more than that.
    Also though, I’m doing some of this to expose you to it. By that I mean that I may or may not have done it this way all along,
    but I decided that I want to open the doors, even though at first it’ll seem like you’re trying to get a drink of water from a fire hydrant. ;-)
    I have it set up with two namespaces: CMJR and Common. The latter one is for use for what I’m considering to be a ‘common’ need
    – things that you may use in several classes. In time, the routines for serialization will be there but no need to even talk about that now so it’s not there.
    The code so far (which I’ll show by the end of this discourse) is about 500 lines. For a class library, that’s puny! Most of
    what I have thus far is just a shell of what will be filled in later. I won’t at all be surprised that by time this is completed, that 500 lines can easily grow to 5000 lines or more.
    Like I said yesterday, the great thing about doing it this way is that it’s done
    your
    way; the drawback is just how much there is to do though, so if nothing else, this will perhaps influence your decision on how you want to handle things like this in the future.
    The namespaces/classes are laid out as:
    CMJR
    Music (a class)
    Film (a class)
    Games (a class)
    Common
    IDataSource (an interface)
    IGenre (an interface)
    Utilities (a class)
    This
    image shows the structure of things thus far. The reason why the enum “GenreType” isn’t expanded in that
    image is because it’s hugely long! In fact I fully expect that you’ll likely delete most of those. I got them from someone else’s class library (about a decade ago) so it was convenient to use.
    Let’s start from the inside and work toward the outside here:
    What is an
    enum?
    An enum (enumeration) is a type all its own. It’s a constant (of integral type) that you define. You can think of it as “an
    integer with a name associated with it” because in code, you’ll use it like a multiple-choice selection and [typically] you’ll use its name.
    Any time there’s a need for some something to be “this or that”, an enum very often is a useful type to use. In what we talked
    about yesterday regarding what the source of the data is (CD or PC), that’s what came to mind; select which of the two from an enum. I always include a “_String” property with these so that it can later be used in whatever will consume the class. Often it’s
    nothing more than use the .ToString method of the enum itself, but remember that then enum is actually an integer, not a string.
    In this library so far, I have three enums defined. Two of those are in each of two interfaces (discussed in a bit) and one
    is specifically related to only the music, so it’s in the class “Music”:
           Public Enum MusicFrom
               LP
               EP
               Compilation
           End Enum
    The “type” that I asked about earlier is encompassed in that enum and you can more or less see how it works without any further
    explanation.
    Do understand that enum is only ‘useful’ for programming. We could use strings for all that it matters, but the problem with
    doing that are many, including things like typos and capitalization. That’s not the case with an enum because you select one of the choices offered. In the one above, that would be either LP, EP, or Compilation. It can’t be anything else.
    So if strings have this issue with typo’s and the like, what about if we just assigned it a number (an integer). Sure that’s
    a better idea but are you really going to remember what 23 means? I doubt it, or not for long.
    BUT – if we had a number that has a string associated with it, yea that’s a good idea!
    Right! Now you know what an enum is. ;-)
    Notice from the
    class
    diagram though – it’s not shown; I’m not using it all and that’s because I question its worth here, at least
    for the current setup. I’ll explain what I mean:
    As it’s currently set up, the basic unit of the class “Music” is a song. Even though there’s a title for the album, the album
    – as a type – doesn’t exist. LP, EP, and Compilation refer to the album, not the song (in my opinion here) so I don’t see how it can be used.
    If, however, we create a new type called “Album”, then I can see how it could be used. In something I worked on a while back
    that’s exactly how I have it set up: An album is a “container for songs” and the album (a class in what I’m referring to from a few months back) has certain properties like a name and cover art, etc..
    I don’t have this set up that way, but give that some thought.
    What is an
    interface?
    Until quite recently I ‘knew of them’ but I never used them. There may or may not be merit in it here either but I wanted to
    expose you to them.
    From that link above:
    “An
    interface defines a set of members, such as properties and procedures, that classes and structures can implement. The interface defines only the signatures of the members and not their internal workings.”
    The interface is a way in which you create a ‘code contract’. You don’t define what the methods, properties and events do in
    the interface – you define that they have to be implemented if a class uses it.
    It’s up to the class to actually put it to use (i.e., the code that’s executed in the member of the interface).
    It’s a lot deeper than I’m discussing here – including a fair amount of ambiguity – so I won’t go any further than that for
    now.
    I have two interfaces set up and I have them in the “Common” namespace. They are “IDataSource” and “IGenre”.
    IDataSource has an enum named “SourceType” and two read-only properties (see it later in the code).
    The interface IGenre is likewise set up the same way and that’s where the long list of elements are in the enum named “GenreType”
    that I talked about earlier.
    I think it’s a good idea with Genre that it’s a “pick one of these” rather than simply a string and here’s why: If we later
    add in a method to choose songs from a collection of them, one of the options might be of a particular genre. That’s not an uncommon request I would think. By using an enum, we don’t have to worry about your users mistyping when they add the data:
    RockAndRoll
    Rock and Roll
    Rock
    …etc., and imagine some of the typos your users might come up with, so by using an enum it’s definitive rather than guessing.
    I said that an enum is ‘only for programming though’ so we’ll need to make it more usable later on. For example, I can also
    build in methods to hand you back a string array of the string equivalent of those enums and then later a method to turn that string back into the actual enum member. By doing this then the method(s) which will use this will filter the data from the collection
    to only include those with that particular genre.
    Other than something simple, I’ve learned that once you get involved in a really long enum – like the genre that I showed above
    – it’s better to create a class which, all on its own, has methods for handing you the string array and then handling the conversion back to an enum, so that’s a possibility too.
    That’s for use in your UI so the blinders will start to come off at that point. ;-)
    Continued in a subsequent post…
    Still lost in code, just at a little higher level.

  • Transaction history for the database for 1 month

    Hi,
    I am looking for option in grid control which can give the information of trasaction history graph for 1 month.
    Which is the option if available in grid control to find that.
    Thanks in advance.

    hi,
    Am not sure if there is anything in GRID that will show this as a separate report.
    You maybe able to get into the performance charts and look at AWR but this will I believe be on an hourly basis only.
    you best bet may be to try and get the information directyl from the WRH$ tables in the database.
    regards
    Alan

  • How to find out the process count for a database during a particular window

    Hi Team,
    I want to find out the maximum process count reached for a database for an interval. Say between 1:00 to 2:00 AM IST. Please help
    Database version:11.2.0.2
    OS:AIX 6.1

    Check DBA_HIST_RESOURCE_LIMIT. Your information will be there.
    Simialr information is available in DBA_HIST_SYSSTAT.
    Look for stat name logons cumulative/logons current - Total number of logons since the instance started/Total number of current logons
    You can joing dba_hist_snapshot with snap_id and give begin_interval_time and end_interval_time to know historic process utilization.
    Regards,
    Sreejith

  • Thin driver for Access Database

    Hi Guys,
    I want to know the exact thin JBBC driver for access database,
    For oracle we have "jdbc:oracle:thin:@host:port:sid" driver, I need the similar type of driver for Access,
    Where can I find
    Thanks

    let me be a bit more descriptive..
    there's no free, publicly available type 3 or 4 driver for Access.
    However, if you want to buy one, take a look at this URL: http://industry.java.sun.com/products/jdbc/drivers .
    It'll help you identify third-party vendors who sell what you're looking for...
    Larry

  • Can anyone help me with a user login script on php for Oracle database?

    I have a script which somehow is not working well. Can anyone give a good script (for Oracle database) for user login and validation and change password? I will be grateful
    JJZ

    http://www.oracle.com/technology/pub/articles/deployphp/seliverstov_deployphp.html
    http://www.oracle.com/technology/tech/php/htdocs/php-oracle-tutorial.html

  • RAC for 11gR2 Database

    Hi Friends,
    11gR2 Db
    OEL 5.4
    We are planning to install RAC for 11gR2 database, for a 2-Node configuration.
    Is 11gR2 certified for RAC? Can you give me links on how to install it?
    Another question is....Is it possible to install two(2) database RAC instance sharing on the 2-node configuration?
    I want to install DEV and PROD RAC instance on the target 2-node config.
    Thanks a lot,
    Ms K

    Hi Ms K,
    RTFM: The installation section is really good:
    Grid Infrastructure (Clusterware): http://www.oracle.com/pls/db112/to_pdf?pathname=install.112/e10812.pdf
    RAC Installation: http://www.oracle.com/pls/db112/to_pdf?pathname=install.112/e10813.pdf
    Also the installer checks a lot of things, so a lot easier than 10g.
    If that is not enough, have a search in support.oracle.com for RAC Starter Kits.
    Even if you do not have access to ULN (Unbreakable Linux network) you can install the oracle-validated package (this is referred to in the installation section).
    As a update server use public-yum.oracle.com and the oracle-validated can be found under oss.oracle.com
    To your second question: Yes it is possible to have 2 RAC database instances on the same cluster (sharing the 2-node configuration).
    Sebastian

  • RMAN Backup script for RAC Database..please suggest

    Hi All,
    I am currently working on backup policy for RAC Database for my client.The client requirement is to backup while database is shutdown(mount state).I have made below script and could any one please suggest what further things should I need to add with below rman script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount
    srvctl status database -d PROD
    echo "Start Full Database Backup on";date
    $ORACLE_HOME/bin/rman target / nocatalog <<EOF
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';
    run{
    allocate channel c1 device type disk connect 'sys/******@node1-vip:1521/PROD';
    allocate channel c2 device type disk connect 'sys/*****@node2-vip:1521/PROD';
    backup format '/BACKUP/PRODBKP/PROD_df_%t_%s_%p.bak'(database);
    backup format '/BACKUP/PRODBKP/archive_%t_%s_%p.bak' archivelog all;
    copy current controlfile to '/BACKUP/PRODBKP/PROD.ctl';
    delete noprompt obsolete;
    release channel c1;
    release channel c2;
    exit
    EOF
    echo "RMAN Backup Finished on";date
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    echo "Start Database";date
    srvctl start database -d PROD
    srvctl status database -d PROD
    Please share your experiences.
    Regards

    Hi,
    Some tweaks for your script.
    echo "Shutdown Database";date
    srvctl stop database -d PROD
    srvctl status database -d PROD
    echo "Database shutdown on";date
    echo "Mount Database ";date
    srvctl start instance -d PROD -i "PROD1" -o mount1. If you database does not shutdown properly , does your script stops the execution of next step?
    2. configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/BACKUP/PRODBKP/%F';(Why you need to configure this every time) ?
    It's persistent at db level one time setting (until some other script changes the settings by other dba - else remove that - set the configuration at db level once for all)
    - Pavan Kumar N
    3.

  • HT1267 I bought My Iphone 4s from Iran, I need to make an Apple Id but Iran is not in the registered countries?! I dont know what to choose? Also From Iran we do not have Credit card facility for payment option?!! Any idea how I can get FREE APPS on my Ne

    Hi there,
    I bought My Iphone 4s from Iran, I need to make an Apple Id but Iran is not in the registered countries?! I dont know what to choose? Also From Iran we do not have Credit card facility for payment option?!! Any idea how I can get FREE APPS on my New Phon?!!
    Please let me know how I can get this sorted as soon as possible!! Thank you very much

    You can create an Apple ID without a credit card, see this article:
    Create an iTunes App Store account without a credit card
    Check this post about iPhones from Iran:
    Re: Why Apple does not support from Iran? And why not open a store in Iran?

  • I just bought aperture and downloaded it from app store. when I try to open the app I get a warning message that says: There was an error opening the database for the library "~/Pictures/Aperture Library.aplibrary". The only option the is to quit. What is

    I just bought aperture and downloaded it from app store. when I try to open the app I get a warning message that says: There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”. The only option the is to quit. What is wrong?

    Hi,
    not sure what the problem might be, but you can try the following:
    While pressing ALT+CMD on the keyboard, click on the Aperture icon in the dock: Aperture then opens in a special "recovery mode", and you're prompted to choose what kind of repair you need: Repair Permissions / Repair Database / Rebuild Database
    Considering the situation, I'd recommend you to try "the "Repair Permissions" option first.
    If that isn't enough (and it may well be the case), then go straight for the "Rebuild Database" option; it's a non-destructive opration anyway, but since you've just installed Aperture you shouldn't have anything valuable in the default library...
    NOTE: if you do have some pictures in the library, instead, do a backup first! Time Machine is your friend
    Another option would be to launch Aperture while keeping only the ALT (option) key pressed: Aperture will ask you what library you want to open, or you can choose to create a new one from scratch.
    Good luck!
    Corrado

Maybe you are looking for

  • XSLT : Trouble Adding Namespace

    I need to add namespace xmlns:prx="urn:sap.com:proxy:SB1:/1SAI/TAS04BED82951A661E02EC4:701:2008/06/06" to my xml document after doing a PI message mapping. When I run the following XSLT code in my XML editing software, it works as desired.  When I im

  • Calling one BPM from another BPM.

    Hi Guys,    I'm trying to call an existing(working!) BPM from another BPM. Its a synchronus call. However in moni I see it as errored out on the outbound side. The error in the PE is: <b>CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed.</

  • HT4352 transfers from apple TV to mac

    Hi I am having trouble trying to transfer my purchased movies from apple tv to my computer and therefore onto my ipad etc. Please help. thanks

  • THANK YOU, everyone. Now my mind is at ease - I now know the limits and it helps a lot.

    Thank you, everyone. All your suggestions helped a lot. Now I know what I can and can't expects from the ipad. It makes much more sense. Thank you again.

  • Cache does not show all config items

    SXI_CACHE is not showing all my config items.  When looking at SXI_CACHE, I noticed that only the config items pertaining to actual SAP services (Business Systems) seem to show up??  Is this normal?  I've refreshed the cache (both delta, and full).