Showing entries 33586 to 33595 of 45949
« 10 Newer Entries | 10 Older Entries »
Logging your MySQL command line client sessions

Baron recently wrote about very helpful but often forgotten about “Pager” feature of command line client. There is another one which falls into the same list - the –tee option.

Specifying –tee=/path/to/file.log you can get all session content (everything typed in and printed out) stored in the log file. Quite handy for example to keep track of changes done on production.

Moreover you can put tee=/logs/mysql.log in “mysql” section in my.cnf to have logging enabled automatically when you start the client.

If you’re looking to log session beyond MySQL command line client you can check out “script” tool.

Entry posted by peter | …

[Read more]
Velocity Presentation Slides Published

I’ve now published slides from my talk at Velocity conference on Percona web site. Enjoy.

Entry posted by peter | No comment

Add to: | …

[Read more]
Stormy moves to GNOME Foundation

Via Luis Vila's blog: Stormy Peters has taken a new role at the GNOME foundation. With Stormy gone, who will convince Rod & SpringSource to join the newly announced OpenLogic's Partner Program? ;-) Best wishes to Stormy in her new role. PS: I should state: "The postings on this site are my own and don?t necessarily represent IBM?s positions, strategies or opinions."... READ MORE

MySQL command line pager & mysmartpager

Few days back, Baron re-introduced MySQL's command line pager command and described some cool tricks with maatkit's mk-visual-explain (one of my favorite tools). Soon after reading it, I wished if it was possible to describe regex based (on query) paging.

I have written a small hack, christened mysmartpager, that can actually do regex based paging for you.

The idea is simple, write a relay that will redirect the output based on to the desired pager. The problem was complex, there was no direct way of getting to know the original query. There are a couple of indirect ways of doing so, but of course with hurdles:

  • Run mysql client with --xml option: This will print the output of each command in xml and the command itself is included in the xml. The downside was not many pagers (including …
[Read more]
OpenLogic evolves their business model

OpenLogic announced an evolution to their "aggregated open source support" model today. According to the press release: "OpenLogic provides front line enterprise-grade support across the 400 open source packages in its certified library. In 2006, OpenLogic created its Expert Community to provide additional backstop support ? paying lead open source developers for support. Now, with this new partnership program, commercial partners will provide backstop support for their projects and OpenLogic will resell its partners? enterprise support offerings." OpenLogic's CEO Steve Grandchamp is quoted: "This is the next phase of our open source aggregation model where we partner with leading open... READ MORE

MySQL Percentile aftermath: Calculating all quantiles

Are you getting fed up yet with my posts on calculating percentiles? Well, I'm sorry but I'm not quite finished.

Here's a simple, fast method to calculate the specified number of quantiles:


-- set the number of quantiles, for exmple:
-- quartiles: 4
-- deciles: 10
-- percentiles: 100

SET @quantiles:=4; -- select quartiles

-- calculate all quantiles
--
--
SELECT amount AS metric
, @n DIV (@c DIV @quantiles) AS quantile
, @n AS N
FROM sakila.payment
CROSS JOIN (
SELECT @n:=0 -- rownumber
, @c:=COUNT(*) …
[Read more]
Krugle might be on to something

News of the Krugle Enterprise appliance product announcement making it to the "Top Stories" list on InfoWorld left me scratching my head. Like many of you, I knew Krugle to be a search engine for code snippets from open source projects. As it turns out, what I had previously thought was "Krugle" is really "Krugle Public". "Krugle Enterprise" is a commercial offering targeted at enterprises. (Who knew??) While Krugle Public is largely targeted at finding code snippets, Krugle Enterprise does this and focuses on defect management and component development across projects, teams and developers. The Krugle Co. website states: "Turn... READ MORE

NetBeans 6.5 M1: GlassFish v3 + Rails


NetBeans IDE 6.5 Milestone 1 is now available. The New and Noteworthy feature list certainly makes it worthy for the install - comprehensive PHP support (Editor Screencast and PHP Learning Trail), JavaScript Debugger, Groovy Editor, …

[Read more]
Proxy webinar and poll

While I realize that part 2 to the Lucene stuff is still forthcoming… (err..sorry?!), there are some interesting things going on:

  1. Giuseppe, John Loehrer and Jimmy Guerrero will host the webinar Designing Scalable Architectures with MySQL Proxy today. Jan and myself will also attend.

    So, if you are thinking about using the proxy or are simply interested in what people do with it, strongly consider attending this one.

  2. There’s a quickpoll up on the MySQL website where we’d …

[Read more]
Shaping the future of MySQL Proxy

Here is a chance for all users to influence the future development of MySQL Proxy.
If you care about Proxy, you may want to check the current quickpoll in the Dev Zone, and vote for your favorite features.
The developers have a truckload of ideas, of course, but only a finite amount of time. So they can't develop all the features at once. They must start somewhere, and your vote can help them decide which ones should get higher priority.


In the meantime, don't forget the incoming webinar on Designing Scalable Architectures with MySQL …

[Read more]
Showing entries 33586 to 33595 of 45949
« 10 Newer Entries | 10 Older Entries »