r/SQL • u/RyanHamilton1 • Sep 08 '23
Discussion 10 Years to build a Free SQL Editor
Hi,
My name is Ryan Hamilton and I have spent large parts of the last 10+ years building an SQL Editor. The tool is targeted at data analysts, a lot of effort has gone into charting, visualizing and excel export. No effort has put into automating DBA tasks. If this sounds useful to you, it's Free, please give it a try and let me know any feedback:
qStudio https://www.timestored.com/qstudio/
Since last year it works with every popular database: MySQL / PostgreSQL / Oracle / SQL Server / SQLite
To answer some likely questions:
History:
It started 11 years ago when I was working with a niche SQL like database and found that no existing SQL editors worked at all, so I created one that worked for that specific database. I gave it to some others I worked with and then added requested features and changes based on user demand for the next few years. Most of my users only query data, they don't create databases from scratch, hence the specialization. 10 Years later I increasingly found myself using other more standard SQL databases so I made it work with them too. Now it works with 30+ databases: https://www.timestored.com/qstudio/database/
Commercial: This looks commercial, you've linked to a company? At the time I also started a company that provided consulting and training. For years I gave training on a specialized database, this was useful to see what those users needed. For one specific database (kdb+) we sell qStudio with special functionality. Otherwise, All databases are free to use. Interestingly, to get the software used within banks 10 years ago, you had to have a company so they could complete "due diligence" and "supplier checks". Few banks were keen on onboarding open-souorce. Now with customer demand we've open sourced most our product.
What has 10 years taught you?
You can never predict what users will do with your software!!
I've had people try to run it on old nokias, on android, on 20 year old linux systems.
One person sent me a hand edited java VM bytecode change to fix an editor bug.
If I could go back, I would have supported multiple databases from the start. It was harder to add later and restricted the usage of the tool for a long time.
I would have open sourced it from the start
What influenced the design? You can probably tell even from screenshots, I love notepad++ and windows 95. Similar to notepad++ it autosaves documents in progress and allows a lot of tab interaciton, e.g. right click on doc link to jump to location in windows explorer. Windows 95 to me was the pinnacle of friendly design, proper 3D buttons and obvious controls that are clickable. Adding FlatLaf last year was essential to give qStudio a modern look and a proper dark theme. (https://www.timestored.com/b/qstudio-2-05-dark-theme-and-high-dpi-support/)
I would like to say a big thanks to
All the users over the years that reported bugs and gave feature suggestions.
Thanks to the companies that financed the project in the past.
Thanks to the upstream libraries, jfreechart/flatlaf are awesome.
If you have any questions or feedback, please let me know.
11
u/AdminCatto Sep 08 '23
Thank you Ryan for sharing this story. As far as I know, Kdb is mainly used by investment banks.
Are you planning to launch this application as a web application? Nowadays, interactive online courses in the form of an web app is an interesting way to attract new customers.
9
u/RyanHamilton1 Sep 08 '23
We have started a new project called Pulse that has almost all the same querying functionality as a web app: https://www.timestored.com/pulse/ The main motivation was to allow users to share queries and analaysis by sending a link.
Beyond querying, Pulse is intended to allow anyone that knows only SQL to build a fully interactive real-time application. The core of Pulse is open source (https://github.com/timestored/pulseui) but the finance specific functionality costs. We are a tiny 2 person bootstrapped company with no VC funding so need to pay the bills. :)
1
u/rswgnu Sep 08 '23
Hi Ryan:
Very nice work.
Just curious why if you want creators of derivative works of pulseui to open source their work, you did not just select the well-known GPL but went with a largely unlnown license? What does it do differently?
Robert
1
u/RyanHamilton1 Sep 11 '23
Hi Robert,
I would love people that create derivative works to open source their work. Though I would also be happy with people creating closed source commercial plugins. (Once we release a proper plugin ability).
Our decision may have been overly influenced by the recent drama with Elastic/AWS/mongodb/hashicorp. On reddit and elsewhere I saw this very negative drama onfold of smaller startups accusing AWS of profiting from their work and giving nothing back. Then that causing a split in their communities. I looked on OSI and this license seems to make large players give back. Even if in theory someday Pulse became big and Azure made lots of money from it and I didn't, I don't think I would care that much if at least they had to make all their efforts open and all the users would benefit.
Since we have only started on the open source path lately, I expect many bumps and changes. So please let me know what you think?
1
u/AdminCatto Sep 08 '23
Cool. Have you tried presenting this tool to the daytrading community on Reddit?
2
u/RyanHamilton1 Sep 08 '23
I should have but have kept delaying it to focus on making the product better. I won't wait 10 years, I will post within the next 4 weeks.
1
u/AdminCatto Sep 08 '23
That's the spirit 🤩! If you can do it faster, that would be great.
Real good software is never finished. If someone decides that an application is perfect, it will be replaced by other products later. You have a good product that sells and extensive knowledge of the financial market. Most traders don't have the technical skills to make good software, and most programmers don't have broad knowledge of financial market trend analysis. All you should do now is reach more people and gather new insights from new customers.
4
u/tindolabooteh Sep 08 '23
AWESOME....i remember when i was starting out my DS journey just loading a database was half the pain...now you can play around online anywhere. Thank you for making this universal
1
u/RyanHamilton1 Sep 08 '23
Online I also find best. Hence I made an onine H2 database runner: https://www.timestored.com/time-series-data/h2-database-online/
4
u/henewie Sep 08 '23
any plans on BigQuery integrations? or am i a blind man :D
4
u/RyanHamilton1 Sep 08 '23
I specifically didn't add bigquery as I found it weird that the bigquery drivers are not made by google, they are made by simba: https://cloud.google.com/bigquery/docs/reference/odbc-jdbc-drivers It made me think JDBC must not be popular or work that well. Do you use bigquery with JDBC? Would you try it, if I added driver support?
3
0
1
u/afinethingindeedlisa Sep 08 '23
Looks cool - any chance of adding it to Homebrew? That's the only way I can install apps without getting admin perms from it at my job lol
2
1
u/sir_bok Sep 08 '23 edited Sep 08 '23
Wow, first time learning of the existence of kdb+ (and its query language Q, which is also what kdb+ is written in apparently @.@)
I don't like that you need to register to use qStudio, and that the license key only lasts a year. It is very fast though, while DBeaver is very slow.
4
u/RyanHamilton1 Sep 08 '23
I agreee that's a nuisance. You can see in the repo that we've open sourced a lot more within the last 2 weeks. We need to cleanup some more and then ideally we would have a full community build without the registration requirement. First we need to find enough users to justify that effort.
1
2
u/webfork2 Sep 09 '23
A few notes ...
There's a same-named "digital transformation agency" at qstudio.org that is definitely nothing to do with this project.
Most web searches come up with Qustodio, which is also nothing to do with this project.
This is a Java based SQL tool that you can save a lot of space by not downloading the JRE. That said, I'm glad they included the JRE just because it's less messing about with dependencies.
License is the open source Apache 2.0. https://github.com/timeseries/qstudio/blob/master/LICENSE
3
Sep 08 '23
So my sql is very limited to CRUD and pulling data to PHP and use this forum to learn and try not to comment and give the wrong advice..,
My front end knowledge is ok, and you need to adjust the viewport on your page in the meta section to fit all devices without a max scale as it doesn’t render on a cellular device. There’s a cool layout I wouldn’t want anyone to miss out!
Apart from that this looks like a widely adaptable and usable tool for many facets!
1
u/balablast Jan 21 '25
Hey I just saw this post. I am also inspired to help people with their experience in SQL, especially for non-technical users. I am curious what are some challenges that you have creating the product. Would love to chat with you more about this topic.
1
1
u/InlineSkateAdventure SQL Server 7.0 Sep 10 '23
Very nice app, I downloaded it. Working on a Timescale DB project right now.
Fellow MS alum, I would expect something this nice! Did you work at 750?
Were they still using Sybase? Was this a mainframe conversion?
1
1
13
u/Adorable_Compote4418 Sep 08 '23
I had a mental roller coaster while reading your post and looking at your software.
-At first I was negative and just asking but why?
-Then realizing it was free I had admiration for you
-Then I saw your had a new software, I was negative again thinking you made the old free as bait to bring peoples to your platform
-Then I saw it was free so I felt admiration again
-But finally, read that the « free » license is 1 year and god know what happen after.
My conclusion : please do not bullshit us. Either charge for your products or never do. Don’t bait us into using your products for free for a year or two then you will put pay wall or golden features. It tremendously suck and it’s fishy. Just to be clear, you should absolutely charge for your product if you believe it’s worth something to people. You worked hard and deserve to be paid for it. But please, be upfront.