Showing entries 31576 to 31585 of 44822
« 10 Newer Entries | 10 Older Entries »
HP Oracle Database Machine

Here's the HP Oracle Database Machine talked about in Larry's keynote. On the way out, some audience members said they were drooling over it. I don't know if that's a good idea; didn't see anything about moisture resistance in the tech specs.I noticed that the box was about the same height as Larry. In the same way we talk about pizza boxes, 5U vs. 10U servers, etc., will we one day measure the

Bungee SQL Admin

While resorting emails, I found one from someone at Bungee Connect that I met at some conference a while ago. He asked me to take a look at something called "Bungee Connect SQL Admin"

It looks decent, but I don't know what it does that phpMyAdmin doesnt do, and I don't much care for having to trust some random other-hosted service with firewall access and passwords into my own databases.

But it is a SaaS, thus avoiding installation and upgrading costs.

Maybe it will be useful to someone.

Cleaner and Faster Code

Counting inventory should be pretty straightforward, but it doesn't have to be. In early versions of opentaps, it was handled by this block of minilang (an XML scripting language from the ofbiz framework) from the ofbiz product application:



<set from-field="parameters.productId" field="lookupFieldMap.productId"/>


<if-compare field-name="parameters.locationSeqId" operator="equals" value="nullField">
<set from-field="nullField" field="lookupFieldMap.locationSeqId"/>
</if-compare>

<if-compare field-name="parameters.useCache" operator="equals" value="true" type="Boolean">
<find-by-and entity-name="InventoryItem" map-name="lookupFieldMap" list-name="inventoryItems" use-iterator="true" use-cache="true"/>
<else>
<find-by-and entity-name="InventoryItem" …
[Read more]
Drizzling MySQL



Have you ever used subqueries with MySQL? It's an addition introduced in version 4.1, and since then neglected. The performance of subqueries in MySQL 4.1 and 5.x is really a sad story.
For example, using the Employees test database, you may try this query:
      select
title, from_date, to_date
from titles
where emp_no in
(select emp_no
from employees
where first_name = 'Mary'
and last_name = 'Sluis'
)

The result, in MySQL 5.1.28 is

+-------+------------+------------+
| title | from_date | to_date |
+-------+------------+------------+
| Staff | …
[Read more]
WebSynergy Community Build 5 Available!

Hot on the heels of SB2, WebSynergy continues its cadence of builds with the latest, Project WebSynergy Community Build 5 [download].

This build incorporates additional samples, a bridge between JSR 286 events and the built-in services (e.g. the activities service), WSRP improvements, jBPM workflow integration into …

[Read more]
MySQL: Replacing URL Escape Sequences

So you want to store URLs in MySQL, and the URLs have those annoying %20%27%7C%26%5E%2B%2D%25 symbols? And you want to be able to show your users some kind of human-readable information. You might want to consider using this trick. Take this list of commonly escaped characters as an example:

%20 - space
%27 - '
%7C - |
%26 - &
%5E - ^
%2B - +
%2D - -
%25 - %

So, how about we do some search’n’replace on that?

mysql> SET @url:='%20%27%7C%26%5E%2B%2D%25';
Query OK, 0 rows affected (0.00 sec)

mysql> SELECT @url as original,
    ->        REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
    ->        REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
    ->        @test,'%20',' '),
    ->        '%27','\''),
    ->        '%7C','|'),  -- REPLACE() is case sensitive
    ->        '%7c','|'),  -- so we have 
    ->        '%26','&'),
    ->        '%5E','^'),
    ->        '%5e','^'),  -- to …
[Read more]
Log Buffer #116: A Carnival of the Vanities for DBAs

Welcome to the 116th edition of Log Buffer, the weekly review of database blogs.

This was the week of Oracle Open World (OOW), Oracle’s gigantic annual get-together in San Francisco — always the heaviest week in Oracle blogs, so let’s start there.

For day-by-day coverage of OOW on the ground, I recommend Doug’s Oracle Blog: OOW Day 1, OOW Day 1.5, OOW Day 2, …

[Read more]
My long-promised Sphinx post (part 1)

I gave a webinar several weeks ago about Grazr's infrastructure, lessons we learned about scaling and over-building. One thing that I noticed a lot of interest in was how we used Sphinx to not only improve our search, but releive the database of FULLTEXT indices, which were a performance issue for us.

The purpose of these posts are to give you an idea of how Sphinx works, any limitations it has, and how you can use for both search functionality, as well as freeing your database from having to use FULLTEXT. I think Sphinx is a great project, and want to share info that can help promote its use.

There is a lot of information on Sphinx to share, so I'm going to make this a multiple post, in parts. I'm already working on a book, and Sphinx information could be a small book of its own!

Grazr overview, from FULLTEXT to Sphinx

Grazr is a company who derives it's searchable content from …

[Read more]
Oracle ACE: In Absentia

So… A few years back I spent a LOT of time with Oracle ETL and BI products. I learned them inside and out, gave some user conference presentations, wrote a bunch of blogs, even Alpha tested a version of Oracle Warehouse Builder. Then I found “Open Source BI” and I’ve been heading breakneck into the world of MySQL, Pentaho, … A choice I do NOT regret - my consultancy is busier than ever and I love the Open Source BI play.

However - I miss seeing some of the old Oracle peeps at Open World. This year, I even registered for my free ACE pass to OOW but didn’t make it because I started two new projects this week. What I realized this year, was that I’m WAY out of touch with what’s going on in the land of Big Red O. The words and products for BI whiz past me - they don’t even look anything like they did just a couple of years back.

I hope everyone had a good time at OOW this year! I don’t see a path back to the land of …

[Read more]
Thanks, Roland!

The sad news of the day is that Roland Bouman is leaving MySQL/Sun.

Roland has been a powerful component in MySQL community. Before joining the company, he was one of the most active bloggers and a frequent forum participant. Within the company, he has achieved several important goals, the most prominent of which is a book on MySQL Cluster, a …

[Read more]
Showing entries 31576 to 31585 of 44822
« 10 Newer Entries | 10 Older Entries »