Showing entries 39671 to 39680 of 44803
« 10 Newer Entries | 10 Older Entries »
Replication: Same Server, Rewrite database

MySQL support same-server replication into another database, Its quite a weired requirement, but in reality weired is common.

Consider a server 192.168.5.70, which has 2 databases db1 and db2
Now we shall set up replication for two tables on db1, ie. table1 and table2.

Here is the my.cnf

[mysqld]
server-id=1
#### Replication ####
report-host=master-is-slave-host
log-bin=192.168.5.70-binlog
relay-log=192.168.5.70-relaylog

replicate-same-server-id=1

binlog-do-db=db1

# Note.... On rewrite, the  command is changed into buffer
# so the replicate-do-db and replicate-do-table should have the
# re-written db name.
replicate-rewrite-db=db1->db2
replicate-do-table=db2.table1
replicate-do-table=db2.table2

read more

Working with InnoDB Tablespaces


Is it me, or is working with InnoDB tablespaces akin to working with Oracle 6.0?


For example, today somebody filled up a filesystem by unintentially loading a large amount of data. It was development, so this stuff happens. Since it was development, I setup the InnoDB tablespace to start with size 10M and autoextend to whatever free space was available. The one datafile kept autoextending until it completely filled the disk. The developer dropped the table and thought that would free up the space.


I knew that wouldn't be the case, so I had to dump all the data, recreate the tablespace, and reload all my data. Pretty standard DBA stuff so far.


"This time", I thought to myself, " I'm going to create a couple files each 10m and let them autoextend to 10240m so this doesn't happen again".


Speedbump #1: InnoDB …

[Read more]
MySQL Connector/Net 5.0.3 GA has been released

MySQL Connector/Net 5.0.3 GA has been released. MySQL Connector/Net is an all-managed ADO.Net provider for MySQL. This release is suitable for production use with MySQL versions 4 and higher.

It is now available in source and binary form from the Connector/Net download pages at [dev.mysql.com] and mirror sites (note that not all mirror sites may be up to date at this point of time - if you can't find this version on some mirror, please try again later or choose another download site.)

Changes since 5.0.2

Bugs fixed
Bug #23687 Deleting a connection to a disconnected server causes a failed assertion
Bug #24565 Inferring DbType fails when reusing commands and the first time the value is null
Bug #24661 mysql-connector-net-5.0.2-beta Driver.IsTooOld() Error....
Bug #23905 Stored procedure usages …

[Read more]
451 CAOS Links - 2007.01.04

IONA Technologies to Announce Fourth Quarter 2006 Earnings Results January 25, 2007, IONA Technologies (Press Release)

Fonality Releases trixbox 2.0: Leading Asterisk-Based Application Platform for Businesses and Integrators, Fonality (Press Release)

Building a Sustainable Open Source Business, Enterprise Open Source Magazine, Amit Pandey (Article)

Top four reasons Windows wins and Linux loses, DesktopLinux.com, Steven J. Vaughan-Nichols (Article)

MySQL changes license to avoid GPLv3, Computer …

[Read more]
MAYFLOWER sucht die Top PHP Coder

Mit MAYFLOWER unterwegs zu neuen Ufern PHP/JavaScript Entwickler

 

Einsatzort:

München oder Würzburg
Deutschland

Angebot von:

ThinkPHP / Mayflower GmbH

Das Unternehmen:

Wir sind ein auf Web Application Development spezialisiertes Softwarehaus. Wir bieten mit der Enterprise-Portal-Suite Chairman, der GPL-Groupware PHProjekt und dem Webanwendungsscanner Chorizo Produkte an sowie die Entwicklung von Inter- und Intranetlösungen.

Mit der Marke ThinkPHP hat sich Mayflower als Premiumdienstleister im Bereich der webbasierten Anwendungen etabliert und ist in der OpenSource-Community aktiv mit Vorträgen, Artikeln und auf Messen involviert.

Stellenbeschreibung:

Wir bieten aktive Mitarbeit in der Entwicklung von unseren Produkten und großen Projekten. Sie entwickeln bei uns im Team in München, Würzburg oder vor Ort beim Kunden und arbeiten …

[Read more]
Falcon, the new MySQL Storage Engine

While taking a quick look at the newly released docs for Falcon, the new storage engine for the MySQL database from MySQL AB (and this is important, as actually InnoDB and the now ditched BDB storage engines for MySQL database are from Oracle) I noticed two "strange" things, at least to someone thinking of large databases running on dedicated hardware.
First of all the data storage, chapter 14.6.5.1. Falcon data file and data structures reads:

A single Falcon database file stores all record data, indexes, database structure and other information. ...

This doesn't sound like a good idea for me as it's better to keep indexes and data separated on different disks and something like Oracle's implementation of tablespaces and the ability to assign indexes and data to different tablespaces hosted on …

[Read more]
2006 Highlights

For the fourth consecutive year, I'm going to try to record my personal highlights from the previous year.

To get things started, here are a few memories from 2006 off the top of my head:

[Read more]
Manifestation type

You may or may not have heard of it, SQLite has them, but what is a manifestation type (I'll call them mtypes from now on)?

You can think of an mtype as a untyped variable with a twist. That is you can assign anything you want to it without having to first declare its type OR size. But first lets look at a typed variable example using the C programming language. In C if you want to store a string you will need to declare a fixed char array or create a char pointer to some malloc'd memory cast as char:

// fixed length array
char str[28];

or

// malloc'd fixed length array
char *str;
str = (char)malloc(sizeof(char)*28);

You need to know ahead of time how much space you will need to store a string. If your string was longer than 28 characters you would lose everything after character 28, safely off course by being sure not to write more than 28 bytes ;) …

[Read more]
MySQL kind of sort of (not really) changes its license model

Matthew Aslett is reporting on MySQL's mostly unnoticed licensing change. As he notes, it's not really a change, so much as putting a stake in the ground to keep MySQL on GPLv2 for the future. As Kaj (VP of Community for MySQL) notes on his blog:

MySQL has today refined its licensing scheme from “GPLv2 or later” to “GPLv2 only“, in order to make it an option, not an obligation for the company to move to GPLv3.

Specifically, this means that copyright notice in the MySQL source code files will change from referring to “either version 2 of the License, or (at your option) any later version” to “version 2” only, in the MySQL 5.0 and MySQL 5.1 code bases.

This is not a once-and-for-all decision, but rather gives MySQL breathing room to wait …

[Read more]
MySQL and Falcon

One of the unique elements of MySQL is the ability to use a different storage engine to store your data. You can even mix and match storage engines within the same database.

read more

Showing entries 39671 to 39680 of 44803
« 10 Newer Entries | 10 Older Entries »