Skip to content

Commit

Permalink
SQL notes
Browse files Browse the repository at this point in the history
  • Loading branch information
morten-andersen committed Mar 24, 2024
1 parent 55cd3fc commit 3d6134c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions programming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* [Java](./java)
* [Kotlin](./kotlin)
* [SQL](./sql)
* [JavaScript, TypeScript and Node.js](./javascript)
* [R Statistical Language](./rscript), which I used in my Master Thesis for generating a large number of graphs programmatically
* [Go notes](./go)
Expand Down
5 changes: 5 additions & 0 deletions programming/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
* 🔗 [GraalVM](https://www.graalvm.org/)
* 🔗 [TornadoVM](https://www.tornadovm.org/)

### Java Performance Tools

* [JMH - Java Microbenchmark Harness](https://github.com/openjdk/jmh) for microbenchmarking
* [jHiccup](https://www.azul.com/products/components/jhiccup/) for measuring JVM pauses due to GC

### Versions

* LTS version every 3 years.
Expand Down
3 changes: 2 additions & 1 deletion programming/sdkman/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

* [Software Development Kit Manager - SDKMAN](https://sdkman.io/)

#### CLI
#### CLI [Usage](https://sdkman.io/usage)

* `sdk`
* `sdk selfupdate` - update itself.
* `sdk update` - refresh list of software
* `sdk current` - list all currently enabled candidates and versions
* `sdk list <candidate>` - list versions for a candidate
* e.g. `sdk list java`
* `sdk use <candidate> <version>` - use a specific version in the current shell.
Expand Down
21 changes: 21 additions & 0 deletions programming/sql/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### SQL

#### General Resources

* [Vlad Mihalcea](https://vladmihalcea.com/) on all things Java Persistence (MySQL, PostgreSQL, Hibernate, etc.)
* [SQL Tutorials](https://vladmihalcea.com/tutorials/sql/)
* [TSID – Time-Sorted Unique Identifiers](https://vladmihalcea.com/uuid-database-primary-key/) much more efficient than using UUIDs
* [TSID Generator](https://github.com/vladmihalcea/hypersistence-tsid) a Java library for generating TSIDs
* [Audit logging using triggers With MySQL](https://vladmihalcea.com/mysql-audit-logging-triggers/) record all changes to a table in a "history"/"audit" table

#### MySQL

##### Table Partitioning

* [Table partitioning in MySQL 8: A Practical Guide](https://www.slingacademy.com/article/table-partitioning-in-mysql-8-a-practical-guide/)
* [Table partitioning with Spring and Hibernate](https://vladmihalcea.com/table-partitioning-spring-hibernate/)

#### Java / Kotlin / JDBC

* [HikaryCP](https://github.com/brettwooldridge/HikariCP) lightweight JDBC connection pool.
* [JetBrains Exposed](https://github.com/JetBrains/Exposed) ORM for Kotlin

0 comments on commit 3d6134c

Please sign in to comment.