» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with database + technology

Performance Tuning Best Practices for MySQL

In this lecture Mr. Pipes talks about core concepts of profiling and benchmarking, about the most common sources of performance problems, about indexing, schema, coding guidelines, and a little about server parameter tuning.

technology: dzone.com: tech links

SQL Teaser: Where Clause Gone Wild

Try to guess what this WHERE clause is supposed to do.

technology: dzone.com: tech links

nHibernate performance against stored procedures

A 5 part blogpost about the performance of a select statement done with ADO.Net using inline sql, and stored procedures (even some dynamic sql) and then nHibernate to get the same results. But this one has an alternate ending.

technology: dzone.com: tech links

Drizzle: A Lean Fork of MySQL is Generating Buzz

Have you heard of Drizzle? As detailed here, it's a lightweight, open source SQL database for the cloud and the web, being designed for massive concurrency on multi-CPU/core architecture. If that sounds a lot like MySQL, it should. Drizzle's code is derived from MySQL--basically a fork of the MySQL 6.0 source code.

technology: dzone.com: tech links

Apache, PHP, PostgreSQL: All-in-one installer

If you are looking for an alternative for the traditional combination of Apache, PHP and MySQL, then this might be an option. The BitNami folks offer an all-in-one installer for Apache, PHP, PostgreSQL and the phpPgAdmin tool for Windows, Linux and OS X.

technology: dzone.com: tech links

Drizzle - What If There Was A MySQL Version Optimized For The Web

For the last 2-3 years, Brian Aker and I have had many discussions about how to refactor MySQL. Brian has been the one driving these discussions by asking why some things in MySQL were done in a certain way and in a true "what if" manner asked what would happen if we would do things in another way.

technology: dzone.com: tech links

New universal SQLite JDBC library.

Both Talend (Java) and Kettle distribute the Zentus.com pure-Java SQLite JDBC driver and for most purposes this run-anywhere version is fine. But, if you really need to take advantage of SQLite’s speed then connecting using the native JNI version is a must. Doing this was easy enough, just change over to using a generic JDBC connection specifying the required native jar and placing the associated dll/so on your system path.

technology: dzone.com: tech links

What's Drizzle?

Today Brian Aker announced a fork of MySQL, called "Drizzle". Drizzle is a slimmed-down MySQL, in a lot of ways what MySQL should have been before MySQL AB became more concerned about their deal with SAP than their core user base.

technology: dzone.com: tech links

Setting up an annotation driven Spring Framework and JPA project

I struggled setting up a project with Spring 2.5 and JPA (Hibernate3.2) and keeping it all annotation driven. Most of the examples were not related to my setup and the configuration is starting to get complex. So, here is mine, I hope it helps you.

technology: dzone.com: tech links

New SQL Injection Attack hits hard with hidden payload

A new SQL injection hack seems to be out in the wild from verynx.cn. The SQL Injection hack uses a CHAR array to hide its payload which will insert some various html garbage along with a reference to a javascript file on the verynx.cn domain that will infect users when they visit your website. Luckily the domain with the offending javascript file now points to 127.0.0.1 which will help stop the spread of the virus. Unfortunately the botnet still seems to be spamming websites with the scripted attack leaving many entirely broken or loading extremely slow as each page might have hundreds of requests to the payload.

technology: dzone.com: tech links

use YML for storing data in db

Sometimes you may need to store complicated data with non-fixed fields/data types in table. There are different ways for that but if we use symfony where YML is so native and good known - why dont store data in table as YML-formed value.

technology: dzone.com: tech links

New SQL Injection Attack hits with hidden payload

A new SQL injection hack seems to be out in the wild from verynx.cn. The SQL Injection hack uses a CHAR array to hide its payload which will insert some various html garbage along with a reference to a javascript file on the verynx.cn domain that will infect users when they visit your website. Luckily the domain with the offending javascript file now points to 127.0.0.1 which will help stop the spread of the virus. Unfortunately the botnet still seems to be spamming websites with the scripted attack leaving many entirely broken or loading extremely slow as each page might have hundreds of requests to the payload.

technology: dzone.com: tech links

Monty Says - It's A Bugs Life - MySQL 5.1

This is a request to all MySQL users to help mysql developers, by providing information, so that we can help you, by providing a more stable MySQL server for your needs.

technology: dzone.com: tech links

OSCON Evening 1 Begins, and More Portland Tips

