Most software people are aware of the ACID
acronym coined by Jim Gray. With the growth of the web and open
source, the scaling and complexity constraints imposed on DBMS
implementations supporting ACID are more visible, and new (or at
least new terms for known) compromises and tradeoffs are being
discussed widely. The better known NoSQL
systems are giving insight by example into particular choices of
tradeoffs.
Working at MySQL, I have often been surprised at the variety of
potential alternatives when implementing a DBMS, and the number
of applications which don't need the full set of ACID letters in
the strictest form. The original MySQL storage engine, MyISAM
is one of the first and most successful examples of an 'ACID
remix'. The people …
Ages ago I created a Twitter account to get some free app. I figured some nobody was following me I didn't have to feel like a guilty spammer. For some odd obsession to honesty probably I did use my proper name and sooner or later people started following me despite me having only put out a single spam message. So on very few occasions I tried out tweeting (still feels weird using that word) since then, obviously I have never used it to get a free app again by spamming. Anyways I have now decided that for small blurps about technical stuff I will from now on use Twitter, thereby sparing my Facebook friends from such gibberish. In turn my developer friends on Facebook that do not care about what I have to say about Frisbee, DJing or politics can start removing me from Facebook. Actually I might just do this myself, because its FUCKING ANNOYING that so many people multi spam their status …
[Read more]Website health checks are a crucial service to an operations team. In addition to in-house monitoring and service state reporting it’s also important, even critical, to have an impartial third party to run checks to test your customer facing services. There are a lot of companies in this arean that would be glad to have [...]
The DDL code paths for Drizzle are increasingly different from MySQL. For example, the embedded_innodb StorageEngine CREATE TABLE code path is completely different than what it would have to be for MySQL. This is because of a number of reasons, the primary one being that Drizzle uses a protobuf message to describe the table format instead of several data structures and a FRM file.
We are pretty close to having the table protobuf message format being final (there’s a few bits left to clean up, but expect them done Real Soon Now (TM)). You can see the definition (which is pretty simple to follow) in drizzled/message/table.proto. Also check out my series of blog posts on the table message …
[Read more]It’s Ash Wednesday today (Feb 17th 2010) !! I learnt that Ash Wednesday derives its name from the practice of placing ashes as a Sign of the Cross on the…
The post Ash Wednesday:Repent, and believe the Gospel and MySQL first appeared on Change Is Inevitable.
Taking TOTD #121 forward, this blog explains how to create a JPA Persistence Unit for a MySQL sample database and package it as a library. This JAR file can then be easily included in other web applications.
Lets get started!
- Configure GlassFish for using the MySQL sample database (sakila) as described in TOTD #121.
- Add the GlassFish instance in NetBeans IDE using "Services" panel.
- Create JPA entities using NetBeans IDE.
- Create a Java class library:
Our ultimate goal is …
- Create a Java class library:
Taking TOTD #121 forward, this blog explains how to create a JPA Persistence Unit for a MySQL sample database and package it as a library. This JAR file can then be easily included in other web applications.
Lets get started!
- Configure GlassFish for using the MySQL sample database (sakila) as described in TOTD #121.
- Add the GlassFish instance in NetBeans IDE using "Services" panel.
- Create JPA entities using NetBeans IDE.
- Create a Java class library:
Our ultimate goal is …
- Create a Java class library:
Taking TOTD #121 forward, this blog explains how to create a JPA Persistence Unit for a MySQL sample database and package it as a library. This JAR file can then be easily included in other web applications.
Lets get started!
- Configure GlassFish for using the MySQL sample database (sakila) as described in TOTD #121.
- Add the GlassFish instance in NetBeans IDE using "Services" panel.
- Create JPA entities using NetBeans IDE.
- Create a Java class library:
Our ultimate goal is …
- Create a Java class library:
This blog clearly explains how to configure the MySQL sample database (sakila) with GlassFish. Even though the instructions use a specific database but should work for other databases (such as Oracle, JavaDB, PostgreSQL, and others) as well. The second half of the blog provide specific syntax for the Oracle sample database.
- Download sakila sample database and unzip the archive.
- Install the database as described here - basically load and run "sakila-schema.sql" and "sakila-data.sql" extracted from the archive.
- Create a new MySQL user account using MySQL CLI Admin and
assign the privileges
- …
This blog clearly explains how to configure the MySQL sample database (sakila) with GlassFish. Even though the instructions use a specific database but should work for other databases (such as Oracle, JavaDB, PostgreSQL, and others) as well. The second half of the blog provide specific syntax for the Oracle sample database.
- Download sakila sample database and unzip the archive.
- Install the database as described here - basically load and run "sakila-schema.sql" and "sakila-data.sql" extracted from the archive.
- Create a new MySQL user account using MySQL CLI Admin and
assign the privileges
- …