Archive for the ‘Software’ Category

banker’s round for mysql

Декабрь 3rd, 2011
for some reason, nobody has ever exposed the different rounding methods via mysql’s built-in ROUND() function, so if you want something different, you need to add it via a stored function. the function below is based on the T-SQL version here.

CREATE FUNCTION ROUND_TO_EVEN(val DECIMAL(32,16), places INT)
RETURNS DECIMAL(32,16)
BEGIN
  RETURN IF(ABS(val - TRUNCATE(val, places)) * POWER(10, places + 1) = 5 
            AND NOT CONVERT(TRUNCATE(ABS(val) * POWER(10, places), 0),
                            UNSIGNED) % 2 = 1,
            TRUNCATE(val, places), ROUND(val, places));
END;


use at your own risk. there may be edge conditions where this fails. but this matches up with the python and postgres based system i was crunching data from, except in cases where that system gets it wrong for some reason.

one thing you might notice is that it does not use any string-handling functions like the other “correct” solution floating around out there.
PlanetMySQL Voting: Vote UP / Vote DOWN

451 CAOS Links. 2011.12.02

Декабрь 2nd, 2011

Talend delivers v5. Zentyal raises series A. The TCO of OSS. And more.

# Talend announced version 5 of its data integration suite, adding business process management capabilities via an OEM relationship with BonitaSoft. Yves De Montcheuil explained the name changes in version 5.

# Zentyal closed a series A venture capital funding of over $1m by Open Ocean Capital.

# The London School of Economics released a report on the total cost of ownership of open source software.

# Couchbase announced the availability of the Couchbase Hadoop Connector, developed in conjunction with Cloudera.

# Rackspace announced the private beta of Rackspace MySQL Cloud Database.

# The debate over the role of open source foundations in the Git era continued, including a follow-up by the instigator, Mikael Rogers, a rallying cry for autonomy from Ceki Gülcü, and Simon Phipps warning about throwing the baby out with the bathwater.

# Marco Abis is stepping down as CEO of Sourcesense.

# NGINX usage has grown almost 300% over the last year, according to Netcraft figures discussed by Royal Pingdom.

# The Wireless Innovation Forum announced the formation of the Open Source Framework for Commercial Baseband Software project.


PlanetMySQL Voting: Vote UP / Vote DOWN

451 CAOS Links 2011.11.08

Ноябрь 8th, 2011

Cloudera raises $40m. Accel announces $100m fund. Rackspace takes OpenStack private. And more.

# Cloudera raised $40m in series D funding and announced a partnership with NetApp around its NetApp Open Solution for Hadoop.

# Accel Partners launched a $100m Big Data Fund to invest in Hadoop- and NoSQL-related vendors.

# Rackspace launched Rackspace Cloud: Private Edition, based on OpenStack.

# Quest Software released Toad for Cloud Databases – Community Edition.

# Splunk launched Splunk Enterprise for Hadoop to provide integration between Splunk and Apache Hadoop.

# Continuent announced supported MySQL-To-Oracle replication with Tungsten Replicator.

# Hadapt announced early access for Hadapt 1.0, combining Hadoop with relational databases.

# StackIQ announced the immediate availability of Rocks+ 6.

# MapR Technologies and Lucid Imagination announced a strategic partnership.

# Cloudera formed a strategic partnership with Karmasphere.

# EnterpriseDB announced Postgres Plus Connector for Hadoop.

# SCO Group, or what’s left of it, asked the US District Court for the District of Utah to reopen its litigation against IBM.

# Abiquo announced version 2.0 of its self-service cloud configuration and management software.

# Ian Skerrett reported on John Swainson’s key success factors for open source strategies.

# Gorilla Logic announced FoneMonkey for Android,


PlanetMySQL Voting: Vote UP / Vote DOWN

MySQL (@openSUSE) survey

Октябрь 9th, 2011

