Where to go, Campers

Instructions for campers

Where to go for the MySQL Camp II at the Polytechnic University.

Head to Dibner Auditorium, which is at 5 Metro Tech Center. It is directly behind the big red sculpture of cylinders (Jay's exact words) and there is a big red triangle at the door. You can zoom in on included Google map view to even see the triangle.


View Larger Map

See http://www.poly.edu/directions/ for more general directions.

Breakfast is at 8:45am and we plan to make a start of proceedings at 9:30am.

Update on 23rd 08:00: If you have questions, try us at 'phone number +1 646-259-3241. We'll hang out on IRC in FreeNode #mysql-camp during the day. -cm

Welcome to the MySQL Camp Website

MySQL Camp II will be held August 23-24, in Brooklyn, New York, at Polytechnic University. There is a hard limit of 200 participants this time, so be sure to register early to claim your spot. We will begin around 9am on Thursday and finish at 6pm on the Friday.

To register, email jay at mysql dot com the following information (needed for your security badge at the event):

  • Name
  • Company or Affiliation (if applicable)
  • Location (City/State/Country/Province/Whatever...)
  • Email Address

are you drink too much

are you drink too much water
A person loses his body in the course of an average day is a mild climate, about 2.5 liters of water. This can be done by the lungs as water vapor through the skin, such as welding, or by the kidneys in the urine. On the water is lost through the guts. For hot or too wet or during the serious efforts, however, the loss of water can increase an order of magnitude or more by welding - all who need to be replaced quickly. In extreme cases, the losses strong enough to more than the ability of the body to absorb the water in the gastrointestinal tract, in these cases, it is not possible to drink enough water, humidity, and the only Like to avoid dehydration, is the reduction in transpiration.

rockstar energy drink review
The shops in the vicinity, shops and bars continue to sell energy drinks, primarily as a stimulus points. Although grocery stores warehouse in small quantities, these drinks will Grocery. Grocery store, but can successfully sell unique beverage cooler on the front of the store.

Just as the beginning of 1990 microbrew lust, dozens of energy-drink companies are in the race for market share. Fewer than 10 are able to survive.

In view of the players already have systems for sales, such as Anheuser-Busch Co., PepsiCo, Coca-Cola Co. And Hansen Natural Corp., which all energy drinks.

Drink of the customers are young adults between 18 and 30 years.

Beverage companies will begin marketing the beverage impressionable easily during puberty, between 13 and 17 years of age who spend the money to questions of convenience.

drinking

drink too much water
A person loses his body in the course of an average day is a mild climate, about 2.5 liters of water. This can be done by the lungs as water vapor through the skin, such as welding, or by the kidneys in the urine. On the water is lost through the guts. For hot or too wet or during the serious efforts, however, the loss of water can increase an order of magnitude or more by welding - all who need to be replaced quickly. In extreme cases, the losses strong enough to more than the ability of the body to absorb the water in the gastrointestinal tract, in these cases, it is not possible to drink enough water, humidity, and the only Like to avoid dehydration, is the reduction in transpiration.

energy drink review
The shops in the vicinity, shops and bars continue to sell energy drinks, primarily as a stimulus points. Although grocery stores warehouse in small quantities, these drinks will Grocery. Grocery store, but can successfully sell unique beverage cooler on the front of the store.

Just as the beginning of 1990 microbrew lust, dozens of energy-drink companies are in the race for market share. Fewer than 10 are able to survive.

In view of the players already have systems for sales, such as Anheuser-Busch Co., PepsiCo, Coca-Cola Co. And Hansen Natural Corp., which all energy drinks.

Drink of the customers are young adults between 18 and 30 years.

Beverage companies will begin marketing the beverage impressionable easily during puberty, between 13 and 17 years of age who spend the money to questions of convenience.

rockstar energy drinking

drink too much
A person loses his body in the course of an average day is a mild climate, about 2.5 liters of water. This can be done by the lungs as water vapor through the skin, such as welding, or by the kidneys in the urine. On the water is lost through the guts. For hot or too wet or during the serious efforts, however, the loss of water can increase an order of magnitude or more by welding - all who need to be replaced quickly. In extreme cases, the losses strong enough to more than the ability of the body to absorb the water in the gastrointestinal tract, in these cases, it is not possible to drink enough water, humidity, and the only Like to avoid dehydration, is the reduction in transpiration.

energy drinks
The shops in the vicinity, shops and bars continue to sell energy drinks, primarily as a stimulus points. Although grocery stores warehouse in small quantities, these drinks will Grocery. Grocery store, but can successfully sell unique beverage cooler on the front of the store.

Just as the beginning of 1990 microbrew lust, dozens of energy-drink companies are in the race for market share. Fewer than 10 are able to survive.

In view of the players already have systems for sales, such as Anheuser-Busch Co., PepsiCo, Coca-Cola Co. And Hansen Natural Corp., which all energy drinks.

Drink of the customers are young adults between 18 and 30 years.

Beverage companies will begin marketing the beverage impressionable easily during puberty, between 13 and 17 years of age who spend the money to questions of convenience.

MySQL Job Interview: Toughest questions

What's the best way to prepare for the toughest MySQL DBA Job Interview? Getting questions from the MySQL Campers. In this session, we intend to create the toughest interview questions for MySQL related jobs.

my.cnf Configuration

//NOTES: To Be edited

Quick Overview
High Write Environments
High Read Environments
Read/Write Environments

Quick Overview

Default MySQL Configuration File -- my.cnf
Locations (in order of usage)
/etc/my.cnf
/etc/mysql/my.cnf -- New directory for Debian based distro
datadir/my.cnf -- deprecated
$MYSQL_HOME/my.cnf
--defaults-extra-file=/path/to/file
~/.my.cnf

Override settings with
--defaults-file=/path/to/file

http://dev.mysql.com/doc/refman/5.0/en/option-files.html

Options can also on specified on command line. Need to confirm if this overrides all my.cnf configurations

Need to check --print-defaults option syntax

thread_cache_size defaults of 0 is bad. set a default, 8-16-32
increase until staus threads_created stops increasing

table_cache
increase until status Opened_tables stoping increasing. Open_tables is what is presented used.
mysql> SHOW OPEN TABLES -- not terribly useful - Jeremy

innodb_log_file_size combined size must be < 4GB
Recommendation would be 512 to 768 and 2 log_file_in_group

Bookmark This Page
http://dev.mysql.com/doc/refman/5.0/en/mysqld-option-tables.html

High Write Environment

Depends on Storage Engines

InnoDB
Look at H/W.
Fastest Disk 15k RPM
Raid 10
Battery Backup Write Cache - improves latency time
SAN can increase latency time

innodb_buffer_pool_size up to 80% of RAM
innodb_log_file_size 512/768
innodb_log_file_in_group = 2

innodb_flush_log_at_trx_commit 0 | 1 | 2
1 write every transaction to log - full durability of ACID
0 or 2, you could loose committed data on mysql crash (< 1 second)

if you don't mind loosing data, use 0

Question: could we have table based trx_commit different for tables.
Answer: unlikely it can be done

innodb_flush_method = O_DIRECT # Bypass the File System Cache - Linux Only

innodb_max_purge_lag

A value of 0 will never delete rows, only mark as deleted.
Recommended value really depends.
If your deleting data, and the database is growing, space is in not being reclaimed.

0 is ok if you 10% deletes, as long as your system can keep up.
In a high write environment with a lot of deletes, values of 10,000 - 20,000 could be considered

# write > pct dirty pages to disk
innodb_max_dirty_pages_pct = 90 # default is 90

lower it for larger environments, e.g 60, 45 ,
the larger the value, the longer a normal shutdown can take
lowering value will decrease online OLTP throughput

# Time to wait for a Lock
innodb_lock_wait_timeout = 5 # default is 50

The time innodb will wait in a transaction before it timeouts.

# Support XA two phase commits
innodb_support_xa = OFF # default is ON

innodb_file_per_table
If your looking for the most performance, it will hurt you in syncing
There are benefits of disk usage having this set.

innodb_additional_mem_pool_size = 8M
# default 1M

A single query will use a single cpu and a single disk (or across raid disk)
Put data + logs on single large RAID partition

if you have 4xRAID10 for data and 2xRAID1 for logs, battery backup write cache will negate performance improvements for the most part.

RAID10 better then RAID5, also in rebuilding disk

don't touch innodb_fast_shutdown

sql_mode= ANSI | STRICT_ALL_TABLES

http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html

Hackathon topics

Propose coding projects to work on.

Overview of MySQL Toolkit

I'm happy to walk through the toolkit and how to use the individual tools. Perhaps I should just merge this into the other talk suggested for Friday on tools.

Proposed Session: MySQL Beginner's Workshop and Q&A

In no way is MySQL Camp just for hackers and experts! This is a proposed session where newbies/beginners/novices can ask other campers about the issues they want to understand better about MySQL. Basically, it'll be a free-for-all Q&A with gurus around to answer specific quesions and experts willing to lead others through basics (or even not-so-basics!)

Here's a short list of stuff you might want to ask questions about:

  • Stored Procedures
  • Commands&Functions
  • Working w/ Tables
  • Import/Export
  • MySQL and Perl
  • Comparisons between MySQL and other proprietary DBM (to convince managers to migrate)
  • Real-world examples
  • Tools
Syndicate content

Back to top