‹ BackHN Continuity

Thread

Oracle on the hook to pay data centre investors even if site has no electricity

158 points · 154 comments · Betelbuddy

  1. gchamonlive · · focus · HN ↗
    A too-big-to-fail about to fail certain it'll be bailed out? Another comment* raised a question about investments in fuel cells that could have been just for show. Are they doing max damage to leech as much cash as possible before implosion or it's just... I mean, it's oracle it's a mystery to me how they make so much money with selling crapware, so it might just be business as usual?

    *<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49842884">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49842884

    1. philipallstar · · focus · HN ↗
      I don&#x27;t love Oracle, but they made so much money selling the best relational database on the planet for 40 years.
      1. gchamonlive · · focus · HN ↗
        OracleDB, MongoDB and PHP over IIS natively on a single Windows machine running on Azure. Delicious.
        1. catchnear4321 · · focus · HN ↗
          please don’t trigger my ptsd like that, thanks
          1. gchamonlive · · focus · HN ↗
            HN despertely needs a collapsible &quot;spoilers&quot; section in the comments
        2. pepperoni_pizza · · focus · HN ↗
          I&#x27;ve lost count how many &quot;cloud-native application deployed on Azure&quot; at my job have turned out to be this. Installed by random contractors who have since left of course.
          1. gchamonlive · · focus · HN ↗
            It&#x27;s easy to deploy grief and call it a day if you aren&#x27;t the one cleaning up afterwards. On the other hand the blaming mentality never led anyone anywhere so I&#x27;m not really sure how one is to address this.

            My guess would be the cause is unreasonable corporate pressure for productivity, so if this is the case the natural answer would be to give people more time to think about architecture, create incentives for group studies and laboratories and remove incentives that lead to the so called &quot;résumé-driven development&quot;

      2. jiggawatts · · focus · HN ↗
        &quot;The best&quot;, but you&#x27;ll be sued if you publish benchmarks: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;David_DeWitt#DeWitt_Clause" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;David_DeWitt#DeWitt_Clause

        Every time I use Oracle, I regret it.

        Just this month, I tried to hook it up to a modern .NET app with the latest Oracle client and discovered that if you cancel a transaction, the connection enters a broken state and is returned to the connection pool, &quot;infecting it&quot;. After a half a dozen of those, the whole app server just dies with endless cancellation related exceptions. This isn&#x27;t even the only such bug, apparently there&#x27;s a whole family of pool-corruption bugs that have workaround config settings and everything!

        This was with version 23.26.301 which suggests that they&#x27;ve had a lot of major releases, bug fixes, etc... but basic functionality like &quot;connect successfully to the database server every time&quot; is totally broken and has been for many years.

        The issue tracker forums have tumbleweeds rolling through them and play the sound of wolves howling in the distance to provide just the right kind of &quot;what are you still doing here?&quot; ambiance.

        1. hobo123 · · focus · HN ↗
          That should just be illegal. The right to measure or to publish things is not about their software, it&#x27;s a personal right, so Obstacle shouldn&#x27;t be able to remove your right in their license agreement.
          1. rswail · · focus · HN ↗
            The copyright that Oracle has entitles it to offer a license with the conditions it wants. They&#x27;ve had that condition in their license for decades.

            You are not forced to accept them.

            Back in the late 90s, Oracle RDBMS was the &quot;won&#x27;t get fired for buying&quot; RDBMS. It&#x27;s been downhill ever since. Once Postgres got partitions, it was over.

            Oracle still had a market for high availability clusters for a while, but the increasing performance of single servers and SANs and finally cloud services made that redundant.

            So Oracle have spent the last 20 years being bastards about licensing, squeezing their existing customers while the customers do their best to migrate somewhere else.

            1. hobo123 · · focus · HN ↗
              My point was it aught to be illegal to put stuff in a license that tells you what to do with your life that doesn&#x27;t affect the software.

              That&#x27;s like selling or renting you a car and disallowing you from saying bad things about it, or to tell others the horsepower or max speed.

        2. gchamonlive · · focus · HN ↗
          To be fair with Oracle, every software has it&#x27;s idiosyncrasies and for many corporations the devil you know wins every time. The problem starts when new projects start adopting such a hopeless stack.
        3. JsonDemWitOster · · focus · HN ↗
          What an honor for Professor De Witt (no relation to my handle).

          My handle notwithstanding, I&#x27;m smart enough to not take legal advice from HN but nonetheless I cannot stop myself hence the rhetorical question: how is a EULA clause like that even enforceable? If this isn&#x27;t going against freedom of speech then this surely it&#x27;s against some consumer protection laws?

          The cynical answer to that I guess is &quot;a lot of money funding a legal team the size of a warlord&#x27;s militia&quot; and also &quot;lobbying&quot; but even then it doesn&#x27;t track to me that this clause could have even that much of an effect as a scare tactic?

          1. rswail · · focus · HN ↗
            It&#x27;s their copyright, they get to decide the conditions in the license if you want to use their software.

            The EULA is enforceable because you have to agree to it to use the software, and Oracle has large and well financed legal team who will descend from a great height on you and anyone who publishes the results of you doing performance testing.

            1. gchamonlive · · focus · HN ↗
              That doesn&#x27;t address the question of the limits of what should be enforceable in an EULA
              1. rswail · · focus · HN ↗
                Agreed, but that isn&#x27;t what we&#x27;re discussing.

                The licensing laws around copyright have been developed over the last few centuries. They can be changed.

                But until they are, the limits are what they are. Currently, Oracle can put conditions on benchmarking and publishing the results in their license and its not only legal for them to do so, but they have prevailed in court when enforcing those conditions.

            2. onraglanroad · · focus · HN ↗
              Only to the point it doesn&#x27;t infringe on your statutory rights.

              In the EU (and still the UK since they&#x27;ve not changed the law since) you have the right to benchmark software.

              However, it doesn&#x27;t include the right to publish the results, so you can only do it internally for Oracle and any software that has similar clauses.

              1. gchamonlive · · focus · HN ↗
                There&#x27;s freedom of speech missing somewhere in this, I guess, maybe, not sure where, just a hunch
                1. jasomill · · focus · HN ↗
                  The First Amendment doesn&#x27;t prevent the government from enforcing contracts between private parties who have agreed not to speak.
                  1. gchamonlive · · focus · HN ↗
                    There&#x27;s still freedom of speech missing somewhere in this... it seems reasonable to me if we were talking about two businesses, but to prevent a john doe to publish benchmark results? Pardon me but that sounds a lot like corporate-sponsored state-backed censorship. Quite ironic considering Oracle is US-based.
                    1. rswail · · focus · HN ↗
                      If you&#x27;re john doe, you have exactly the same standing as a business when agreeing to and complying with the conditions of the license from a copyright owner.

                      It&#x27;s not the government restricting your right to speak (1st amendment in the US), it&#x27;s a private corporate &quot;person&quot;.

                      If you don&#x27;t like the conditions of the license, you can do one of three things:

                      1. Don&#x27;t use the software

                      2. Use the software in violation of the license, and face the consequences if the copyright owner takes action against you.

                      3. Get the laws of copyright changed so that conditions about publishing benchmarks is not allowed to be removed by a license.

            3. jiggawatts · · focus · HN ↗
              &gt; agree to it to use the software

              There&#x27;s no &quot;meeting of minds&quot; and there&#x27;s no exchange of value if I simply benchmark a piece of software and then don&#x27;t use it any further.

              This is a bit of a grey zone legally, and steps all over a bunch of consumer protection laws, free speech laws, etc... depending on the jurisdiction.

              IMHO governments should explicitly ban these &quot;gag clauses&quot; because it prevents free market competition if customers are not allowed to benchmark software and publish the results.

              1. rswail · · focus · HN ↗
                I fully agree with you that governments should pass laws that restrict the rights of a copyright holder on what they are allowed to control by licensing.

                However they haven&#x27;t, so until they do, you&#x27;re stuck with the license as is.

                As for &quot;meeting of minds&quot; etc and exchange of value, that&#x27;s irrelevant to the conditions of the license. It&#x27;s not a contract. It usually starts off with something like &quot;By using this software, you agree to the following terms...&quot;.

          2. gchamonlive · · focus · HN ↗
            Similar discussion I had a couple of weeks ago in the post about LG spying on consumers: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49603808">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49603808

            Basically ToS can&#x27;t overrule the law, but the law doesn&#x27;t seem to limit much what can be put in ToS, so abuse will always end up in court.

            The problem is that the consequence of this is this filters significantly in favor of the company which complaints are worth taking to court, given that these companies have legions of lawyers on payroll.

          3. rblatz · · focus · HN ↗
            What does the right to freedom of speech have to do with your contract with Oracle?

            Oracle isn’t the government, they have the freedom of association which means they are under no obligation to license their database to you.

            NDAs are well established law, you could view this a very limited in scope NDA.

        4. scrlk · · focus · HN ↗
          &gt; there&#x27;s a whole family of pool-corruption bugs that have workaround config settings and everything

          Back in 2018, a former Oracle developer explained what it was like working on Oracle DB: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18442941">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18442941

          &gt; Here is how the life of an Oracle Database developer is:

          &gt; - Start working on a new bug.

          &gt; - Spend two weeks trying to understand the 20 different flags that interact in mysterious ways to cause this bag.

          &gt; - Add one more flag to handle the new special scenario. Add a few more lines of code that checks this flag and works around the problematic situation and avoids the bug.

          &gt; - Submit the changes to a test farm consisting of about 100 to 200 servers that would compile the code, build a new Oracle DB, and run the millions of tests in a distributed fashion.

          &gt; - Go home. Come the next day and work on something else. The tests can take 20 hours to 30 hours to complete.

          &gt; - Go home. Come the next day and check your farm test results. On a good day, there would be about 100 failing tests. On a bad day, there would be about 1000 failing tests. Pick some of these tests randomly and try to understand what went wrong with your assumptions. Maybe there are some 10 more flags to consider to truly understand the nature of the bug.

          &gt; - Add a few more flags in an attempt to fix the issue. Submit the changes again for testing. Wait another 20 to 30 hours.

          &gt; - Rinse and repeat for another two weeks until you get the mysterious incantation of the combination of flags right.

          Seems like their comment is still valid today.

          1. giva · · focus · HN ↗
            Well, MSSQL has something similar:

            <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sql&#x2F;t-sql&#x2F;database-console-commands&#x2F;dbcc-traceon-trace-flags-transact-sql?view=sql-server-ver17" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;sql&#x2F;t-sql&#x2F;database-console...

            1. jiggawatts · · focus · HN ↗
              Those trace flags are reset by an implicit &quot;EXEC sp_reset_connection&quot; called every time you take a connection out of the pool.

              See: <a href="https:&#x2F;&#x2F;github.com&#x2F;dotnet&#x2F;SqlClient&#x2F;issues&#x2F;767#issuecomment-714625076" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dotnet&#x2F;SqlClient&#x2F;issues&#x2F;767#issuecomment-...

              &quot;So, let&#x27;s say you created a new pooled connection and closed it, driver will pool this connection but the physical connection is already active on server side. When the driver reactivates this pooled connection, it&#x27;s only done on client side by taking it out of pool stack and setting it&#x27;s state Active. But when next query is executed, we ensure a &quot;RESET&quot; bit is set in TDS header with next command on this newly reactivated pooled connection to cleanup any stale state, as per standard behavior.&quot;

              Oracle requires an opt-in(!) flag that is incomplete and configured on the server instead of the client, which is a &quot;special&quot; kind of nonsense that I have no patience for: <a href="https:&#x2F;&#x2F;docs.oracle.com&#x2F;en&#x2F;database&#x2F;oracle&#x2F;oracle-database&#x2F;26&#x2F;odpnt&#x2F;featConnecting.html#GUID-B970A7CF-6A02-464C-A999-C30D4DB304B4" rel="nofollow">https:&#x2F;&#x2F;docs.oracle.com&#x2F;en&#x2F;database&#x2F;oracle&#x2F;oracle-database&#x2F;2...

        5. marcosdumay · · focus · HN ↗
          My favorite bug of the .Net connector is how the entire API supports async operations, but the underlying implementation can&#x27;t tell two different executions of the same query apart, so it&#x27;s random whether each call will get their own results or some other ones.

          But polluting the poll with unusable connections is just Oracle copying the MS-SQL&#x27;s thing. The C# recommended coding practices will automatically deal with this. (Not that you would want to follow them, but you may want to look and copy this part.)

          1. jiggawatts · · focus · HN ↗
            &gt; the underlying implementation can&#x27;t tell two different executions of the same query apart

            Got a reference for that?

      3. nylonstrung · · focus · HN ↗
        We must have extremely different definitions of what constitutes &quot;best&quot; or even &quot;good&quot;
        1. philipallstar · · focus · HN ↗
          We must indeed.
      4. JsonDemWitOster · · focus · HN ↗
        Uh, it&#x27;s only the &quot;best&quot; in the same sense that Windows Server is the best server infra on the planet. And arguably Windows has some network bandwagon effect behind its momentum: when your workstation supplier supplies machines with Windows pre-installed and you have built an IT Support Team with the expertise for Windows technologies, it only makes sense to also use Windows in your server.

        AFAICT the only thing Oracle has over established FOSS DBs is vendor support and the only thing Oracle has over established FOSS vendors like Percona is a ginormous marketing budget. I&#x27;m always grimused when I see Oracle product placement in the MCU.

      5. joshstrange · · focus · HN ↗
        &gt; best relational database

        Hard disagree. Oracle&#x27;s database will always live in my mind as a complete waste of money. Some con-man, I&#x27;m sorry salesman, sold a previous (idiot) executive on it at a previous company I worked for. The exec was long gone and lots of time was wasted trying to adapt our application (that used MySQL) over to Oracle until we finally pulled the plug. But not after spending hundreds of thousands of dollars on time and equipment. We re-purposed the hardware into effectively a big NAS.

        1. 27183 · · focus · HN ↗
          With software products you can pretty reliably tell they&#x27;re dogshit when the sales team targets the C suite. The security industry is riddled with that. Deals done over steak dinners and yacht charters don&#x27;t translate to working, reliable software.
        2. amluto · · focus · HN ↗
          In maybe 2004 I developed a small application using Python and Oracle. It was miserable. Admittedly I paid all the little costs (figuring out how to connect in the first place, waiting many seconds for the client library to initialize itself, etc) and got no benefits whatsoever from scale. Even back then, MySQL would have been far better, and early-2000s-MySQL was pretty bad.

          I’ve heard that at least the Oracle client is not as bad these days.

    2. mitxela · · focus · HN ↗
      Oracle&#x27;s business model is to get government contracts. It&#x27;s a whole special business model unrelated to software.
      1. gchamonlive · · focus · HN ↗
        Makes sense and it shows
    3. cmiles74 · · focus · HN ↗
      Could this be a sign of the end of the AI bubble?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.