This is not really a blog post. I just would like to know you opinion on state of MySQL at openSUSE and openSUSE Build Service. But I’m interested in your feedback even if you are not using openSUSE or even if you are not using packages I provide. As my TODO is quite long and I can’t do everything, I would like to know what should I pay the most attention to. Later I will publish a post about the current state of MySQL and how you can participate ;-)


PlanetMySQL Voting: Vote UP / Vote DOWN

Got open source cloud storage? Red Hat buys Gluster

Октябрь 6th, 2011

Red Hat’s $136m acquisition of open source storage vendor Gluster marks Red Hat’s biggest buy since JBoss and starts the fourth quarter with a very intersting deal. The acquisition is definitely good for Red Hat since it bolsters its Cloud Forms IaaS and OpenShift PaaS technology and strategy with storage, which is often the starting point for enterprise and service provider cloud computing deployments. The acquisition also gives Red Hat another weapon in its fight against VMware, Microsoft and others, including OpenStack, of which Gluster is a member (more on that further down). The deal is also good for Gluster given the sizeable price Red Hat is paying for the provider of open source, software-based, scale-out storage for unstructured data and also as validation of both open source and software in today’s IT and cloud computing storage.

This is exactly the kind of disruption we’ve been seeing and expecting as Linux vendors compete with new rivals in virtualization, cloud computing and different layers of the stack, including storage (VMware, Microsoft, OpenStack, Oracle, Amazon and others), as covered in our recent special report, The Changing Linux Landscape.

While the deal makes perfect sense for both Red Hat and for Gluster, it also has implications for the white hot open source cloud computing project OpenStack. There was no mention of OpenStack in Red Hat’s FAQ on the deal, but there was a reference to ongoing support for Gluster partners, of which there are many fellow OpenStack members. OpenStack was also highlighted among Gluster’s key open standards participation along with the Linux Foundation and Red Hat-led Open Virtualization Alliance oriented around KVM. Sources at both Gluster and Red Hat, which point to OpenStack support being bundled into Red Hat’s coming Fedora 16, also reiterated to me Red Hat is indeed planning to continue involvement with OpenStack around the Gluster technologies. I suspect Red Hat is looking to leverage Gluster more for its own purposes than for OpenStack’s, but I must also acknowledge Red Hat’s understanding of the value of openness, community and compatibility. Taking that idea a step further, Gluster may represent a way that Red Hat can integrate with and tap into the OpenStack community by blending it with its own community around Fedora, RHEL, JBoss, RHEV and Cloud Forms and OpenShift.

The deal also leads many to wonder whether or what may be next for Red Hat in terms of acquisition. We’ve long thought database and data management technologies were areas where we might see Red Hat building out. This was also the subject of renewed rumors recently, and we believe it might still be an attractive piece for Red Hat given the open source opportunities and targets around NoSQL technologies such as Apache Hadoop distributed data management framework and Cassandra distributed database management software. We’ve also believed systems management to be a potential place for Red Hat to further expand. Given its need to largely stay within open source, we would expect targets in this area to include GroundWork Open Source, which joins Linux and Windows systmes in its monitorig and management, and Zenoss, which works with Cisco and Red Hat rival VMware in monitoring and managing systems with its open source software. Another potential target that would increase Red Hat’s depth in open source virtualization and cloud computing is Convirture, which might also be an avenue for Red Hat to reach out to midmarket and SMB customers and channel players. Red Hat was among the non-OpenStack members we listed as potential acquirers when considering the M&A possibilities (451 subscribers) out of OpenStack.

Given its recent quarterly earnings report and topping the $1 billion annual revenue mark, Red Hat seems again to be bucking the bad economy. We’ve written before in 2008 and more recently how bad economic conditions can be good for open source software. Red Hat is atop the list of open source vendors that suffer as traditional, enterprise IT customers such as banks freeze spending or worse, fail. However, the company’s deal for Gluster is yet another sign it is thriving and expanding despite economic difficulty and uncertainty.

