Update Multiple Rows With Different Values and a Single SQL Query

No Comments

Sometimes you may need to update multiple rows of data in a table. This is no problem a lot of the time, as the fields to update may all need to be changed to the same value, in which case you might run a query like the following.

Link: http://www.karlrixon.co.uk/articles/sql/…

Clean up data with Google Refine

No Comments

Link: http://code.google.com/p/google-refine/

MySQL Manager Navicat gets better with v9

No Comments

Navicat™ is a fast, reliable and affordable Database Administration tool purpose-built for simplifying database management and reducing administration costs. Designed to meet the needs of database administrators, developers, and small and medium businesses, Navicat is built with an intuitive GUI which lets you create, organize, access and share information in a secure and easy way.

What’s new in v9:

  • Code/Word Completion
  • Code Folding
  • Matched Brace/Bracket Highlighting
  • SQL Beautifier
  • Favorites
  • Object Filter
  • New Backup Tool

Navicat has been my MySQL manager ever since being introduced to it by DonationCoder and I’ve never looked back.  Tried a few others, for testing, over the years but Navicat has always proved to be superior.

It’s not mentioned in the upgrade information but for me v9 seems to be faster when dealing with larger databases.

Compare Navicat for yourself with their free demo…

Link:  http://www.navicat.com/

SQL Server Cheat Sheet

No Comments


The SQL Server cheat sheet is a one-page A4 printable document, designed to provide a quick reference for SQL Server. A description of what is on the cheat sheet follows, or if you are impatient, you can go straight to the full size SQL Server cheat sheet.

Link:
http://www.addedbytes.com/…

10 sql tips to speed up your database

No Comments


On most websites, content is stored in a database and served to visitors upon request. Databases are very fast, but there’s lots of things that you can do to enhance its speed and make sure you won’t waste any server resources. In this article, I have compiled 10 very useful tips to optimize and speed up your website database.

Link:
http://www.catswhocode.com/blog/…

32 Tips To Speed Up Your MySQL Queries

No Comments

Some excellent tips

Link:
http://www.ajaxline.com/…

Top 20+ MySQL Best Practices

No Comments


Database operations often tend to be the main bottleneck for most web applications today. It’s not only the DBA’s (database administrators) that have to worry about these performance issues. We as programmers need to do our part by structuring tables properly, writing optimized queries and better code. Here are some MySQL optimization techniques for programmers.

Link:
http://net.tutsplus.com/tutorials/…

Will Oracle own MySQL?

No Comments


Oracle Corporation is to buy Sun Microsystems for $9.50 a share in a deal valued at approximately $7.4 billion, just a few weeks after a deal by IBM to buy Sun fell apart. It looks like Oracle will pay a premium of $2.81 a share, or 42%, over Sun Micro’s closing price of $6.69 a share on Friday.

Oracle said the deal is valued at $5.6 billion excluding cash and debt. Oracle is calling Sun’s Java “the most important software” it has ever acquired. The deal, which is expected to close in the Summer and was unanimously approved by Sun’s board of directors, has massive implications for the future openness of Java and MySQL.

What’s going to happen to MySQL?

Link:
http://www.techcrunch.com/2009/04/20/…

How FriendFeed uses MySQL to store schema-less data

No Comments


Making schema changes or adding indexes to a database with more than 10 – 20 million rows completely locks the database for hours at a time. Removing old indexes takes just as much time, and not removing them hurts performance because the database will continue to read and write to those unused blocks on every INSERT, pushing important blocks out of memory. There are complex operational procedures you can do to circumvent these problems (like setting up the new index on a slave, and then swapping the slave and the master), but those procedures are so error prone and heavyweight, they implicitly discouraged our adding features that would require schema/index changes. Since our databases are all heavily sharded, the relational features of MySQL like JOIN have never been useful to us, so we decided to look outside of the realm of RDBMS.

Link:
http://bret.appspot.com/entry/how-friendfeed-uses-mysql

Windows Live SkyDrive

No Comments


Password-protected online file storage. Always available where you need it.


Offers:

  • 5 GB of free online storage, available from any computer with Internet access.
  • Create personal, shared, and public folders — you decide who has access to each folder.

Personal

  • Use personal folders to back up important files that are only for you.
  • Get to your files from any computer with Internet access by signing in with your Windows Live ID.

Shared

  • Shared folders make it easy to collaborate with coworkers or classmates.
  • You decide how much control each person has over each shared folder. Some can just read what’s there: others can add and delete files.
  • Everyone who is sharing uses their own Windows Live ID.

Public

  • With public folders, anyone on the Internet can view your files, but they can’t change them.
  • Want to show your public files to others? Just send them a link! Each folder and file has its own web address.

Link:
http://skydrive.live.com/welcomemoreinfo.aspx

MySQL 5.1 coming with fixes and performance upgrade

No Comments


Among the advances in 5.1 are partitioning, events scheduling, row-based replication and disk-based clustering. They are fairly standard features already offered by rivals IBM, Oracle and Microsoft, but they should help MySQL compete in environments where performance and the ability to scale are critical.

“One thing we’re really most proud of is, frankly, we fixed a lot of outstanding bugs in 5.0,” Urlocker said. “So 5.1 has not only greater reliability, but a performance increase of 20 percent. It will be more in some cases and less in others, but there’s a significant performance boost and scalability enhancements.”


Link:
http://www.cio.com/article/333613/…

Manage SQL Server 2005 online with myLittleAdmin

No Comments


myLittleAdmin for SQL Server 2005 is the first web-based management tool specially designed for MS SQL Server 2005.

It lets you manage most objects of your databases and servers, including new objects such as snapshots, schemas, and credentials, etc. through a web browser. Faster than SQL Server Management Studio, its intuitive interface will seduce all users, from the DBAs to the webmasters, including the web-hosts.


Link:
http://www.mylittleadmin.com/en

Sun to Buy MySQL for $1 Billion

No Comments


Sun Microsystems Inc. has agreed to buy open-source software maker MySQL AB for $1 billion, beefing up the server maker’s database offerings with a company whose technology is used by some of the world’s biggest Web sites.

Link:
http://www.physorg.com/news119696227.html

Data Visualization and Infographics

No Comments

Some pretty amazing data visualization techniques:
http://…data-visualization-and-infographics/

Amazon enters Database ring with SimpleDB

No Comments


Amazon SimpleDB is a web service for running queries on structured data in real time. This service works in close conjunction with Amazon Simple Storage Service (Amazon S3) and Amazon Elastic Compute Cloud (Amazon EC2), collectively providing the ability to store, process and query data sets in the cloud. These services are designed to make web-scale computing easier and more cost-effective for developers.

Pricing:

  • $0.14 per Amazon SimpleDB Machine Hour consumed
  • $0.10 per GB – all data transfer in
  • $0.18 per GB – first 10 TB / month data transfer out
  • $0.16 per GB – next 40 TB / month data transfer out
  • $0.13 per GB – data transfer out / month over 50 TB

Link:
http://www.amazon.com/gp/browse.html?node=342335011

Older Entries