The evening plans didn’t wait for talks to be done. The IRC channel (#oscon on irc.freenode.net) was alive with talk of prospects for dinner and drinks after the conference. I myself was torn between a group going out for Lebanese and another going to Henry’s, but opted to go with my buddies from home to Henry’s.

It was worth it. If you haven’t been, Henry’s Tavern boasts 100 beers and hard ciders on tap (oddly, the beer list is the only menu *not* online - guess it changes too frequently). There are a ton of local beers that you can’t even get on the east coast just waiting for you to try, but there are also some rare treats, like the Belgian Lambic beers, which you don’t often see on tap. The food is a little pricey, but is really good, and the staff is very friendly. IMG_4491.JPGA couple of us were in a rush to get back by 7 for the BoF sessions, and when we asked the waittress how easy it was to catch a cab, she immediately informed us that she would have the hostess call one for us. About 2 minutes later we were in a cab on our way back (we wouldn’t have made it back in time if we had to walk back to catch the light rail).

I was not one of those rushing to a BoF, so I did a little poking around the area near the convention center. It was getting dark, and I didn’t want to stray too far, but I did find a couple of points of interest. First, there’s a bank right across the street from the convention center. I’d be willing to bet that the ATM there is less than the $3 the ATM inside the center charges.
IMG_4501.JPG
Beyond that is a paintball place. It was closed by the time I found it, and I don’t know if they run every day, or anything else, but interested parties might find it open during the lunch breaks or something if you wanted to check it out. The paintball place is located behind a building that is directly across the street from the conv. center. If you see the bank, it’s on the other side of the side street the bank sits on.

Tonight appears to be low-key from what I can tell. There’s currently no chatter on irc, the hotel bar had a few people chatting, and I might go down to catch the rush of people as they return from dinner and BoF sessions. Stay tuned tomorrow for more!

addthis_url = 'http%3A%2F%2Fwww.protocolostomy.com%2F2008%2F07%2F21%2Foscon-evening-1-begins-and-more-portland-tips%2F'; addthis_title = 'OSCON+Evening+1+Begins%2C+and+More+Portland+Tips'; addthis_pub = 'jonesy';

MySQL: Planet MySQL

OSCON Day 1 Comes to a Close

I think I have pictures of most of the basic parts of the conference at my OSCON Flickr set, and I thoroughly enjoyed day 1 of the conference. Of course, while *day* 1 is over, *night* 1 has yet to even begin. There are lots of BoF sessions, and maybe even more smaller meetups going on, as smaller groups take to discussing things over dinner and a beer or three.

I have to say, that I occasionally pop into irc channels for conferences I’m not even at and follow up on that because I’m involved a bit in conference planning as part of my work with Python Magazine (I’m helping to organize the PyWorks conference in November). This conference seems to have a pretty happy audience, if IRC chatter is any indication (and it usually is). Sure, there are a couple of weak spots in the wireless network, there are some fuzzy projectors, and there was a little confusion regarding breakfast this morning, but the important bits have been well-covered by the OSCON organizers and the “boots on the ground” here on site. Kudos to them all.

This afternoon I hopped to a couple of different talks: one on Memcached and MySQL, and the other on A/B testing. Both contained good content. Of course, I’m a systems guy primarily, so I sort of wanted more of an overview of memcached from the point of view of an admin who is deploying it rather than a developer implementing their code around it. I still got plenty of value out of that talk, and this *is* really more of an open source *developer’s* conference, so the expectations of 99% of the people in the room were met, I’m sure.

A/B testing is just not an exciting topic, and I would imagine that peoples’ bosses made them go to that talk whether they liked it or not. Not to say the talk wasn’t good - the parts I saw (I came in after the break) were good, and I learned from it, and that was the goal. If you’re a QA/QC person, I’m sure the talk was riveting, and there were a lot of good ideas and things I’d never considered flying by in the slides.

Overall, Day 1 is a win. I’ll cover more about this evening’s events in the pre-breakfast hours tomorrow. Stay tuned!

addthis_url = 'http%3A%2F%2Fwww.protocolostomy.com%2F2008%2F07%2F21%2Foscon-day-1-comes-to-a-close%2F'; addthis_title = 'OSCON+Day+1+Comes+to+a+Close'; addthis_pub = 'jonesy';

MySQL: Planet MySQL

MySQL Prompt Bar Charts

You can generate simple bar charts directly from a MySQL prompt. Here is an example.

technology: dzone.com: tech links

Should you ever use MySQL, given that Postgres is superior in most ways?

The Network World blog A World of Bytes asks whether, given that the Postgres family of database management systems are more robust and feature-rich than MySQL, there's ever any reason to use MySQL instead. The answer boils down to "Using MySQL isn't always a disaster, but Postgres is commonly the better choice."

technology: dzone.com: tech links

MySQL 5.1 is to reach GA state - all to arms !

MySQL 5.1 was in RC stage for around 10 months now finally planned to be released as GA soon. As Monty Says MySQL 5.1.26 will be renamed as GA if no serious bugs are discovered.

technology: dzone.com: tech links

History Tables

This week in the Database Programmer Blog we return to table design patterns with an essay on history tables. The basic premise of this blog is that good coding skills do not lead magically to good database skills -- you can only make optimal use of a database by understanding it on its own terms. There is a new essay each Monday, and there is a Complete Table of Contents and a List of Table Design Patterns.

technology: dzone.com: tech links

True Temporal Based RDBMS engines

When I teach, I frequently discuss temporal based data sets - after all, that's a big piece of what data warehousing and BI is about - Data Over Time. But when examining the database engines ability to "retrieve" specific data sets as a snapshot in time, it seems there is a problem. There appears to be no "consistent" manner in which to retrieve these layers for use by the business.

technology: dzone.com: tech links

SQL Injection Part II (Make Sure You Are Sitting Down)

Back in February I wrote a blog post on SQL Injection that included an example of how a malicious user might inject into a character field even though ColdFusion escapes single quote marks. The attack involved other forms of escaping single quotes - and was effective against MySQL. This week I stumbled upon (more like a train wreck) an attack that is much more sophisticated - and also involves injection into a character field. I am told.....

technology: dzone.com: tech links

db4o Performance Contest

db4objects offers USD 6000 in prizes for the best patch submissions to make the object database engine "db4o" faster.

technology: dzone.com: tech links

Thoughts on the latest release candidate for MySQL 5.1

Now that MySQL has decided to ready the final Release Candidate (RC) for version 5.1 instead of moving forward with a General Availability (GA) release and Michael Widenius has extended an bug filing call to its user community.

technology: dzone.com: tech links

Groovy with SQLite

SQLite is a very interesting database engine. Its performance, simplicity and that fact it runs as a library (not a server) make it the perfect candidate for small project with few users. Today I experimented with accessing SQLite database from within groovy.

technology: dzone.com: tech links

Database Scalability

Database is typically the last piece of the puzzle of the scalability problem. There are some common techniques to scale the DB tier.

technology: dzone.com: tech links

How to do AVG and SUM in Google App Engine Data Store

People who are used to relational databases, which is pretty much every gosh-darned web developer out there, will run into pretty much the same obstacles with the app engine datastore - one of them is How the heck do I do SUM or AVG?. This a guide how to do it.

technology: dzone.com: tech links

Switchable Grails DataSource

My latest blog post shares a technique I've used to create a Grails application with a dynamic, runtime switchable datasource.

technology: dzone.com: tech links

iBATIS, Hibernate, and JPA: Which is right for you?

Don't let the old object-relational impedance mismatch get the best of you or your data. Compare ORM tools Hibernate and iBATIS and the Java Persistence API itself, and find out how each one makes it easier to access your RDBMS using Java code.

technology: dzone.com: tech links

JPA Informational Videos

Parleys.com has posted some excellent videos for anyone wanting more info on the Java Persistence Framework. The videos are geared for people who have at least had some exposure to JPA programming. Also, the videos use some persistence annotations (e.g. @PersistenceContext) so it's helpful if you've already seen those before and are at least familiar with the concept of session beans.

technology: dzone.com: tech links

How to Pad a String With a Specific Set of Characters in Oracle PL/SQL

This article shows how to use the LPAD/RPAD functions to pad the left-side or right-side of a string with a specific set of characters in the Oracle PL/SQL.

technology: dzone.com: tech links

Coding Horror: Maybe Normalizing Isn't Normal

One of the items we're struggling with now on Stack Overflow is how to maintain near-instantaneous performance levels in a relational database as the amount of data increases. More specifically, how to scale our tagging system. Traditional database design principles tell you that well-designed databases are always normalized, but I'm not so sure.

technology: dzone.com: tech links

BigTable and Why it Changes Everything

For the last couple of weeks I’ve been playing with Google App Engine. In case you’ve been living in a cave for the last month; App Engine is a mostly complete, sandboxed, Python 2.5 environment with a WSGI web server and a very interesting Datastore API.

technology: dzone.com: tech links

Full-Text Search on SQLite

Although some people may be aware that SQLite supports Full-Text Search (FTS) I would guess that not many have much experience with getting it setup and using it. I only base this information on the fact that the documentation on the SQLite site as well as what I could find on the Googles has been pretty slim. As a result I thought it might would to provide a walkthrough on getting SQLite FTS setup and working. That said I must preface this by saying that the instructions here apply specifically to Mac OS X.

technology: dzone.com: tech links

A close look at three Rails 2.1 bugs

Rails 2.1 introduces three annoying bugs. Let's fix them.

technology: dzone.com: tech links

MySQL 5.1.26 RC - FEDERATED Storage Engine Now Disabled By Default

MySQL 5.1.26-RC has been released today and is slated to be the last release candidate before we declare MySQL 5.1 as "production ready" (GA). We therefore appreciate any feedback and community testing of this release, to ensure that we have ironed out any remaining critical issues.

technology: dzone.com: tech links

Page 1 | Next >>