You don’t have to just look at Red Hat’s earnings or take our word for it. On Jim Cramer’s ‘Mad Money’ this week, we heard Red Hat CEO Jim Whitehurst praised for Red Hat performance and traction where most companies and many economists are throwing the blame: financial services, government and Europe. Cramer credited Red Hat for a ’spectacular quarter’ and allowed Whitehurst to tout the benefits of the Gluster technology and acquisition, particularly Gluster’s software-based storage technology that matches cloud computing. It was quite a contrast to the news out of Oracle Open World, where hardware was a focal point.


PlanetMySQL Voting: Vote UP / Vote DOWN

451 CAOS Links 2011.09.30

Сентябрь 30th, 2011

Microsoft’s Android revenue. Tizen formation. And more.

# As Microsoft announced its latest Android-related patent agreement with Samsun, Goldman Sachs estimated that the company will make $444m in revenue from Android patent deals for fiscal year 2012.

# LiMo Foundation and The Linux Foundation announced the formation of Tizen to develop a Linux-based device software platform.

# Karmasphere raised $6m in a series B round of funding, led by new investor Presidio Ventures.

# Citrix Systems announced the availability of XenServer 6.

# 10gen announced the general availability of MongoDB Monitoring Service, a free monitoring service for the MongoDB database.

# Percona announced the release of Percona Server version 5.5.15.

# Hortonworks became a Gold sponsor of the Apache Software Foundation.

# The developers behind PhoneGap have applied to contribute their open source mobile development framework to the Apache Software Foundation.

# Piston Cloud Computing is set to launch its PentOS enterprise operating system for the cloud and put OpenStack on a memory stick.

# The Free Software Foundation announced the re-launch of its Free Software Directory.

# Rhomobile announced availability of RhoConnect 3.0.

# Nokia is reportedly working on a new Linux-based operating system for mass market phones called Meltemi.


PlanetMySQL Voting: Vote UP / Vote DOWN

MySQL at the core of commercial open source

Сентябрь 26th, 2011

Oracle last week quietelyannounced the addition of new extended capabilities in MySQL Enterprise Edition, confirming the adoption of the open core licensing strategy, as we reported last November.

The news was both welcomed and derided. Rather than re-hashing previous arguments about open core licensing, what interests me more about the move is how it illustrates the different strategies adopted by Sun and Oracle for driving revenue from MySQL, and how a single project can be used to describe most of the major strategies from generating revenue from open source software.

