Following the initial outbreak of Coronavirus, the xTEN team agreed to self-isolate should we show any symptoms and work from home should traveling to the office be restricted. Since then, the UK government has issued details of what we should expect as the virus spreads with the phased response of Contain, Delay, Research, and Mitigate.
Twelve people have tested positive in Yorkshire, and over half of these cases have been in Leeds. As it’s increasingly likely that the country will move to the Delay phase, we feel that we’re in a position to do our part to delay the outbreak and reduce the strain on the NHS, so those that are vulnerable get the care they need.
Therefore, any team members concerned about contracting the virus will be working from home this week, and everyone will be working from home until further notice starting Monday 16th March.
The team routinely work from home and have done so effectively since 2017. Working from home does not impact our ability to provide the level of service our customers expect, and this decision will not affect any services or projects.
xTEN are now a New Relic partner. New Relic is a powerful cloud-based platform that helps developers, engineers, operations and management have better visibility of complex software environments.
New Relic is trusted by over 17,000 customers who are using it to find and fix problems faster, build high-performing DevOps teams and improve customer experience. It can be used for server monitoring, cloud migration and more.
As partners, we get access to training, best practice and the latest documentation. We already have New Relic Certified Performance Pro status and have been using it for over five years to help our customers. So, whether you’re considering a monitoring solution or need help getting more out of your current system, we can help you.
Speak to us today about how you can start getting more out of your existing IT systems. We help customers use technology to transform by designing, developing, hosting and tuning high-performance solutions.
xTEN have acquired Aireforge, the company that created Aireforge Studio. This application helps data professionals optimise, secure and maintain their SQL Server estates.
Aireforge was co-created by xTEN’s founder, so it made sense to bring these companies together. The application means that anyone can have access to over 30 years’ SQL server expertise, and helps the team here at xTEN deliver services even faster, adding value from day one for our customers.
Aireforge Studio is comprised of five modules to cover all aspects of a Data Professional’s role: Optimize, Compare, Estate, Check and Script. At xTEN, we use Aireforge Studio to uncover a wide range of issues when we are troubleshooting clients’ estates. This helps us get customers’ databases in a better state as fast as possible. We even use it to fix, manage and tune databases.
This acquisition means our customers will enjoy an even better service from xTEN. We’ll be able to use Aireforge as we are currently, but we’ll also be able to build our team’s knowledge into the application. We’ll have direct access to the Aireforge team so we can make sure the app is optimised for our customers. We’ll also show clients how to use the tool within their own teams, so they can start bringing advanced troubleshooting in-house. This means they’ll get more value for money from their xTEN relationship and grow knowledge within their own organisation.
xTEN’s customers are already benefiting from Aireforge Studio so we’re excited to open these opportunities to even more clients. One example is intuitive, a leading travel technology supplier, who used Aireforge Studio to speed up their services, improve security and get insight into their databases. This has resulted in happier customers and a more resilient service.
If you’d like to start getting more value from your SQL Server estate today, have a look at Aireforge Studio or get in touch with xTEN to find out more about our services.
xTEN are now a Microsoft Silver Partner. That means we have been recognised by Microsoft for our technical expertise and customer service.
We’re excited to pass on the benefits of our partnership to our customers. Not only does our Silver status provide assurance you are working with a company trusted by Microsoft, but that you’ll be getting an even better service.
As partners, we get exclusive access to technical training and documentation that we can use to benefit your business. With better connections to the Microsoft Support team, we can help solve your problems faster. Our up-to-date knowledge of the latest solutions will help us find innovative solutions to meet your business goals.
Whether it’s getting advice on the best Microsoft solution for your business, optimising existing systems or troubleshooting, we can help you. Speak to us today to find out how you can save money, time and drive innovation through IT solutions.
I normally blog about SQL Server, but I thought I’d share my experience of using SQL Server from MuleESB. If you haven’t used Mule before, it’s an open source ESB, which also has a paid for Enterprise version. I’ve been using it for almost four years now and have been really impressed with how quickly we can create quite complex applications. It’s very fast, easy to use and free if you use the community version; I also have some experience with Java which helps. I tend to use Mule for applications that process web requests or when integrating with existing systems and SQL Server Integration Services (SSIS) for moving data around.
I’ve been working on a MuleESB program which needs to log millions of requests a day, and with the recent advancements in SQL Server, it’s now the obvious choice for storing almost any type of data. You can also run SQL Server 2017 on Linux, which will please a lot of Mule users.
Mule previously had a MSSQL connector but that has been deprecated and replaced with the Generic Database Connector, which works with most JDBC drivers. To get started, we’ll need to download the latest driver from Microsoft and add it to our project. We can then configure the database using a standard connection string.
Download and add the JDBC driver
At the time of writing, the latest is JDBC 6.4; which you’ll need if you want to use SQL Server 2017 but my screenshots all reference JDBC 6.2.
Add to your Mule Project using Add External JARs…. and selecting either mssql-jdbc-6.2.2.jre7.jar or mssql-jdbc-6.2.2.jre8.jar; depending on your JRE.
Note: You’ll need JDBC 6.4 if you want a driver for JRE 9; you’ll also need Mule 4 as 3.9 doesn’t support Java 9.
Configuring the Database Connector
The database connector is surprisingly easy to configure. We simply add a standard connection string and reference the JDBC driver, which is the same regardless of which JDBC driver you use. Aireforge have created an online connection string builder which you may find useful here.
The above is fine for testing but I would suggest that you use parameters that are stored in a central configuration file to make your life easier. This will enable you to automatically set the environment settings using a local config file or manually change between Dev and Production by commenting each section out. I would also advocate using an application name, as this will help you or the database team to identify your application; rather than it simply showing as a JDBC program.
By default, the maximum database connections is 5, unlike .NET where it’s 100. If you think you’ll need more, then make sure you set it higher.
If you’ll be using the connection frequently; I would strongly recommend using a minimum connection pool size to lower the overhead on both Mule and SQL Server.
If you’re using the standard port, then you don’t need to specify it but it doesn’t hurt and future proofs your application.
Only bother with a re-connection strategy if you really need to the data. If it’s just logging, then consider throwing it away rather than overloading a server which may already be suffering from being overloaded.
If you’re load balancing the connections, I would also suggest setting the Load Balance Timeout, otherwise the connections will be sticky and won’t automatically balance after a server restart etc.
Again, I would set an an application name to help when diagnosing issues.
Consider enabling delayed durability when saving logging data as it will reduce the time in SQL Server and free up database connections quicker. I would also specify for the specific stored procedure in use rather than forcing it for the entire database. With Delayed Durability comes the possibility of data loss, so make sure you understand the risks.
Consider using memory optimized tables for very busy applications, then process the data using a separate process. This could be called from Mule or via the SQL Server Agent. Again, if the data isn’t important, I would opt for a SCHEMA_ONLY table; which is faster but you’ll lose the data should SQL Server restart. If this isn’t an option, you can use the default of SCHEMA_AND_DATA which will commit the data to disk.
Use a stored procedure or parameterised queries when communicating with SQL Server as this will enable SQL Server to reuse execution plans.
I’ve created a HTTP service listening on 8081 that will then connect to the database, retrieve the server and service name, then return it as JSON.
Here’s the example results in JSON.
Microsoft have made the cheaper (or free) versions of SQL Server very powerful by allowing us to use features which were previously enterprise only. For me, it does everything I need from a database. In-memory tables that can handles thousands of updates a second, to large clustered columnstore tables that can handle real-time analytical queries that drive dashboards.
It would be nice to see the JTDS driver get more attention, as it’s much faster than ODBC but at the time of writing, doesn’t work with the latest versions of SQL Server and doesn’t have much documentation / support. Maybe Microsoft could release and maintain JTDS driver in parallel to JDBC?
Utilizing the cache scope could also prove quite powerful as it will reduce the resource requirements of SQL Server, whilst improving the performance of your Mule application. I’ll try to blog on this soon but feel free to pester me if I haven’t.
We’re pleased to announce that xTEN are a Redgate Certified Partner and one of a handful of organisations that can offer SQL Monitor licenses on a monthly basis. We offer this as part of our managed services but also to customers who may wish to scale up their monitoring for seasonal traffic or for short term projects; such as consolidating servers and services.
Who are Redgate?
Redgate are the leading provider of software for professionals working on the Microsoft data platform. They help over 800,000 people in every type of organisation around the world, from small and medium sized businesses to 91% of companies in the Fortune 100. Their SQL Toolbelt helps users implement DevOps best practice for their databases, easily monitor database performance, and improve team productivity.