Better HN
topnewbestaskshowjobs
Log inSign up

james_anderson

35 karma · joined Mar 27, 2017 (9y ago) · 27 submissions

I'm a Product Manager / Data Engineer in the south of England.
Submissions

comment 1w ago · link · parent

Best thing ever built and it works!!!

comment 1y ago · link · parent

Working on a database compatibility tool. So your app works on SQL Server 2022 on-prem, but does it work on Azure SQL DB, AWS RDS, GCP CloudSQL, etc?

These cloud flavours have a compatible SQL dialect, but it's often details like missing features (CDC and Auditing on RDS are good examples) or differences in system objects that make it difficult to support your app on these platforms.

I capture all sql statements, run them through multiple SQL parsers to find all the system objects your app is using (tables, functions, stored procedures, etc). I then check them all against a catalog I have built of all system objects for every version of SQL Server on every platform.

I then give a report to see which platforms your app will work on, which ones it wont work on and which system objects are the problem.

Other database engines will be added once I get it working end to end (almost there).

comment 1y ago · link · parent

I really hope so

comment 2y ago · link · parent

Same. When I started running 5 years ago, I started with under 1km runs. Slowly built up to 5km runs over a 3 or so years. The hardest bit is getting out bed, once that habit is in the rest is easy.

I also found that not timing myself worked really well. Too many times I would finish a run feeling good, check my time and then feel bad that I didn't beat my pb. Stopped that and every run was positive.

5.

Ask HN: Can users update data in your app's DBs with SQL?

5 points · by james_anderson · 5y ago · 3 comments

comment 6y ago · link · parent

TLDR; A time traveller, named Besso, came back to push Einstein to formulate his theory General Relativity earlier than he would have done on his own. This accelerated the technological growth of humanity over the next two centuries to such a degree that they were ready for the alien invasion in the year 2122.

comment 6y ago · link · parent

This was my first thought. My guess is the team making the app are all about it's potential and fb are happy to give it a go because of the potential for improved data capture

comment 6y ago · link · parent

Reminds me of the castle in Gormenghast

9.

Dealing with Imposter Syndrome(medium.com ↗)

2 points · by james_anderson · 7y ago · discuss

comment 8y ago · link · parent

The controller in the top left is for the SNES (sorry). Really nice work though!

comment 9y ago · link · parent

Yeah, I like the idea of treating SQL Server like it's just a process and not the entire server.

Are you planning to do that in production?

comment 9y ago · link · parent

Haha, thanks for your answer Brent. I think you're right about VMs. SQL Server on docker in prod is kind of a thought experiment of mine at the moment.

I'd love to hear from anyone who is even just thinking of doing this.

> dynamically adding Always On Availability Group read-only replicas

Yeah I doubt scaling SQL Server out dynamically will ever make monetary sense, but it might be cool to just get it working.

I'm thinking of creating a Helm chart for K8s that allows you to dynamically scale the SQL Server pod up and down. I think I'll need to use some undocumented DBCC commands (or call the API) to freeze IO, so I can replicate the data files to the new secondary as it spins up.

Horizontally scaling SQL Server would be cool. Maybe if the hosts were licensed so we could run as many containers as we wanted, it could make sense...

13.

Ask HN: Would you run your production SQL Server on docker?

2 points · by james_anderson · 9y ago · 5 comments

comment 9y ago · link · parent

I really like AGs but I'm not sure I will love them on Linux. It still feels like it's early days for SQL Server's HA on Linux.

comment 9y ago · link · parent

That's a new reason, I like it. Books Online has got better over the years to be fair to it.

comment 9y ago · link · parent

I've been doing similar stuff with docker in my CI pipelines. So are you testing your app on Linux SQL Servers and then deploying to Windows SQL Servers? Should be OK...

comment 9y ago · link · parent

No, but I am predominantly a SQL Server DBA. I thought people might think that after I posted.

comment 9y ago · link · parent

Do those charges include the cost of Windows licenses?

comment 9y ago · link · parent

As good as Pacemaker is I don't really like the look of using it to achieve HA for SQL Server. Hopefully this will be better in 2018.

comment 9y ago · link · parent

That is a worry. I guess it could depend on the uptake of SQL Server on Linux though.

comment 9y ago · link · parent

Yeah, I agree. Each has the odd thing the other doesn't but it is hard to justify the cost of SQL Server over Postgres

comment 9y ago · link · parent

Cool, I've seen this mentioned as a potential reason, so it's good to hear of a real-world example

23.

Ask HN: Would you consider running SQL Server on Linux?

29 points · by james_anderson · 9y ago · 89 comments

24.

Docker Images for Custom SQL Server Installations(thedatabaseavenger.com ↗)

1 points · by james_anderson · 9y ago · discuss

25.

Orchestrating SQL Server with Kubernetes(thedatabaseavenger.com ↗)

1 points · by james_anderson · 9y ago · discuss

26.

SQL Server CTP 2.1 new env variables for docker(thedatabaseavenger.com ↗)

1 points · by james_anderson · 9y ago · discuss

27.

T-SQL Tuesday #90 – Shipping Database Changes – The Database Avenger(thedatabaseavenger.com ↗)

1 points · by james_anderson · 9y ago · discuss