Like most open source-related software vendors, MySQL started out life offering support, training and consulting around the open source database. The company also saw success in offering a closed source variant of the database for embedding in closed source systems, and it was this dual licensing strategy that drove much of the company’s early revenue. That began to change with the arrival of MySQL Enterprise (initially ‘MySQL Network’ – a subscription offering that delivered monitoring and (later) backup capabilities to paying customers only. While some people see this as an example of the open core licensing strategy, as we have previously explained, it is not. While open core is an extension of the dual licensing strategy with additional extensions, MySQL AB’s MySQL Enterprise, as the graphic above illustrates, actually paired the extensions with the open source MySQL Community – a subtle difference from the MySQL Enterprise licensing strategy adopted by Oracle (more of which later).

MySQL flirted with the open core licensing model in early 2008 with plans to introduce new features into Enterprise Edition that would not be available under an open source license. Those plans were ultimately reversed at the behest of new owner Sun Microsystems. To understand why Sun did this one must consider the company’s wider strategy for open source at the time. While a software freedom philosophy played a part, Jonathan Schwartz’s map of open source downloads, each representing ‘a potential customer that cost Sun nothing to acquire’, explains how Sun was less interested in driving direct revenue from MySQL (and other open source software) as it was in helping open source users to become customers for Sun’s commodity hardware and other products and services.

Sun never got the chance to prove whether this model would have worked (I’m being polite), but in any case contrast Sun’s approach with Oracle’s strategy for open source. While the majority of Oracle’s revenue clearly comes from other products, it is not looking to drive revenue for those products via open source downloads. Witness Larry Ellison’s recent proclamation that he doesn’t care if Oracle x86 server business (typically used to run MySQL) goes to zero. Instead (for better or worse) the company is focused on driving revenue directly from each individual product, whether that is a high margin server, or closed or open source software. That has resulted in an increased investment in embedded opportunities for MySQL, as well as traditional software license agreements. While customers might choose to use MySQL Community and purchase additional support subscriptions, as of November 2010 Oracle prefers that Standard Edition and Enterprise Edition customers enter into a commercial license agreement with the company. That was a strategy that was in place in advance of last week’s addition of high availability, scalability and security features, but one that clearly looks set to continue.

Whether this is a good or a bad thing depends on your perspective. Monty Widenius does a good job of outlining the down sides to an open core licensing strategy, while Giuseppe Maxia focuses on the positives. Certainly Oracle will have to be mindful to balance the control and community aspects, but as we have previously covered (451 Group clients) there are a number of new capabilities in development for the core MySQL database itself.


PlanetMySQL Voting: Vote UP / Vote DOWN

Red Hat considering NoSQL/Hadoop acquisition

Август 23rd, 2011

InternetNews.com yesterday published an article based on an interview with Red Hat CEO Jim Whitehurst asking the question “Is Red Hat Interested in the Database Market?”

In truth there was no real need to ask the question, as Whitehurst’s comments made it pretty clear that Red Hat is interested in the database market, and specifically the NoSQL database market.

“When I say I don’t want to be a database company, I’m saying that I don’t want to be a SQL database company,” Whitehurst said.

In case the implications of that statement were not entirely clear, he later added:

“But we would be very interested in a NoSQL type database or Hadoop type thing,” Whitehurst said. “Those are interesting as they represent net new.”

The article adds that Whitehurst would not specifically state whether Red Hat will or will not actually acquire anyone, as is to be expected, but the comments are the clearest indication yet that Red Hat sees value in a potential NoSQL acquisition.

This is something that we have seen for some time, pointing out in May 2010 that “We have consistently noted that the database remains a missing layer in Red Hat’s software stack… and would see advantages in adding an open source NoSQL database to its portfolio to target MySQL users.”

We are by no means the only people to have highlighted the database-shaped hole in Red Hat’s portfolio, but while Red hat has previously shied away from speculation linking it with a relational database vendor (seemingly in order to avoid disrupting its relationship with Oracle) as Jim points out, NoSQL and Hadoop are far more attractive given their growth is based on new projects, rather than the much tougher proposition of competing for incumbent database projects.

So what emerging open source projects might be of interest to Red Hat? Its OpenShift PaaS launched with support for 10gen’s MongoDB and later added support for Couchbase’s Membase, which makes them obvious contenders. We suspect that avoiding overlap and delivering compatibility with Red Hat’s JBoss Enterprise Data Grid technology would be a key part of the decision-making process.

As for Hadoop – Cloudera is the obvious choice but we imagine that any move would be likely to start a bidding war from which Red Hat might not emerge victorious. Hortonworks has only just emerged from Yahoo, of course, but might be an option for a more services-led approach.

Then there is DataStax, which could give Red Hat the opportunity to kill two birds with one stone with its Brisk Hadoop distribution and Apache Cassandra-related software and services.


PlanetMySQL Voting: Vote UP / Vote DOWN

Red Hat considering NoSQL/Hadoop acquisition

Август 23rd, 2011

InternetNews.com yesterday published an article based on an interview with Red Hat CEO Jim Whitehurst asking the question “Is Red Hat Interested in the Database Market?”

In truth there was no real need to ask the question, as Whitehurst’s comments made it pretty clear that Red Hat is interested in the database market, and specifically the NoSQL database market.

“When I say I don’t want to be a database company, I’m saying that I don’t want to be a SQL database company,” Whitehurst said.

In case the implications of that statement were not entirely clear, he later added:

“But we would be very interested in a NoSQL type database or Hadoop type thing,” Whitehurst said. “Those are interesting as they represent net new.”

The article adds that Whitehurst would not specifically state whether Red Hat will or will not actually acquire anyone, as is to be expected, but the comments are the clearest indication yet that Red Hat sees value in a potential NoSQL acquisition.

This is something that we have seen for some time, pointing out in May 2010 that “We have consistently noted that the database remains a missing layer in Red Hat’s software stack… and would see advantages in adding an open source NoSQL database to its portfolio to target MySQL users.”

We are by no means the only people to have highlighted the database-shaped hole in Red Hat’s portfolio, but while Red hat has previously shied away from speculation linking it with a relational database vendor (seemingly in order to avoid disrupting its relationship with Oracle) as Jim points out, NoSQL and Hadoop are far more attractive given their growth is based on new projects, rather than the much tougher proposition of competing for incumbent database projects.

So what emerging open source projects might be of interest to Red Hat? Its OpenShift PaaS launched with support for 10gen’s MongoDB and later added support for Couchbase’s Membase, which makes them obvious contenders. We suspect that avoiding overlap and delivering compatibility with Red Hat’s JBoss Enterprise Data Grid technology would be a key part of the decision-making process.

As for Hadoop – Cloudera is the obvious choice but we imagine that any move would be likely to start a bidding war from which Red Hat might not emerge victorious. Hortonworks has only just emerged from Yahoo, of course, but might be an option for a more services-led approach.

Then there is DataStax, which could give Red Hat the opportunity to kill two birds with one stone with its Brisk Hadoop distribution and Apache Cassandra-related software and services.


PlanetMySQL Voting: Vote UP / Vote DOWN

Economy up or down, can open source come out on top?

Август 11th, 2011

We’ve written about how a bad economy is indeed good for open source software. We’ve also recognized that with open source software’s maturity and place at the enterprise software table, a bad economy can be a double-edged sword for open source since the failure or fade of large enterprise customers, say big banks, hurts open source vendors right alongside traditional software providers.

What is interesting is that after a couple of years of economic rebuilding, we’ve seen recently how open source is being driven by innovation, particularly in cloud computing, where open source is prevalent and disruptive, and also mobile computing, which continues to be impacted by openness.

Given recent economic developments around the globe, I’m wondering whether we may see a return of cost as the main driver and benefit of open source software in the enterprise. Recent conversations with vendors and customers illustrates the fact that the motivation for adopting open source is not always the main benefit from open source. For example, open source users and customers identified cost as the main reason for adopting open source when we asked more than 1,700 of them two years ago. However, when the same group was asked what was the main benefit from open source, the top pick was flexibility. We also saw dramatic increases in factors such as performance and reliability when comparing drivers for adoption and benefits from adoption. Still, just as we’ve seen unpaid community Linux lead to paid subscription Linux and also paid Linux lead to more unpaid community Linux use, it can go both ways with open source advantages, as well. One recent conversation with an up-and-coming, open source-centered vendor in the NoSQL space highlighted how many large enterprise customers are deploying open source in divisional, departmental, pilot and other limited form to replace traditional databases primarily for flexibility, performance and similar reasons, but finding the cost savings to be significant and worthy of wider deployment.

This begs the question whether open source software, driven by its myriad of advantages for different contexts, finds a way to win regardless of whether economic conditions are good or bad? There’s no question open source has displayed staying power throughout both. We should also point out that these advantages and factors end up putting a lot of pressure on open source software development and projects, given there are inherent expectations of cost-savings, flexibility, speed, performance, scalability, etc. As we’ve highlighted recently, open source is not always the correct route for enterprise ogranizations. However, we do believe that if done properly, open source projects and communities can and do deliver benefits that enable both providers and consumers of technology.

Similar to sales and marketing, longevity, economic and developer opportunity, open core, etc., it all boils down to the community, which in a good economy tends to drive innovation and value or in a bad economy serves as a source of cost efficiency, savings and survival. That is, of course, if the community is properly supported in code, cash, contributions and stewardship that still allows open source to do its thing.


PlanetMySQL Voting: Vote UP / Vote DOWN