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. Database & SysAdmin
  3. Database
  4. Best Database Configures with c# win. form

Best Database Configures with c# win. form

Scheduled Pinned Locked Moved Database
csharpdatabase
38 Posts 10 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.
  • U User 10361121

    Oracle because it has more security than SQL.

    Richard DeemingR Offline
    Richard DeemingR Offline
    Richard Deeming
    wrote on last edited by
    #8

    I'm not familiar with Oracle. Would you care to expand on that statement? What security features does Oracle provide that are missing from MS SQL?


    "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

    "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

    J 1 Reply Last reply
    0
    • A agent_kruger

      actually i am already working on sql but i am not sure that it can manage 100 million record. somebody suggested me oracle is oracle better than SQL.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #9

      Agent_Spock wrote:

      i am not sure that it can manage 100 million record

      According to the Microsoft document "Maximum Capacity Specifications for SQL Server":

      http://technet.microsoft.com/en-us/library/ms143432.aspx[^]

      Rows per table: Limited by available storage Database size: 524,272 terabytes

      So unless each of your rows is going to exceed 5.36 gigabytes, you should be fine. :)


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      • U User 10361121

        Oracle because it has more security than SQL.

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #10

        Really? Can you elaborate on that?

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        1 Reply Last reply
        0
        • A agent_kruger

          Which is the best database to manipulate 100 million records which configures with c# win. form.

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #11

          We work with both Oracle and SQL Server in those sort of volumes and I will reluctantly state that Oracle handles the volume better than SQL Server. However the reason may well be that for Oracle you generally need a dedicated DBA to drive the bastard. Also look into the comparative costs of purchase and support of the 2 systems, Oracle is substantially more expensive than SQL Server. We have a rule of thumb that Oracle is used for enterprise apps and SQL Server for departmental apps. [pet hate] Oracle also forces you to use UPPER case naming [/pet hate]

          Never underestimate the power of human stupidity RAH

          J 1 Reply Last reply
          0
          • A agent_kruger

            Which is the best database to manipulate 100 million records which configures with c# win. form.

            B Offline
            B Offline
            Bernhard Hiller
            wrote on last edited by
            #12

            I agree with them who said that both Microsoft SQL Server and Oracle can do so. When you decide for one of it, note that Oracle is more complicated. SQL Server will handle many things for you automatically - like autoincrement values for keys, while with Oracle you have to setup a sequence, and a trigger for linking your table to the sequence on the appropriate events. In .Net languages, an empty string is not null, but for Oracle there is no difference - and meanwhile I say: Oracle is right from the view point of requirements. But it may cause problems for the programmer. And there are several more such oddities.

            Richard DeemingR A 2 Replies Last reply
            0
            • B Bernhard Hiller

              I agree with them who said that both Microsoft SQL Server and Oracle can do so. When you decide for one of it, note that Oracle is more complicated. SQL Server will handle many things for you automatically - like autoincrement values for keys, while with Oracle you have to setup a sequence, and a trigger for linking your table to the sequence on the appropriate events. In .Net languages, an empty string is not null, but for Oracle there is no difference - and meanwhile I say: Oracle is right from the view point of requirements. But it may cause problems for the programmer. And there are several more such oddities.

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #13

              Bernhard Hiller wrote:

              In .Net languages, an empty string is not null, but for Oracle there is no difference - and meanwhile I say: Oracle is right from the view point of requirements.

              I think you'll find that a lot of people disagree with you on that one - including the ANSI SQL 1992 standard. Of course, Oracle's weird behaviour pre-dates the standard, and can't be changed for backwards-compatibility reasons.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              J B 2 Replies Last reply
              0
              • Richard DeemingR Richard Deeming

                I'm not familiar with Oracle. Would you care to expand on that statement? What security features does Oracle provide that are missing from MS SQL?


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #14

                What's funny but totally expected is that both Oracle and Microsoft claim that their database has the better security. I'm of the opinion that the safer product is the one with the better DBA. And since SQLServer is easier to run out of the box...

                Wrong is evil and must be defeated. - Jeff Ello[^]

                1 Reply Last reply
                0
                • M Mycroft Holmes

                  We work with both Oracle and SQL Server in those sort of volumes and I will reluctantly state that Oracle handles the volume better than SQL Server. However the reason may well be that for Oracle you generally need a dedicated DBA to drive the bastard. Also look into the comparative costs of purchase and support of the 2 systems, Oracle is substantially more expensive than SQL Server. We have a rule of thumb that Oracle is used for enterprise apps and SQL Server for departmental apps. [pet hate] Oracle also forces you to use UPPER case naming [/pet hate]

                  Never underestimate the power of human stupidity RAH

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #15

                  Mycroft Holmes wrote:

                  However the reason may well be that for Oracle you generally need a dedicated DBA to drive the bastard

                  I believe you're onto something there.

                  Mycroft Holmes wrote:

                  Oracle is substantially more expensive than SQL Server

                  I wonder how much of that's a myth? For us it was a little bit cheaper actually.

                  Mycroft Holmes wrote:

                  [pet hate] Oracle also forces you to use UPPER case naming [/pet hate]

                  Grumble grumble grumble.

                  Wrong is evil and must be defeated. - Jeff Ello[^]

                  Richard DeemingR 1 Reply Last reply
                  0
                  • Richard DeemingR Richard Deeming

                    Bernhard Hiller wrote:

                    In .Net languages, an empty string is not null, but for Oracle there is no difference - and meanwhile I say: Oracle is right from the view point of requirements.

                    I think you'll find that a lot of people disagree with you on that one - including the ANSI SQL 1992 standard. Of course, Oracle's weird behaviour pre-dates the standard, and can't be changed for backwards-compatibility reasons.


                    "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                    J Offline
                    J Offline
                    Jorgen Andersson
                    wrote on last edited by
                    #16

                    Richard Deeming wrote:

                    Oracle's weird behaviour pre-dates the standard, and can't be changed for backwards-compatibility reasons.

                    Could be fixed with a compatibility setting, just like on SQLServer. I believe they won't do it because it's one of the things that gives them an upper hand on performance.

                    Wrong is evil and must be defeated. - Jeff Ello[^]

                    1 Reply Last reply
                    0
                    • B Bernhard Hiller

                      I agree with them who said that both Microsoft SQL Server and Oracle can do so. When you decide for one of it, note that Oracle is more complicated. SQL Server will handle many things for you automatically - like autoincrement values for keys, while with Oracle you have to setup a sequence, and a trigger for linking your table to the sequence on the appropriate events. In .Net languages, an empty string is not null, but for Oracle there is no difference - and meanwhile I say: Oracle is right from the view point of requirements. But it may cause problems for the programmer. And there are several more such oddities.

                      A Offline
                      A Offline
                      agent_kruger
                      wrote on last edited by
                      #17

                      how much pain it will cause it to the developers doesn't matter, sir but which database works most efficiently which matters here. (So Oracle, SQL or something which is coming new)

                      L 1 Reply Last reply
                      0
                      • J Jorgen Andersson

                        Mycroft Holmes wrote:

                        However the reason may well be that for Oracle you generally need a dedicated DBA to drive the bastard

                        I believe you're onto something there.

                        Mycroft Holmes wrote:

                        Oracle is substantially more expensive than SQL Server

                        I wonder how much of that's a myth? For us it was a little bit cheaper actually.

                        Mycroft Holmes wrote:

                        [pet hate] Oracle also forces you to use UPPER case naming [/pet hate]

                        Grumble grumble grumble.

                        Wrong is evil and must be defeated. - Jeff Ello[^]

                        Richard DeemingR Offline
                        Richard DeemingR Offline
                        Richard Deeming
                        wrote on last edited by
                        #18

                        Jörgen Andersson wrote:

                        I wonder how much of that's a myth? For us it was a little bit cheaper actually.

                        But don't you have to pay something like 22% of the original cost every year in "maintenance charges"? Whereas, once you've bought SQL Server, you only have to pay if you want to upgrade.


                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                        J 1 Reply Last reply
                        0
                        • A agent_kruger

                          how much pain it will cause it to the developers doesn't matter, sir but which database works most efficiently which matters here. (So Oracle, SQL or something which is coming new)

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #19

                          Agent_Spock wrote:

                          how much pain it will cause it to the developers doesn't matter

                          Now there's an helpfull attitude; aren't they the ones who have to support your shit? Oracle, MySql and Sql Server can handle large amounts of data. Program against the IDb* interfaces and speak SQL92 - download the trials and TEST it. Have some console-app generate 100 million records if that's the kind of data you expect. Don't expect to be databinding them to a gridview, regardless of your database. As soon as you have the test-setup, you'll also experience it's speed. Next you'll be learning what an index is, and find that all three db-servers support them. Aw, and yes, the schema does matter. ..and do take in account that the budget is a constraint; if you can afford a harddisk and Sql Server, you could also afford MySQL and an SSD-drive. Hard to predict who'd be faster out of those two :)

                          Agent_Spock wrote:

                          manipulate 100 million records which configures with c# win. form.

                          Did you say "manipulate"? Didn't you mean "store"? --edit; http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems[^] Hint: you'll need support for indexes, partitioning, and might want to take a look at both capabilities (do you need support for each type? each join?) and max. sizes of tables and database.

                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                          A 1 Reply Last reply
                          0
                          • Richard DeemingR Richard Deeming

                            Jörgen Andersson wrote:

                            I wonder how much of that's a myth? For us it was a little bit cheaper actually.

                            But don't you have to pay something like 22% of the original cost every year in "maintenance charges"? Whereas, once you've bought SQL Server, you only have to pay if you want to upgrade.


                            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                            J Offline
                            J Offline
                            Jorgen Andersson
                            wrote on last edited by
                            #20

                            You don't need to pay the maintenance fee. You can keep on using it as long as you want to. What you're missing out on is support and "windows update" aswell as upgrades. And that support is of a wildly varying quality. If you call in the morning, someone with a very strong Indian accent called "Kevin" answers, and if he understands my problem, I won't understand his answer. Anyway, if you have SQLServer you still have to pay for support and upgrades, don't you? It's not an apple to apple comparison. What you can see is that Oracle is trying to price themselves into smaller systems while MS is trying to gain grounds among larger systems. Because when you have a large server farm Oracle is considerably more expensive.

                            Wrong is evil and must be defeated. - Jeff Ello[^]

                            Richard DeemingR 1 Reply Last reply
                            0
                            • J Jorgen Andersson

                              You don't need to pay the maintenance fee. You can keep on using it as long as you want to. What you're missing out on is support and "windows update" aswell as upgrades. And that support is of a wildly varying quality. If you call in the morning, someone with a very strong Indian accent called "Kevin" answers, and if he understands my problem, I won't understand his answer. Anyway, if you have SQLServer you still have to pay for support and upgrades, don't you? It's not an apple to apple comparison. What you can see is that Oracle is trying to price themselves into smaller systems while MS is trying to gain grounds among larger systems. Because when you have a large server farm Oracle is considerably more expensive.

                              Wrong is evil and must be defeated. - Jeff Ello[^]

                              Richard DeemingR Offline
                              Richard DeemingR Offline
                              Richard Deeming
                              wrote on last edited by
                              #21

                              Jörgen Andersson wrote:

                              Anyway, if you have SQLServer you still have to pay for support and upgrades, don't you?

                              You have to pay for upgrades to a new version, or to a higher edition, and you have to pay if you want someone from Microsoft on the phone helping to diagnose a problem. However, service pack (which now seem to be a thing of the past) and cumulative updates are free.

                              Jörgen Andersson wrote:

                              Oracle is trying to price themselves into smaller systems

                              I'd have thought that most small systems would be using the Express edition of SQL or Oracle, which is free. :)


                              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                              J 1 Reply Last reply
                              0
                              • Richard DeemingR Richard Deeming

                                Jörgen Andersson wrote:

                                Anyway, if you have SQLServer you still have to pay for support and upgrades, don't you?

                                You have to pay for upgrades to a new version, or to a higher edition, and you have to pay if you want someone from Microsoft on the phone helping to diagnose a problem. However, service pack (which now seem to be a thing of the past) and cumulative updates are free.

                                Jörgen Andersson wrote:

                                Oracle is trying to price themselves into smaller systems

                                I'd have thought that most small systems would be using the Express edition of SQL or Oracle, which is free. :)


                                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                J Offline
                                J Offline
                                Jorgen Andersson
                                wrote on last edited by
                                #22

                                Yes, but the express editions only use 1 GB of memory. It's good enough for CRUD, but very fast growing to small when you need to analyse data. That's when the standard edition comes into play. That's competitively priced, in contrast to the Enterprice edition which is a class of its own.

                                Wrong is evil and must be defeated. - Jeff Ello[^]

                                1 Reply Last reply
                                0
                                • Richard DeemingR Richard Deeming

                                  Bernhard Hiller wrote:

                                  In .Net languages, an empty string is not null, but for Oracle there is no difference - and meanwhile I say: Oracle is right from the view point of requirements.

                                  I think you'll find that a lot of people disagree with you on that one - including the ANSI SQL 1992 standard. Of course, Oracle's weird behaviour pre-dates the standard, and can't be changed for backwards-compatibility reasons.


                                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                  B Offline
                                  B Offline
                                  Bernhard Hiller
                                  wrote on last edited by
                                  #23

                                  I know that, and in the past I thought that string.Empty and null must be different. But look at a process before software: a user fills in a paper form. For a question he does not provide an answer. Is that null ("'answer' is not set to an object"), or did he answer with "string.Empty"? And exactly that's the point why I agree with Oracle, though it causes pain in programming (and providing compatibility to a "wrongly-designed" Microsoft SQL Server database where string.Empty was allowed but not null... Yes, I had to experience that, and coursed about Oracle (and still do), but here they are right: if a column accepts string.Empty, that's equivalent to accepting null.

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    Agent_Spock wrote:

                                    how much pain it will cause it to the developers doesn't matter

                                    Now there's an helpfull attitude; aren't they the ones who have to support your shit? Oracle, MySql and Sql Server can handle large amounts of data. Program against the IDb* interfaces and speak SQL92 - download the trials and TEST it. Have some console-app generate 100 million records if that's the kind of data you expect. Don't expect to be databinding them to a gridview, regardless of your database. As soon as you have the test-setup, you'll also experience it's speed. Next you'll be learning what an index is, and find that all three db-servers support them. Aw, and yes, the schema does matter. ..and do take in account that the budget is a constraint; if you can afford a harddisk and Sql Server, you could also afford MySQL and an SSD-drive. Hard to predict who'd be faster out of those two :)

                                    Agent_Spock wrote:

                                    manipulate 100 million records which configures with c# win. form.

                                    Did you say "manipulate"? Didn't you mean "store"? --edit; http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems[^] Hint: you'll need support for indexes, partitioning, and might want to take a look at both capabilities (do you need support for each type? each join?) and max. sizes of tables and database.

                                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                    A Offline
                                    A Offline
                                    agent_kruger
                                    wrote on last edited by
                                    #24

                                    yes, i mean store and search. As my work is little tricky it has to search through 100 million records every hour.

                                    J L 2 Replies Last reply
                                    0
                                    • A agent_kruger

                                      yes, i mean store and search. As my work is little tricky it has to search through 100 million records every hour.

                                      J Offline
                                      J Offline
                                      Jorgen Andersson
                                      wrote on last edited by
                                      #25

                                      You have to manipulate ALL of those 100 million records every hour? Or is it just some, and then what percentage? And what kind of reporting do you need to do? On how many records? Fact is that it's not so important which DB you're having as long as you're just doing CRUD. The size of the database is also not very important for the performance (Were talking about a factor of a couple of hundred times larger for every new level in an index, assuming B-Tree index). It's the number of transactions! And how many records that are affected by the queries. So the limiting factors will be the hardware (mostly the harddrives), the configuration of the hardware (It doesn't matter if the drives are fast if they're in a RAID5), and the indexes. If you have no indexes at all, all inserts will be ridiculously fast, but querying or updating will be just as ridiculously slow. Adding every index you can think about will make both inserts and updates ridiculously slow instead, while the queries will be faster. Note that updates needs to both read and write. Finding the right indexes will give you a good balance.

                                      Wrong is evil and must be defeated. - Jeff Ello[^]

                                      1 Reply Last reply
                                      0
                                      • A agent_kruger

                                        yes, i mean store and search. As my work is little tricky it has to search through 100 million records every hour.

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #26

                                        "Manipulate" 100 million records per hour? Ask Amazon or Google to host your data.

                                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                        A 1 Reply Last reply
                                        0
                                        • L Lost User

                                          "Manipulate" 100 million records per hour? Ask Amazon or Google to host your data.

                                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                                          A Offline
                                          A Offline
                                          agent_kruger
                                          wrote on last edited by
                                          #27

                                          sir, in this context i used "manipulate" for "searching"

                                          L 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