The Source for Java Technology Collaboration
User: Password:



Dana Nourie's Blog

Dana Nourie Dana Nourie is a Sun Microsystems staff writer and editorial manager of the Java SE hub, the New to Java Programming Center, Java Technology Fundamentals, and Core Tech Tips. She also gives chats for developers in the Sun Developer Playground in Second Life.



Sun Writers Cover the 2008 JavaOne Conference

Posted by dnourie on April 29, 2008 at 02:19 PM | Permalink | Comments (0)

Sun writers have begun covering the 2008 JavaOne Conference. Get information on Java University, CommunityOne, the latest technologies, views on technical sessions and Birds-of-a-Feather (BOF) talks, and special interviews with attendees and evangelists.

2008 JavaOne Conference Blogs

Be sure to subscribe to the RSS feed so you can read all of the entries as they appear. Dana Nourie

An Introduction to BLOB Streaming for MySQL Project

Posted by dnourie on April 17, 2008 at 10:14 AM | Permalink | Comments (0)

Speaker, Paul McCullagh
Blobstreaming.org

This session explained why BLOB streaming may be relevant to your project, and how you can get started streaming BLOBs.

For ordinary types of data, MySQL sends the buffer from the client to the server. Streaming involves making a connection from the source to the destination continuously, storing and streaming simultaneously. But BLOBs are not ordinary data.

BLOBs were invented by Jim Starkey. A BLOB is backronym for Basic Large Object, or Binary Large Object, and is a collection of binary data stored as a single entity in a database management system. Blobs are typically images, audio, or other multimedia objects, though sometimes binary executable code is stored as a BLOB. Database support for BLOBs is not universal.

The problem of storing BLOBs in a database is multifaceted.  BLOBs create big rows in memory, and sequential scans are not possible. The database can become too big to handle, and then the database won't scale well. In addition, BLOBs slows down replication, and BLOB data must be written to the binary log.

So, why put BLOBs in the database? So that BLOB operations are transactional and have valid references, and so you have the data all in one place, which is good for testing, Small BLOBs are handled better by databases, and it's convenient to handle all your data the same way. Additionally, with BLOBs in a database, your backups are more consistent. Lastly, putting the BLOBs in a database makes replication possible.

To overcome these issues, the MySQL Project streams BLOB data directly in and out of the database.You can store Blobs of any size in the database, and create a scalable back-end that can handle any throughput and storage requirement. The object is to provide an open system that can be used by all engines.

The Scalable BLOB Streaming Project solves the above problems with a BLOB repository, so a collection of BLOBs are stored outisde of database rows, and the references are stored in the table. The advantages of this is that it allows for incremental backup, automatic defragmentation and compastion, and repository blob data that will not be written to the binary log and can be scaled out.

The goal of the Scalable BLOB Streaming Project for MySQL is to provide a scalable, stream-based, infrastructure for the storage and retrieval of pictures, films, MP3 files, and other binary and text objects (BLOBs) to and from the database.

The first step has been taken with the creation of the BLOB Streaming engine for MySQL, a storage engine that allows BLOB data to be uploaded and downloaded directly to and from a MySQL table, using the standard HTTP protocol. Read the rest of this blog

MySQL Conference Keynote & Workbench

Posted by dnourie on April 15, 2008 at 01:51 PM | Permalink | Comments (0)

I'm writing the blogs about the MySQL Conference at http://blogs.sun.com/mysqlconf/ because of some technical issues. This morning I added two blogs: The MySQL Workbench: http://blogs.sun.com/mysqlconf/entry/the_mysql_workbench and The World with Free Software: http://blogs.sun.com/mysqlconf/entry/the_world_with_free_software Dana Nourie

MySQL Conference

Posted by dnourie on April 14, 2008 at 08:23 PM | Permalink | Comments (0)

The MySQL Conference & Expo in Santa Clara, CA starts this week, and I am looking forward to the sessions. Today was tutorial day, but my day officially begins Tuesday morning and will go until Thursday.

I started using the MySQL database about nine years ago when I was creating web sites. Most web service providers used MySQL for their customers, and they still do. MySQL was popular then, and it's even more so now. Along with it's popularity, its list of features and robustness has grown over the years.

I was excited when I heard the announcement of the acquisition by Sun Microsystems. Immediately, I downloaded MySQL onto my system, and begin working with MySQL in the NetBeans IDE. It was an easy integration, and I am having a great time developing web apps that use this database.

This week I am looking forward to the many sessions I'll be attending. It was hard to choose sessions for certain times, as so many of them sound really good. I'll blog about as many of those sessions that I can, and share the juicy details with all of you who are unable to attend, or may be at the conference but in a different session.

Tomorrow morning are the keynotes, and then we are off to the technical goodies:

The Lost Art of the Self Join --- I'm looking forward to a refresher on on joins, and getting some nice concrete technical advice.

Best Practices for Database Administrators -- This sounds like it's going to be nice solid information.

Talk = Ruby + MySql.new(bie): An Introduction to Using MySQL with Ruby -- I'm most familiar with using Ruby with NetBeans, so it'll be interested to get the details and skinny on MySQL and Ruby.

If you'd like to see more information on the conference itself, check out their web site. MySQL Conference & Expo

~ Dana Nourie, Staff Writer, Sun Microsystems

SDN Chat: Meet the Writers of java.sun.com

Posted by dnourie on February 12, 2008 at 03:44 PM | Permalink | Comments (0)

SDN Chat: Meet the Writers of java.sun.com
Please join us in Sun's Developer Playground in Second Life on Thursday, February 14 at 10am PST to meet the writers of java.sun.com. SMI Press is offering attendees one of three new SMI Press books for free!

April 2008
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      


Search this blog:
  

Categories
Community
Community: Java Tools
Community: Java Web Services and XML
Community: NetBeans
Databases
J2EE
JavaOne
Archives

April 2008
February 2008
January 2008
December 2007
May 2006

Recent Entries

Sun Writers Cover the 2008 JavaOne Conference

An Introduction to BLOB Streaming for MySQL Project

MySQL Conference Keynote & Workbench



Powered by
Movable Type 3.01D


 Feed java.net RSS Feeds