ybdemo
Lab environment for YugabyteDB demos (by FranckPachot)
Knex
A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use. (by knex)
Our great sponsors
ybdemo | Knex | |
---|---|---|
17 | 95 | |
15 | 18,741 | |
- | 1.1% | |
6.6 | 7.9 | |
4 months ago | 3 days ago | |
Shell | JavaScript | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ybdemo
Posts with mentions or reviews of ybdemo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-07.
-
B-Tree vs. LSM-Tree: measuring the write amplification on Oracle Database and YugabyteDB
As I did with Oracle, I can run a single insert and look at the statistics from explain analyze and my ybwr:
-
In-Memory counters with YugabyteDB
I've also updated my YugabyteDB Lab with Grafana for this scenario, running:
-
Scalable Job Queue in SQL (YugabyteDB)
I check, with my ybwr.sql script, that reading one row from the job_fanout view reads from one table only:
-
Flashback query in YugabyteDB
Here is a quick test using my ybwr on this demo table which has 3 tablets across 3 nodes.
-
Gitpod with YugabyteDB image
If you want to play with a multi-node, as you need multiple network interfaces, it is better not to use this image but start YugabyteDB nodes in docker, as I do in my ybdemo:
-
EXPLAIN from pg_stat_statements normalized queries: how to always get the generic plan in 🐘&🚀
@franckpachot
-
find the partition key with a local read in 🚀 YugabyteDB geo-partitioned tables
I've used this docker-compose
-
PITR snapshot: an easy flashback / backtrack for application releases
I'm starting a RF=3 cluster on my laptop using my ybdemo/docker/yb-lab/ and I set two aliases, ysqlsh, for SQL commands, and yb-admin, for snapshot commands:
-
Nested Loop performance in YugabyteDB
I also load my ybwr.sql to show the number of rocksdb seek() and next() in the tservers:
-
"I want to try it" 🚀 YugabyteDB at KubeCon
Now that you know how to scale out, just with the --join option of yugabyted, you can build your docker-compose file. For example, to replace PostgreSQL in a Docker Compose used for tests, I use the same variables as the PostgreSQL image - example here. And yugabyted is convenient for quick start, but you can have more control by starting all components like I do when I demo high availability and elasticity: https://github.com/FranckPachot/ybdemo/tree/main/docker/yb-lab
Knex
Posts with mentions or reviews of Knex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-09.
-
JavaScript Libraries for Implementing Trendy Technologies in Web Apps in 2024
Knex.js
-
Create a Blog web app using Adonis.js 6
AdonisJS core team has created/maintains Lucid. It is a SQL query builder, and an Active Record ORM built on top of Knex.
-
Type-safe Data Access in Go using Prisma and sqlc
Now, why not use an ORM? I've seen performance issues too many times with ORMs. I prefer writing my own SQL to avoid surprises. After all, I know the database schema and writing code for a specific purpose very often leads to better performance than generic code. ORMs have to support all kinds of database schemas. I only have to support mine. Having successfully used Knex.js in NodeJS (a popular query builder) in the past, I know writing SQL queries myself is not hard and provides very good performance.
-
Can I create another WordPress that satisfies humanity?
Given the dynamic nature of the schema, we employ Knex, a query builder, for database access.
-
What's wrong with Node.js ORMs? Thousands of issues? Why?
https://www.npmjs.com/package/knex - 779 issues
- Knex 3.0
-
Plankaban Raspberry Pi 4 Setup Help
# related: https://github.com/knex/knex/issues/2354
-
Credentials Leak with Knex
This article will be focused on a security issue that I found in Knex and how to mitigate it, but I'll also talk briefly about the social aspects of this problem.
- [Node] Knex.js: comment correctement chaîner et utiliser .First () pour interroger?
-
Why SQL is right for Infrastructure Management
SQL is an old, irregular language to work with, but it is better known than HCL and SQL already has it's own Pulumi/CDK in the form of every ORM with introspection (like Javascript's Prisma, Python's Django, Go's XO etc) and QueryBuilder (LINQ, Knex, etc) in whatever programming language you prefer. You probably already know it.