Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Portable DB Suggestions?

Portable DB Suggestions?

Scheduled Pinned Locked Moved The Lounge
csharpdatabasequestion
46 Posts 33 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Harvey Saayman
    wrote on last edited by
    #1

    Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

    Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

    P S P T U 16 Replies Last reply
    0
    • H Harvey Saayman

      Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      You could go with SQL Server CE or FireBirdSQL.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      1 Reply Last reply
      0
      • H Harvey Saayman

        Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

        Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

        S Offline
        S Offline
        Steve McLenithan
        wrote on last edited by
        #3

        SQLite hands down. There's a complete .net connector for it.
        // Steve McLenithan

        J S L C E 6 Replies Last reply
        0
        • H Harvey Saayman

          Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

          Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

          P Offline
          P Offline
          Perspx
          wrote on last edited by
          #4

          If you want portable, go with SQLite. Regards, --Perspx

          "I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
          "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds

          R 1 Reply Last reply
          0
          • S Steve McLenithan

            SQLite hands down. There's a complete .net connector for it.
            // Steve McLenithan

            J Offline
            J Offline
            JimmyRopes
            wrote on last edited by
            #5

            Steve McLenithan wrote:

            SQLite

            This looks like just what I've been looking for. Thanks.

            Simply Elegant Designs JimmyRopes Designs
            Think inside the box! ProActive Secure Systems
            I'm on-line therefore I am. JimmyRopes

            1 Reply Last reply
            0
            • S Steve McLenithan

              SQLite hands down. There's a complete .net connector for it.
              // Steve McLenithan

              S Offline
              S Offline
              Shog9 0
              wrote on last edited by
              #6

              +1. The combination of speed and lack of dependencies is a huge win.

              ----

              You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

              J 1 Reply Last reply
              0
              • H Harvey Saayman

                Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

                Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

                T Offline
                T Offline
                Todd Smith
                wrote on last edited by
                #7

                XML file. I mean how much data can you really create? Go LINQ!

                Todd Smith

                S 1 Reply Last reply
                0
                • T Todd Smith

                  XML file. I mean how much data can you really create? Go LINQ!

                  Todd Smith

                  S Offline
                  S Offline
                  Steve McLenithan
                  wrote on last edited by
                  #8

                  Well... the app I'm currently working on has to index meta-data for 10,00 to 100,000 files. The excess XML garbage would be insane where as a SQLite DB is only 3-10MB

                  // Steve McLenithan

                  T R 2 Replies Last reply
                  0
                  • S Steve McLenithan

                    Well... the app I'm currently working on has to index meta-data for 10,00 to 100,000 files. The excess XML garbage would be insane where as a SQLite DB is only 3-10MB

                    // Steve McLenithan

                    T Offline
                    T Offline
                    Todd Smith
                    wrote on last edited by
                    #9

                    But he's working on "a personal little project for code snippets".

                    Todd Smith

                    1 Reply Last reply
                    0
                    • H Harvey Saayman

                      Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

                      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

                      U Offline
                      U Offline
                      Uwe Keim
                      wrote on last edited by
                      #10

                      www.vistadb.net [^]

                      • My personal 24/7 webcam - Always live ;-) • Zeta Producer Desktop CMS - Intuitive, completely easy-to-use CMS for Windows. • Zeta Helpdesk - Open Source ticket software for Windows and web. • Zeta Uploader - Easily send large files by e-mail. Windows and web client.

                      L 1 Reply Last reply
                      0
                      • U Uwe Keim

                        www.vistadb.net [^]

                        • My personal 24/7 webcam - Always live ;-) • Zeta Producer Desktop CMS - Intuitive, completely easy-to-use CMS for Windows. • Zeta Helpdesk - Open Source ticket software for Windows and web. • Zeta Uploader - Easily send large files by e-mail. Windows and web client.

                        L Offline
                        L Offline
                        l a u r e n
                        wrote on last edited by
                        #11

                        ummmmmm how is paying that much going to make sense for a personal project? im just curious :confused:

                        "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                        U 1 Reply Last reply
                        0
                        • L l a u r e n

                          ummmmmm how is paying that much going to make sense for a personal project? im just curious :confused:

                          "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                          U Offline
                          U Offline
                          Uwe Keim
                          wrote on last edited by
                          #12

                          They have a free edition, also. http://vistadb.net/vistadb3/vistadb-editions.aspx[^]

                          • My personal 24/7 webcam - Always live ;-) • Zeta Producer Desktop CMS - Intuitive, completely easy-to-use CMS for Windows. • Zeta Helpdesk - Open Source ticket software for Windows and web. • Zeta Uploader - Easily send large files by e-mail. Windows and web client.

                          L 1 Reply Last reply
                          0
                          • S Steve McLenithan

                            Well... the app I'm currently working on has to index meta-data for 10,00 to 100,000 files. The excess XML garbage would be insane where as a SQLite DB is only 3-10MB

                            // Steve McLenithan

                            R Offline
                            R Offline
                            Redwan Albougha
                            wrote on last edited by
                            #13

                            I'm with Todd. Steve, if you are sure that future releases of the program will maintain the DB the same simple way as you described I will say XML. But keep in mind, as you know that accessing data in XML is less efficient than normal DB engine. So your decision is about "portability" VS "peace of mind" ;) .

                            Redwan Al-Bougha

                            1 Reply Last reply
                            0
                            • U Uwe Keim

                              They have a free edition, also. http://vistadb.net/vistadb3/vistadb-editions.aspx[^]

                              • My personal 24/7 webcam - Always live ;-) • Zeta Producer Desktop CMS - Intuitive, completely easy-to-use CMS for Windows. • Zeta Helpdesk - Open Source ticket software for Windows and web. • Zeta Uploader - Easily send large files by e-mail. Windows and web client.

                              L Offline
                              L Offline
                              l a u r e n
                              wrote on last edited by
                              #14

                              oooops sorry my bad... i looked around but couldnt find that :)

                              "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                              S 1 Reply Last reply
                              0
                              • H Harvey Saayman

                                Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

                                Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

                                R Offline
                                R Offline
                                Rocky Moore
                                wrote on last edited by
                                #15

                                Harvey Saayman wrote:

                                I want it to be portable but I have no idea which portable database

                                Confused here.. You will be building it in C# under DotNet 3.5, so by portalbe you mean still in the Windows world, or are you trying to look down the road to Mono?

                                Rocky <>< Recent Blog Post: Texas Deputy Sheriff vs New York Lawyer! Thinking about Silverlight? www.SilverlightCity.com

                                S N 2 Replies Last reply
                                0
                                • R Rocky Moore

                                  Harvey Saayman wrote:

                                  I want it to be portable but I have no idea which portable database

                                  Confused here.. You will be building it in C# under DotNet 3.5, so by portalbe you mean still in the Windows world, or are you trying to look down the road to Mono?

                                  Rocky <>< Recent Blog Post: Texas Deputy Sheriff vs New York Lawyer! Thinking about Silverlight? www.SilverlightCity.com

                                  S Offline
                                  S Offline
                                  Shog9 0
                                  wrote on last edited by
                                  #16

                                  I took it as "portable" in the sense of "can be moved to another machine / given to another user without a lot of work". Something like XML or SQLite fit those needs pretty well; an Access database or some flavors of SQL Server might work, provided you're willing to impose the cost of installing the supporting libraries. A server-based database OTOH, would be rather painful, as you'd need to configure the connection in addition to installing the server binaries.

                                  ----

                                  You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                  N H 2 Replies Last reply
                                  0
                                  • P Perspx

                                    If you want portable, go with SQLite. Regards, --Perspx

                                    "I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
                                    "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds

                                    R Offline
                                    R Offline
                                    Rocky Moore
                                    wrote on last edited by
                                    #17

                                    Is there a decent wrapper for multithreaded C#/.NET 3.5 apps for SQLite? I did a search and saw a number of different projects around the net, but is there one you have used that is stable and no headaches?

                                    Rocky <>< Recent Blog Post: Texas Deputy Sheriff vs New York Lawyer! Thinking about Silverlight? www.SilverlightCity.com

                                    P 1 Reply Last reply
                                    0
                                    • H Harvey Saayman

                                      Hey guys I'm working on a little personal project, a code snippet manager. I want it to be portable but I have no idea which portable database to use. I'm writing it in C# under DotNet 3.5 Any suggestions?

                                      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer) 1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111

                                      M Offline
                                      M Offline
                                      MrPlankton
                                      wrote on last edited by
                                      #18

                                      If your record count is < 5k record then store data as u$ compliant xml that can be read by u$ dataset reader (db's <5k are table scan anyway). > 5k sql lite. But if your db is internet acessable then use u$ sql server and expose your data using web services. Good Luck

                                      MrPlankton (bad guy)"Fear is a hammer, and when the people are beaten finally to the conviction that their existence hangs by a frayed thread, they will be led where they need to go." (good guy)"Which is where?" (bad guy)"To a responsible future in a properly managed world." Dean Koontz, The Good Guy

                                      L M 2 Replies Last reply
                                      0
                                      • S Shog9 0

                                        I took it as "portable" in the sense of "can be moved to another machine / given to another user without a lot of work". Something like XML or SQLite fit those needs pretty well; an Access database or some flavors of SQL Server might work, provided you're willing to impose the cost of installing the supporting libraries. A server-based database OTOH, would be rather painful, as you'd need to configure the connection in addition to installing the server binaries.

                                        ----

                                        You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                        N Offline
                                        N Offline
                                        Nemanja Trifunovic
                                        wrote on last edited by
                                        #19

                                        Shog9 wrote:

                                        "portable" in the sense of "can be moved to another machine / given to another user without a lot of work"

                                        That would be a very strange use of the term "portable". It usually means able to port to another compler/OS/hardware.

                                        Programming Blog utf8-cpp

                                        S 1 Reply Last reply
                                        0
                                        • R Rocky Moore

                                          Harvey Saayman wrote:

                                          I want it to be portable but I have no idea which portable database

                                          Confused here.. You will be building it in C# under DotNet 3.5, so by portalbe you mean still in the Windows world, or are you trying to look down the road to Mono?

                                          Rocky <>< Recent Blog Post: Texas Deputy Sheriff vs New York Lawyer! Thinking about Silverlight? www.SilverlightCity.com

                                          N Offline
                                          N Offline
                                          Nemanja Trifunovic
                                          wrote on last edited by
                                          #20

                                          Rocky Moore wrote:

                                          Confused here..

                                          Me too, unless he means Mono.

                                          Programming Blog utf8-cpp

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups