articles

MySQL backups using replication

Book page

From: http://www.onlamp.com/lpt/a/5949

ONLamp.com: Live Backups of MySQL Using Replication    
 Published on ONLamp.com (http://www.onlamp.com/)
 http://www.onlamp.com/pub/a/onlamp/2005/06/16/MySQLian.html
 See this if you're having trouble printing code examples

Live Backups of MySQL Using Replication

by Russell Dyer, author of MySQL in a Nutshell
06/16/2005

One of the difficulties with a large and active MySQL database is making clean backups without having to bring the server down. Otherwise, a backup may slow down the system and there may be inconsistency with data, since related tables may be changed while another is being backed up. Taking the server down will ensure consistency of data, but it means interruption of service to users. Sometimes this is necessary and unavoidable, but daily server outages for backing up data may be unacceptable. A simple alternative method to ensure reliable backups without having to shut down the server daily is to set up replication for MySQL.

Typically, replication is a system configuration whereby the MySQL server, known in this context as a master server, houses the data and handles client requests, while another MySQL server (a slave server) contains a complete copy of the data and duplicates all SQL statements in which data is changed on the master server right after it happens. There are several uses for replication (e.g., load balancing), but the concern of this article has to do with using replication for data backups. You can set up a separate server to be a slave and then once a day turn replication off to make a clean backup. When you're done, replication can be restarted and the slave will automatically query the master for the changes to the data that it missed while it was offline. Replication is an excellent feature and it's part of MySQL. You just need to set it up.

The Replication Process

Before explaining how to set up replication, let me quickly explain the steps that MySQL goes through to maintain a replicated server. The process is different depending on the version of MySQL. For purposes of this article, my comments will be for version 4.0 or higher, since most systems now are using the later versions.

When replication is running, basically, as SQL statements are executed on the master server, MySQL records them in a binary log (bin.log) along with a log position identification number. The slave server in turn, through an IO thread, regularly and very often reads the master's binary log for any changes. If it finds a change, it copies the new statements to its relay log (relay.log). It then records the new position identification number in a file (master.info) on the slave server. The slave then goes back to checking the master binary log, using the same IO thread. When the slave server detects a change to its relay log, through an SQL thread the slave executes the new SQL statement recorded in the relay log. As a safeguard, the slave also queries the master server through the SQL thread to compare its data with the master's data. If the comparison shows inconsistency, the replication process is stopped and an error message is recorded in the slave's error log (error.log). If the results of the query match, the new log position identification number is recorded in a file on the slave (relay-log.info) and the slave waits for another change to the relay log file.

This process may seem involved and complicated at first glance, but it all occurs quickly, it isn't a significant drain on the master server, and it ensures reliable replication. Also, it's surprisingly easy to set up. It only requires a few lines of options to be added to the configuration file (i.e., my.cnf) on the master and slave servers. If you're dealing with a new server, you'll need to copy the databases on the master server to the slave to get it caught up. Then it's merely a matter of starting the slave for it to begin replicating.

The Replication User

There are only a few steps to setting up replication. The first step is to set up a user account to use only for replication. It's best not to use an existing account for security reasons. To do this, enter an SQL statement like the following on the master server, logged in as root or a user that has GRANT OPTION privileges:

GRANT REPLICATION SLAVE, REPLICATION CLIENT
    ON *.*
    TO 'replicant'@'slave_host'
    IDENTIFIED BY 'my_pwd';

In this SQL statement, the user account replicant is granted only what's needed for replication. The user name can be almost anything. The host name (or IP address) is given in quotes. You should enter this same statement on the slave server with the same user name and password, but with the master's host name or IP address. This way, if the master fails and will be down for a while, you could redirect users to the slave with DNS or by some other method. When the master is back up, you can then use replication to get it up to date by temporarily making it a slave to the former slave server. Incidentally, if you upgraded MySQL to version 4.0 recently, but didn't upgrade your mysql database, the GRANT statement above won't work because these privileges didn't exist in the earlier versions. For information on fixing this problem, see MySQL's documentation on Upgrading the Grants Tables.

Configuring the Servers

Once the replication user is set up on both servers, we will need to add some lines to the MySQL configuration file on the master and on the slave server. Depending on the type of operating system, the file will probably be called my.cnf or my.ini. On Unix-type systems, the configuration file is usually located in the /etc directory. On Windows systems, it's usually located in c:\ or in c:\Windows. Using a text editor, add the following lines to the configuration file, under the [mysqld] group heading:

server-id = 1
log-bin = /var/log/mysql/bin.log

The server identification number is an arbitrary number to identify the master server. Almost any whole number is fine. A different one should be assigned to the slave server to keep them straight. The second line above instructs MySQL to perform binary logging to the path and file given. The actual path and file name is mostly up to you. Just be sure that the directory exists and the user mysql is the owner, or at least has permission to write to the directory. Also, for the file name use the suffix of ".log" as shown here. It will be replaced automatically with an index number (e.g., ".000001") as new log files are created when the server is restarted or the logs are flushed.

For the slave server, we will need to add a few more lines to the configuration file. We'll have to provide information on connecting to the master server, as well as more log file options. We would add lines similar to the following to the slave's configuration file:

server-id = 2

master-host = mastersite.com
master-port = 3306
master-user = replicant
master-password = my_pwd

log-bin = /var/log/mysql/bin.log
log-bin-index = /var/log/mysql/log-bin.index
log-error = /var/log/mysql/error.log

relay-log = /var/log/mysql/relay.log
relay-log-info-file = /var/log/mysql/relay-log.info
relay-log-index = /var/log/mysql/relay-log.index

This may seem like a lot, but it's pretty straightforward once you pick it apart. The first line is the identification number for the slave server. If you set up more than one slave server, give them each a different number. If you're only using replication for backing up your data, though, you probably won't need more than one slave server. The next set of lines provides information on the master server: the host name as shown here, or the IP address of the master may be given. Next, the port to use is given. Port 3306 is the default port for MySQL, but another could be used for performance or security considerations. The next two lines provide the user name and password for logging into the master server.

The last two stanzas above set up logging. The second to last stanza starts binary logging as we did on the master server, but this time on the slave. This is the log that can be used to allow the master and the slave to reverse roles, as mentioned earlier. The binary log index file (log-bin.index) is for recording the name of the current binary log file to use. As the server is restarted or the logs are flushed, the current log file changes and its name is recorded here. The log-error option establishes an error log. If you don't already have this set up, you should, since it's where any problems with replication will be recorded. The last stanza establishes the relay log and related files mentioned earlier. The relay log makes a copy of each entry in the master server's binary log for performance's sake, the relay-log-info-file option names the file where the slave's position in the master's binary log will be noted, and the relay log index file is for keeping track of the name of the current relay log file to use for replicating.

Copying Databases and Starting Replication

If you're setting up a new master server that doesn't contain data, then there's nothing left to do but restart the slave server. However, if you're setting up replication with an existing server that already has data on it, you will need to make an initial backup of the databases and copy it to the slave server. There are many methods to do this; for our examples, we'll use the utility mysqldump to make a backup while the server is running. However, there's still the problem with attaining consistency of data on an active server. Considering the fact that once you set up replication you may never have to shut down your server for backups again, it might be worth while at least to lock the users out this one last time to get a clean, consistent backup. To run the master server so that only root has access, we can reset the variable max_connections like so:

SHOW VARIABLES LIKE 'max_connections';

+-----------------+-------+
| Variable_name   | Value |
+-----------------+-------+
| max_connections | 100   |
+-----------------+-------+

SET GLOBAL max_connections = 0;

The first SQL statement isn't necessary, but we may want to know the initial value of the max_connections variable so that we can change it back when the backup is finished. Although setting the variable to a value of 0 suggests that no connections are allowed, one connection is actually reserved for the root user. Of course, this will only prevent any new connections. To see if there are any connections still running, enter SHOW PROCESSLIST;. To terminate any active processes, you can use the KILL statement.

With exclusive access to the server, using mysqldump is usually very quick. We would enter the following from the command line on the master server:

mysqldump --user=root --password=my_pwd \
      --extended-insert --all-databases \
      --master-data  > /tmp/backup.sql  

This will create a text file containing SQL statements to create all of the databases and tables with data. The --extended-insert option will create multiple-row INSERT statements and thereby allow the backup to run faster, for the least amount of down time or drain on services. The --master-data option above locks all of the tables during the dump to prevent data from being changed, but allows users to continue reading the tables. With exclusive access, this feature isn't necessary. However, this option also adds a few lines like the following to the end of the dump file:

--
-- Position to start replication from
--

CHANGE MASTER TO MASTER_LOG_FILE='bin.000846' ;
CHANGE MASTER TO MASTER_LOG_POS=427 ;

When the dump file is executed on the slave server, these last lines will record the name of the master's binary log file and the position in the log at the time of the backup, while the tables were locked. When replication is started, it will go to this log file and execute any SQL statements recorded starting from the position given. This is meant to ensure that any data changed while setting up the slave server isn't missed. To execute the dump file to set up the databases and data on the slave server, copy the dump file to the slave server, make sure MySQL is running, then enter something like the following on the slave:

mysql --user=root --password=my_pwd < /tmp/backup.sql

This will execute all of the SQL statements in the dump file, which will include the CREATE and INSERT statements. Once the backed-up databases are loaded onto the slave server, execute the following SQL statement while logged in as root on the slave:

START SLAVE;

After this statement is run, the slave will connect to the master and get the changes it missed since the backup. From there, it will stay current by continuously checking the binary log as outlined before.

Backups with Replication

With replication running, it's an easy task to make a backup of the data. You just need to temporarily stop the slave server from replicating by entering the following SQL statement while logging onto the slave server as root or a user with SUPER privileges:

STOP SLAVE;

The slave server knows the position where it left off in the binary log of the master server. So we can take our time making a backup of the replicated databases on the slave server. We can use any backup utility or method we prefer. When the backup is finished, we would enter the following SQL statement from the slave server as root to restart replication:

START SLAVE;

After entering this statement, there should be a flurry of activity on the slave as it executes the SQL statements that occurred while it was down. In a very short period of time it should be current.

Automating Backups

If replication and the backup process are working properly, we can write a simple shell script to stop replication, back up the data on the slave server, and start the slave again. Such a shell script would look something like this:

#!/bin/sh

date = `date +%Y%m%d`

mysqladmin --user=root --password=my_pwd stop-slave

mysqldump --user=root --password=my_pwd --lock-all-tables \
      --all-databases > /backups/mysql/backup-${date}.sql

mysqladmin --user=root --password=my_pwd start-slave

In this example, we're using the mysqladmin utility to stop and start replication on the slave. On the first line, you may have noticed that we're capturing the date using the system function date and putting it into a good format (e.g., 20050615). This variable is used with mysqldump in the script for altering the name of the dump file each day. Of course, you can set the file path and the name of the dump file to your preferences. Notice that the date function and the formatting codes are enclosed in back-ticks (`), not single quotes (').

This is a simple script. You may want to write something more elaborate and allow for error checking. You probably would also want to compress the dump files to save space and write them to a removable media like a tape or CD. Once you have your script set up, test it. If it works, you can add it to your crontab or whatever scheduling utility you use on your server.

Conclusion

Replication is a useful administrative feature of MySQL. It's an excellent way to be assured of good regular backups of databases. There are more options and SQL statements available for replication than I was able to present here. I cover them individually in my book MySQL in a Nutshell. For active and large systems, you may want to set up more than one slave server for added protection of data. The configuration and concepts are the same for multiple slaves as it is for one slave. For extremely active and large databases, you might want to consider purchasing software like that offered by Emic. Their software costs a bit, but it does an excellent job of handing slave serves for backups and load balancing, especially.

In May 2005, O'Reilly Media, Inc., released MySQL in a Nutshell.

Russell Dyer is a Perl programmer, MySQL developer, and web designer living and working on a consulting basis in New Orleans.

Copyright © 2005 O'Reilly Media, Inc.

Tomatoes, part 1

Book page

From: http://aggie-horticulture.tamu.edu/plantanswers/vegetables/tomato.html

Tomato, Part I

Tomato, Part I (Questions 1 - 41)

1. Q. When should I start my seed indoors to produce tomato transplants for my garden?

A. Depending upon temperature and how the plants are grown, it takes from 6 to 8 weeks to produce a healthy, 6-inch tall transplant for setting out in your garden. The plants should be grown in a warm area and receive 6 to 8 hours of sunlight daily or tall, poor quality, leggy plants will result.

2. Q. How do you select good transplants at nurseries or garden centers?

A. First, select the Extension recommended varieties of transplant whether it be tomatoes, peppers, eggplant or broccoli. Also, look for plants that appear healthy, dark green in color, and do not have any spots or holes in the leaves. The ideal tomato, pepper or eggplant transplant should be just about as wide as it is tall. Avoid tall, spindly plants.

3. Q. How often should my tomatoes be fertilized?

A. It is necessary to fertilize the garden before planting tomatoes. Apply the fertilizer again when fruit first sets. From that point on, an additional fertilization (sidedress) every week to 10 days is recommended. Plants grown on sandy soils should be fertilized more frequently than those grown on heavy, clay soils. A general sidedress fertilizer recommendation is one to two tablespoons of a complete fertilizer scattered around the plant and worked into the soil. If using a fertilizer high in nitrogen such as ammonium nitrate or sulfate, reduce the rate to one tablespoon per plant.

4. Q. Should tomato plants be staked, caged or left unsupported?

A. Tomatoes should be supported. Whether you cage or stake them is personal preference. Regardless of the method, plants with foliage and fruit supported off the ground will produce more than unsupported plants. Caging has several advantages. It involves less work than staking. Once the cage is placed over the plant there is no further manipulation of the plant - - no pruning, no tying. The fruit are simply harvested as they ripen. In many areas, staking and pruning of the plant to a single or multiple stem results in sunburn when the developing fruit is exposed to excessive sunlight. Other advantages of caging over staking include protection of fruit from bird damage by more vigorous foliage cover and less fruit rot. Caged tomato vines produce more fruit of a smaller size, but staked and tied plants produce less fruit which mature earlier yet are larger.

5. Q. My tomato plants look great. They are dark green, vigorous and healthy. However, flowers are not forming any fruit. What is the problem?

A. Several conditions can cause tomatoes to not set fruit. Too much nitrogen fertilizer, nighttime temperatures over 70 degrees F., low temperatures below 50 degrees F., irregular watering, insects such as thrips or planting the wrong variety may result in poor fruit set. Any of these conditions can cause poor fruit set, but combinations can cause failures. If Extension recommended varieties are used , the main reason tomato plants do not set fruit is because they are not planted where they can receive 8-10 hours of direct sunlight daily. Any less direct sunlight will result in a spindly growing, nonproductive plant with healthy foliage.

6. Q. Are there really low-acid tomato varieties?

A. There are some varieties that are slightly less acidic than others, but this difference is so slight that there is no real difference in taste or in how the tomatoes should be processed. Some yellow-fruited types are slightly less acidic than the normal red varieties, but not enough to make any difference. Research conducted by the USDA indicates that all varieties available to the home gardener are safe for water bath processing as long as good quality fruit are used. Flavor differences which exist between varieties are not because of differences in acid content, but balances of the sugar to acid ratio.

7. Q. Some tomato varieties are recommended because they are determinate and fast maturing. What does determinate mean and can you tell if a tomato is determinate by looking at it?

A. Determinate means the plant is small. Determinate tomato varieties seldom are more than 5 to 6 feet tall. A determinate vine is distinguished by a repeating pattern of two leaves followed by a flower or fruiting cluster. An indeterminate vine has a repeating pattern of three or four leaves, then a cluster.

8. Q. Can I save seeds from my tomatoes from next season's plantings, and if so how?

A. You can save seed from tomatoes if the variety is not a hybrid. Hybrid tomatoes do not come true from seed. The plants and fruit from seed saved form your home garden may or may not resemble the parent. Chances are the fruit will be poorer quality and the vine characteristics will not be the same as the parent plant. However, for true breeding varieties, such as Homestead, it is easy to save seed. To save seed from tomatoes or any other home vegetable fruit crop, leave the fruit on the plant until it is mature, pull it, squeeze juice with seed into a glass, let this ferment for two days adding water if needed. Rinse the seeds two or three times to remove debris. Seeds will settle to the bottom. After rinsing the seeds, blot them and place them in the sun to dry. Store the seeds under cool, dry conditions.

9. Q. When caging tomatoes, how large should the cage be?

A. The diameter of the cage should be at least 18 to 20 inches. Smaller cages often restrict plant growth and reduce yields. Height of the cage will vary but generally 2 feet is sufficient for the recommended varieties. However, if vining types such as Better Boy, Homestead or Terrific, are used a cage 5 feet in height is preferred. Regardless of variety, the 2 foot tall cage is sufficient for most fall garden tomatoes.

10. Q. How do you stake tomatoes?

A. Staking involves pruning or suckering the plant to either one or two main stalks. Tomatoes grown without support develop a bush shape. However, if the plant is to be trellised or staked, it must be pruned to a single or double stalk. The small suckers which develop between the axil of the leaf and the stem are removed to develop a vine structure rather than a bush. A wooden stake an inch in diameter and 6 feet long is driven into the ground beside the plant. Do not damage the root system when inserting the stake in the ground. The stalk of the plant is loosely attached to the stake as it grows. The plant can be attached to the stake with twist-ties, soft string, strips of cloth or panty hose. The plant is sufficiently supported if it is attached to the stake at 12 to 14 inch intervals. Continued suckering to prevent the plant from developing more than one or two central stems. If a double-stalk plant is desired leave the sucker produced above the first flower cluster since it will be the most vigorous.

11. Q. What causes a tomato to crack? Is there anything I can do to prevent it?

A. Cracking is a physiological disorder caused by soil moisture fluctuations. When the tomato reaches the mature green stage and the water supply to the plant is reduced or cut off, the tomato will begin to ripen. At this time a cellophane-like wrapper around the outer surface of the tomato becomes thicker and more rigid to protect the tomato during and after harvest. If the water supply is restored after ripening begins, the plant will resume translocation of nutrients and moisture into the fruit. This will cause the fruit to enlarge; which in turn splits the wrapper around the fruit and results in cracking. The single best control for cracking is a constant and regular water supply. Apply a layer of organic mulch to the base of the plant. This serves as a buffer and prevents soil moisture fluctuation. Water plants thoroughly every week. This is especially important when the fruits are maturing. Some varieties are resistant to cracking, but their skin is tougher.

12. Q. What could cause the leaves of my tomatoes to turn brown along the edges?

A. Leaf-burn or scorch generally indicates root injury, quite often caused by heavy amounts of fertilizer applied too near the roots. This injury often results in browning and die back of the ends and margins of the leaves. Other possible causes are root injury caused by nematodes, insects or physical injury by cultivation. Also overwatering or underwatering along with diseases might cause leaf-tip burn.

13. Q. About the time my tomatoes ripen and turn red, I lose at least half my crop to bird damage. What can prevent this?

A. Bird damage is common in all areas. One control method which works quite well is to take old nylon stockings and cut them into pieces 10 to 12 inches long. Tie a knot in one end of the stocking and slip the open end over the entire cluster of tomatoes. Secure the end above the tomato cluster with a rubber band or twist-tie. Birds will not be able to peck through the nylon. Slip the stocking off the cluster and harvest the ripe fruit and replace it to protect later-ripening fruit. Also, birds damage fully mature fruit more readily than breaker or pink fruit. Harvest in breaker or green-wrap stage. Gardeners have tried many ways to reduce bird damage. Scarecrows, aluminum strips, tin foil plates and noisemakers will work until the local birds become accustomed to seeing or hearing them. Fabric covering materials such as Grow-Web and Reemay can also be used as a barrier mechanism.

14. Q. What causes the black spots on the bottom of my tomatoes?

A. Blossom end rot, caused by improper (fluctuating from too dry to too moist) moisture. Maintain uniform soil moisture as the fruit nears maturity. Remove affected fruit.

15. Q. What causes tomato leaves to curl?

A. The exact cause of tomato leaf roll is not fully known. Tomato leaf roll appears about the time of fruit setting. The leaflets of the older leaves on the lower half of the tomato plant roll upward. This gives the leaflets a cupped appearance with sometimes even the margins touching or overlapping. The overall growth of the plant does not seem to be greatly affected and yields are normal. This condition appears to be most common on staked and pruned plants. It occurs when excessive rainfall or overwatering keeps the soil too wet for too long. It is also related to intensive sunlight which causes carbohydrates to accumulate in the leaves. Some varieties of tomatoes are characteristically curled.

16. Q. What causes some of my early tomato fruit from the spring garden to be oddly shaped and of poor quality?

A. This condition is usually caused by low temperatures during bloom and pollination. Fruit that set when temperatures are 55 degrees F. or below often are odd-shaped and of poor quality. The blooms these tomatoes develop from often are abnormal because of temperature conditions and grow into abnormal, odd-shape fruit.

17. Q. Do products which are supposed to aid in setting tomatoes really work and if they do, how should they be used?

A. These hormonal products are designed to substitute for natural pollination. These products work better when tomatoes are failing to set because of too cool temperatures. Tomatoes which set after use of these products will be puffy and have less seed.

18. Q. What is the plant advertised as a tree tomato?

A. The tree tomato is a member of the Nightshade family. The regular tomato belongs to the same plant family but is a different species. The tree tomato has the scientific name Cyphomandra betacea. Like the true tomato, it is a native of Peru. It is grown in market gardens there and in several subtropical countries including Brazil and New Zealand. The tree tomato is woody, grows from 8 to 10 feet tall, bears fruit 2 years after seeding and may continue to bear for 5 to 6 years. They are not winter hardy except in southern areas and would need to be taken inside over winter. Fruits of the tree tomato are oval, about 2 inches long and change from greenish purple to reddish purple when fully ripe. The fruits are low in acid and the flavor is moderately agreeable. Some varieties of the tree tomato produce bright, red fruits. The fruits can be used in stew or preserves after the tough skin and hard seeds are removed.

19. Q. Should you allow tomatoes to become fully ripe and red on the vine before harvesting?

A. Generally, yields will be increased by harvesting the fruit at first blush or pink instead of leaving them on the plant to ripen fully. A tomato picked at first sign of color and ripened at room temperature will be just as tasty as one left to fully mature on the vine. Picking tomatoes before they turn red reduces damage from birds.

20. Q. If tomatoes are picked green or before they are fully mature, how should they be handled to insure proper ripening and full flavor?

A. Never refrigerate tomatoes picked immature. Place them in a single layer at room temperature and allowed them to develop full color. When they are fully ripe, place them in the refrigerator several hours before eating. Those handled in this manner will be of high quality and full flavor.

21. Q. What is a husk tomato?

A. Husk tomato is also called Ground Cherry, Poha Berry or Strawberry Tomato. It is grown the same way as regular tomatoes and produces a fruit the size of a cherry tomato. The fruits are produced inside a paper-like husk which, when ripe, turns brown and the fruit drops from the plant. If left in the husk, the fruit will keep for several weeks. Like tomatoes, they are sensitive to cold weather and should be set out from plants after all danger of frost in the spring. Space the plants 1 feet apart in rows at least 3 feet apart. When ripe the small fruit can be used in pies, jams or may be dried in sugar and used like raisins.

22. Q. I have the best tomato crop I have ever had, but the large tomatoes are falling off the vines. Even the ones that stay on the vine are jarred off easily. What is the problem?

A. Cool fall temperatures cause the abscission zone, the area where the tomato is attached to the plant to weaken, and the heavy fruit subsequently falls. Gather fallen tomatoes as soon as possible, wipe them clean and store them in a warm place to ripen. These aborted tomatoes will rot if left on the ground.

23. Q. I have large translucent areas on my tomato fruit. What's going on?

A. This is an environmental problem. The translucent areas are sun scalds. Heat from direct intense sunlight destroys the color pigments of the tomato. This damage does not make the tomato inedible.

24. Q. Can I propagate tomatoes for the fall garden from spring- planted vines?

A. If quality transplants of Extension recommended varieties cannot be found, use suckers or layering (cover with soil until roots appear) of existing vine. Do this several weeks before the recommend transplanting date for fall tomatoes, and use early-maturing tomato varieties.

25. Q. Can spring-planted tomatoes be cut back in late summer or early fall resulting in renewed growth and increased production until the first killing frost?

A. This can be done in some areas, especially in the southern parts. However, the plants must be healthy and free of insect problems. Trying to carry an unhealthy plant through the summer into the fall usually means disaster. If the plants are to be cut back, avoid removing too much of the foliage since hot weather can burn the plants to death. After pruning, apply additional fertilizer and water to renew growth and increase tomato production well into the fall.

26. Q. How do you tell when a green tomato harvested early to prevent freeze damage will ever turn red and ripen?

A. This can simply be done with a sharp kitchen knife. Harvest a tomato typical of the majority of green tomatoes on your plants. Look at size but pay particular attention to fruit color. Slice through the center of the tomato. Closely examine the seed within the fruit. If the seeds are covered with a clear gel which cause them to move away from the knife, then that fruit will eventually turn red and ripen. If the seeds are cut by the knife then those fruit will never properly ripen. Compare the color and size of the tested fruit when harvesting tomatoes on your plants. Most similar fruit will eventually ripen and turn red.

27. Q. Is a tomato a fruit or a vegetable.

A. The tomato is legally-declared a vegetable by the Supreme Court of the United States. A vegetable is a herbaceous (non-woody) plant or plant part which can be eaten without processing and is usually consumed with the main meal.

28. Q. The foliage on my tomatoes is infected by irregularly- shaped spots which cause it to turn yellow and drop off. This occurs in all seasons and is on the top as well as the bottom leaves.

A. Several types of leaf spots will attack tomatoes. Septoria leaf spot is seen quite often. It can be controlled with a combination chlorothalonil and benomyl (Benlate) spray program. Begin the spray program early in the life of the plant. Apply chlorothalonil every 7 to 10 days adding benomyl every second spray (14 to 20 days) if humidity is high or rain and dew cause wet foliage.

29. Q. The leaves on my tomato plants are distorted. Why?

A. This is a mosaic virus. If the virus is severe, remove the plants to prevent spread to other plants. Many viruses are insect transmitted and are difficult to control even with insecticides.

30. Q. My tomato plants are stunted and have a pale yellow foliage. The root system has knots or swellings on the roots.

A. These are root knot nematodes. Varieties such as Celebrity, Better Boy and Small Fry resist this problem. If other varieties are to be grown nematode populations must be reduced. Root knot is a species of nematode which causes galls or swellings on plant roots. It restricts the uptake of nutrients from the root system to the foliage, resulting in a yellow and stunted plant. Root knot lives in the soil and can survive on a number of weed and vegetable crops. It is best controlled by planting a solid stand (close enough for root systems to overlap) of marigolds three months before the first killing frost of fall and/or planting cereal rye (Elbon) for a winter cover crop. Cereal rye should be shred and tilled into the soil 30 days before planting a spring crop. Nematode resistance is indicated by the letter N after the tomato name. Example: Celebrity VFN.

31. Q. My tomatoes were healthy during the spring and early summer, yet after a recent rain, they wilted and died very rapidly. I found a white fungal growth at the base of the plant.

A. This is southern blight. It is a soilborne fungus and lives on organic material in the soil. Terrachlor used as a preplant treatment will reduce this problem. Also, the deep burial of undecomposed organic material in the soil will reduce the problem. Control foliage diseases on tomato plants because the fallen leaves around the base of the plant will feed the fungus, and it will build up in this area and cause damage later. Crop rotation will also reduce southern blight.

32. Q. My tomato plants wilted rapidly. When I cut the stem open, I found a brown ring around the inside.

A. This is Fusarium wilt. It is a soilborne fungus that attacks tomatoes and other crops. It is controlled only through the use of resistant varieties. Most commercial tomato varieties are resistant. Before you plant a variety, make sure it is resistant to Fusarium wilt. This resistance is denoted by the letter F after the name. Example: Celebrity VFN.

33. Q. What do the letters "VFN" associated with particular tomato varieties indicate?

A. VFN indicates the tomato variety is resistant to three types of diseases; Verticilum wilt, Fusarium wilt and nematodes. Many of the new hybrid varieties are VFN types. Disease resistant varieties preferred in areas of Texas where these problems are severe and cause great losses to home gardeners.

34. Q. The lower foliage on my tomatoes is beginning to turn yellow and drop. The leaves have circular, dark brown to black spots.

A. This is Alternaria leaf spot or early blight. It is a common problem on tomatoes and causes defoliation, usually during periods of high rainfall. Plant tomatoes on a raised bed to improve water drainage. They can be spaced enough so air can move, dry the foliage and prevent diseases. Follow a spray program using daconil beginning when the fruit is set and continuing at 1- to 2-week intervals during the growing season until harvest.

Insects

35. Q. My tomato fruit have small yellow specks on the surface. When the fruit are peeled, those yellow specks form a tough spot that must be cut off before eating the tomatoes. What's wrong?

A. Your problem is not of a varietal origin. The yellow speckling is caused by sucking insects such as stinkbugs or leaf- footed bugs. Early control of sucking insects that feed on the fruit is helpful in alleviating the problem.

36. Q. We planted tomatoes in our small garden. They are loaded and are the best tomatoes we have ever had; however, there are some small holes near the stem end of the tomato. When we cut the tomato open, there is a small worm inside. What is it and what can we do?

A. You have been invaded by the tomato pinworm. They usually do not damage all fruit and can be controlled only by a preventive insecticide spray every 7 to 10 days. When the damage is evident, it is too late to do anything about it.

37. Q. What causes my tomato leaves to turn yellowish and fall off?

A. Many conditions may cause these symptoms including spider mites, diseases and nutrient deficiencies. Examine the underside of the leaves for small red to greenish mites. If mites are found, treat with Kelthane, malathion or sulfur dust. Make two to three applications at 5-day intervals for best results.

38. Q. On some of my ripe tomatoes I have discovered small holes with numerous ants in them. I was unaware that ants could do this to tomatoes. How can I control them?

A. Ants aren't really your problem. They are just attracted to the moisture in the holes which were caused by other insects. A likely culprit is the tomato fruitworm, also known as the corn earworm. Bt (Bacillus thuringensis) is a nontoxic biological control which you can apply to the plants.

39. Q. My tomatoes wilted and died soon after they bloomed. Last fall I had the soil tested and followed the recommendations. I didn't notice any insects on the tomatoes, and none of the other plants growing in that area were affected. The plants were in full sun, though one limb from a black walnut tree which is about 20 feet from the garden reaches over that corner at about 30 feet above the ground. Could the slight shade from this branch cause such a severe problem?

A. The branch is not the cause of your problem, but the tree it is attached to probably is. Roots of black walnut and butternut trees release a substance called juglone which kills roots of sensitive plants. Tomatoes happen to be among the most sensitive, and should not be planted within at least 50 feet of these trees. Juglone is emitted from living and dead roots and can persist in the soil for over a year, so avoid areas where juglone producing trees have grown for two to three years after removing the trees.

40. Q. What is disease resistance?

A. Disease resistance is the ability of a plant to withstand attack from disease causing organisms such as bacteria, fungi, or viruses. The extent of resistance can vary from being strongly resistant to infection to being only somewhat more tolerant of the disease than standard varieties. Resistance is not immunity. Improper culture of a resistant variety may negate that resistance.

A. Plant breeders have a tough job to breed disease resistance into crops because there are so many diseases and often several strains of a given disease. What is often done is to select the disease that causes the most problems and work on breeding resistance to that disease. Seed catalogs and packets indicate what, if any, disease resistance a variety has in descriptive text or with initials following the variety name.

Disease resistance in tomatoes indicated by initials include:

V - Verticillium wilt
F - Fusarium wilt (F1, race 1; F2, race 2)
N - nematode
T - tobacco mosaic virus
A - Alternaria alternata (crown wilt disease)
L - Septoria leafspot

41. Q. Enclosed are two tomatoes which came off of one vine. This plant also has some leaves on the lower part of the plant that don't look as good as the rest of the plant. All plants are the Bingo variety planted at the same time, same fertilizer, etc. Plants are about 5 feet tall. There are 10 plants in this group. This is the only plant affected now. Will these tomatoes be good to eat and can you tell us what caused this? Any help will be appreciated.

A. Along with those black, scabby tomatoes you sent me, you have done an excellent job describing the plant nemesis called Tomato Spotted Wilt Virus (TSWV). In 1986 TSWV annihilated 60-70 percent of tomato and pepper transplants in the area as well as five million dollars worth of peanuts in Frio County alone. Luckily, the intensity of infections has diminished to a normal 10-15 percent so your one infected plant in ten is about normal. Infected tomato plants have many small, dark, circular spots on younger leaves. Leaves may have a bronzed appearance and later turn dark brown and withered. Flushes of new growth are yellowish and distorted. Fruit has many spots about one-half inch in diameter with concentric, circular markings. On ripe fruit these markings are alternate bands of red and yellow. Pepper fruits may have dead spots as well. Insects named thrips are the culprits that spreads the virus. Insects feed on a plant with virus and transmit it to another plant. Not all insects spread virus. The insects which have been known to cause problems include aphids, thrips, white flies and leaf-feeding beetles. Virus prevention is difficult - - 100 percent insect control is impossible as well as impractical. Even if you could grow a plant which was full of pesticide and would kill any insect immediately if it damaged the foliage, the virus is delivered the instant the plant tissue is penetrated. Insect sprays are not the answer; I recommend a physical barrier such as covering with Grow-Web netting during the first two months of growth. The larger a plant is before infection occurs, the more productive it will be. The soil is not contaminated so you can, and should, remove the infected plant and replant a cherry tomato or a Surefire in the very same hole. The fruit of infected plants can be eaten if you are man (or woman) enough to eat anything that ugly!

2000 year old date palm sprouts

Book page

<p>From: <a target="_blank" href="http://sfgate.com/cgi-bin/article.cgi?file=/c/a/2005/06/12/MNGJND7G5T1.DTL&type=printable">http://sfgate.com/cgi-bin/article.cgi?file=/c/a/2005/06/12/MNGJND7G5T1.DTL&type=printable</a></p>
Seed of extinct date palm sprouts after 2,000 years

var Tacoda_AMS_DDC_snippet_version = "1.3";
var Tacoda_AMS_DDC_clist = new Array("TID");
var Tacoda_AMS_DDC_clist_notset = null;
var Tacoda_AMS_DDC_keys = new Array();
var Tacoda_AMS_DDC_values = new Array();
var Tacoda_AMS_DDC_vars_num = 0;
function Tacoda_AMS_DDC_getCookie(name) {
var cname = name + "=";
var dc = document.cookie;
if (dc.length > 0) {
for(var begin = dc.indexOf(cname); begin != -1; begin = dc.indexOf(cname, begin)) {
if((begin != 0) && (dc.charAt(begin - 1) != ' ')) {
begin++;
continue;
}
begin += cname.length;
var end = dc.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return Tacoda_AMS_DDC_clist_notset;
}
function Tacoda_AMS_DDC_addPair(key, value) {
Tacoda_AMS_DDC_keys[Tacoda_AMS_DDC_vars_num] = key;
Tacoda_AMS_DDC_values[Tacoda_AMS_DDC_vars_num] = value;
Tacoda_AMS_DDC_vars_num++;
}
function Tacoda_AMS_DDC_collect_vars() {
var Tacoda_AMS_DDC_vars_as_string = "";
for(var i = 0; i ');
}

');
document.write('</A>');
}
//-->

= 11)
document.write('');//-->

= 11)
OAS_RICH(pos);
else
OAS_NORMAL(pos);
}
//-->

<blockquote>

<table align="right" border="0" width="300" cellspacing="0" cellpadding="5"><tr><td>&nbsp;</td><td align="left" valign="top">

</td></tr></table>

<a href="http://www.sfgate.com"></A>

&#160;&#160;&#160;&#160;&#160;&#160;

<a href="http://www.sfgate.com">www.sfgate.com</a>

&#160;&#160;&#160;&#160;&#160;&#160;

<a href="">Return to regular view</a>

<b>
<a href="/cgi-bin/article.cgi?file=
/c/a/2005/06/12/MNGJND7G5T1.DTL
">Seed of extinct date palm sprouts after 2,000 years</a>

<br></b>
- Matthew Kalman, Chronicle Foreign Service<br>

Sunday, June 12, 2005
<br>

<p>

<A HREF="/cgi-bin/object/article?f=/c/a/2005/06/12/MNGJND7G5T1.DTL&o=0&type=printable" TARGET=""></A><A HREF="/cgi-bin/object/article?f=/c/a/2005/06/12/MNGJND7G5T1.DTL&o=1&type=printable" TARGET=""></A><A HREF="/cgi-bin/object/article?f=/c/a/2005/06/12/MNGJND7G5T1.DTL&o=2&type=printable" TARGET=""></A>
<p><strong>Kibbutz Ketura, Israel</strong> --
It has five leaves, stands 14 inches high and is nicknamed
Methuselah. It looks like an ordinary date palm seedling, but for UCLA-
educated botanist Elaine Solowey, it is a piece of history brought back to
life.
<P>Planted on Jan. 25, the seedling growing in the black pot in Solowey's
nursery on this kibbutz in Israel's Arava desert is 2,000 years old -- more
than twice as old as the 900-year-old biblical character who lent his name to
the young tree. It is the oldest seed ever known to produce a viable young
tree.
<P>The seed that produced Methuselah was discovered during archaeological
excavations at King Herod's palace on Mount Masada, near the Dead Sea. Its age
has been confirmed by carbon dating. Scientists hope that the unique seedling
will eventually yield vital clues to the medicinal properties of the fruit of
the Judean date tree, which was long thought to be extinct.
<P>Solowey, originally from San Joaquin (Fresno County), teaches at the
Arava Institute for Environmental Studies at Kibbutz Ketura, where she has
nurtured more than 100 rare or near-extinct species back to life as part of a
10-year project to study plants and herbs used as ancient cures.
<P>In collaboration with the Louis L. Borick Natural Medicine Center at
Hadassah Hospital in Jerusalem, named in honor of its Southern California-
based benefactor, Solowey grows plants and herbs used in Tibetan, Chinese and
biblical medicine, as well as traditional folk remedies from other cultures to
see whether their effectiveness can be scientifically proved.
<P>In experiments praised by the Dalai Lama, for example, Borick Center
Director Sarah Sallon has shown that ancient Tibetan cures for cardiovascular
disease really do work.
<P>The San Francisco Chronicle was granted the first viewing of the historic
seedling, which sprouted about four weeks after planting. It has grown six
leaves, but one has been removed for DNA testing so scientists can learn more
about its relationship to its modern-day cousins.
<P>The Judean date is chronicled in the Bible, Quran and ancient literature
for its diverse powers -- from an aphrodisiac to a contraceptive -- and as
a cure for a wide range of diseases including cancer, malaria and toothache.
<P>For Christians, the palm is a symbol of peace associated with the entry
of Jesus into Jerusalem. The ancient Hebrews called the date palm the "tree of
life" because of the protein in its fruit and the shade given by its long
leafy branches. The Arabs said there were as many uses for the date palm as
there were days in the year.
<P>Greek architects modeled their Ionic columns on the tree's tall, thin
trunk and curling, bushy top. The Romans called it Phoenix dactylifera --
"the date-bearing phoenix" -- because it never died and appeared to be
reborn in the desert where all other plant life perished.
<P>Now Solowey and her colleagues have brought this phoenix of the desert
back to life after 2,000 years.
<P>The ancient seeds were found 30 years ago during archeological
excavations on Mount Masada, the mountaintop fortress on the shore of the Dead
Sea where King Herod built a spectacular palace. When the Romans conquered
Palestine and laid waste to the Temple in Jerusalem, Masada was the last stand
of a small band of Jewish rebels who held out against three Roman legions for
several years before committing mass suicide in A.D. 73.
<P>Archaeologist Ehud Netzer found the seeds, which were identified by the
department of botanical archaeology at Israel's Bar-Ilan University. Then they
were placed in storage, where they lay for 30 years until Sallon heard about
the cache.
<P>"When we asked if we could try and grow some of them, they said, 'You're
mad,' but they gave us three seeds," she said.
<P>Sallon took the seeds to Solowey, who has cultivated more than 3,000 date
palms and rarities like the trees that produce the fragrant resins
frankincense and myrrh. Solowey admits she was skeptical about the chances of
success with this project.
<P>"When I received the seeds from Sarah, I thought the chances of this
experiment succeeding were less than zero," said Solowey, cradling the
precious seedling in a specially quarantined section of her nursery on the
kibbutz. "But Dr. Sallon insisted and I took this very seriously. Lotus seeds
over 1,000 years old have been sprouted, and I realized that no one had done
any similar work with dates, so why not give it our best shot -- and we were
rewarded."
<P>The three seeds were long and thin, grayish-brown in color. Solowey
soaked them in warm water, and then added gibberellic acid, a potent growth
hormone used to induce germination in reluctant seeds. Next, she added a
special rooting hormone for woody plants called T8 and an enzyme-rich
fertilizer to supplement the natural food inside it. She then planted it in
sterile potting soil on the Jewish festival of trees, which this year fell on
Jan. 25.
<P>Solowey placed the pots in her nursery and tended to them each day for a
month, not expecting anything to happen.
<P>"Much to my astonishment, after five weeks, a small little date shoot
came up," she says. "It was pale, almost whitish green. The first two leaves
were abnormal-looking. They were very flat and very pale. The third leaf
started to have the striations of a normal date plant. Now it looks perfectly
normal to me.
<P>"The only difference between this date seedling and any other date
seedlings I've seen come up is the length of the third leaf. This is very
unusual," she said, pointing out one very long, thin leaf growing out of the
pot.
<P>"It's certainly the oldest tree seed that's ever been sprouted. Wheat
seeds from pharaohs' tombs have been sprouted, but none of the plants have
survived for very long. Before this, the oldest seed grown was a lotus from
China, which was 1,200 years old," she said. "I'm very excited. I wasn't
expecting anything to happen. I'm really interested in finding out what the
DNA testing is going to show. I know that date seeds can stay alive for
several decades. To find out that they can stay alive for millennia is
astonishing."
<P>Date palms are either male or female, but it's too early to tell the sex
of Methuselah. Normally, female trees begin to bear fruit after about five
years.
<P>"We have to figure out where we can put it so it can grow to maturity.
Then we'll hope that it grows up and flowers so we can figure out whether it's
male or female, and then it has offshoots and seeds so we can propagate it.
It's very exciting to think that maybe someday we can eat 2,000-year-old dates,
but there's a 50 percent chance that it's a male, in which case that won't
happen," she said.
<P>Sallon trained as a pediatrician and gastroenterologist, and she once
worked with Mother Teresa at the Sisters of Charity orphanage in Calcutta. She
founded the Louis L. Borick Natural Medicine Center 10 years ago and is a
world-renowned expert on the medical properties of plants. "It feels
remarkable to see this seed growing, to see it coming out of the soil after 2,
000 years. It's a very moving and exciting moment," she said.
<P>The two researchers hope the reborn tree will provide valuable
information about the Judean economy and society at the time of Jesus.
<P>Once the seed sprouted, samples of seeds excavated from the same cache on
Masada were sent to the University of Zurich for radio-carbon dating. The
results came back last week, showing the samples were 2,000 years old, plus or
minus a margin of error of 50 years, placing them during or just before the
Masada revolt.
<P>"Perhaps one of our ancestors was sitting there on the battlements of
Masada eating his dates while the Roman armies were preparing for the final
siege and perhaps nonchalantly spitting out a pip," said Sallon. "Two thousand
years later, here I am at Kibbutz Ketura and it's grown."
<P>The sixth leaf has been sent to the Volcani Centre, Israel's agricultural
research institute, for DNA testing by date palm expert Yuval Cohen.
<P>"I find it remarkable," said Cohen. "Two thousand years ago, during the
Roman Empire, Israel was known for the quality of its dates. They were famous
throughout the Roman Empire. But date growing as a commercial fruit export
stopped at the end of 70 A.D., when the Second Temple was destroyed by the
Romans. From then, the tradition was lost.
<P>"It's an interesting question what were the ancient dates like. We hope
by genetic analysis, we can learn more about the character of the ancient date
population."
<P>When the Romans invaded ancient Judea, thick forests of date palms
towering up to 80 feet high and 7 miles wide covered the Jordan River valley
from the Sea of Galilee in the north to the shores of the Dead Sea in the
south. The tree so defined the local economy that Emperor Vespasian celebrated
the conquest by minting the "Judea Capta," a special bronze coin that showed
the Jewish state as a weeping woman beneath a date palm.
<P>Today, nothing remains of those mighty forests. The date palms in modern
Israel were imported, mainly from California. The ancient Judean date,
renowned for its succulence and famed for its many medicinal properties, had
been lost to history.
<P>Until now.

<p>

Page&nbsp;A - 1
<br>

URL: http://sfgate.com/cgi-bin/article.cgi?file=/c/a/2005/06/12/MNGJND7G5T1.DTL

<A HREF="/chronicle/info/copyright/">&copy;2005 San Francisco Chronicle</A>

<A NAME="sections"></A>

</blockquote>

Complicated Migraines or TMA

Book page

From: http://www.medhelp.org/forums/neuro/archive/98.html

Complicated migraine or TIA

Forum: The Neurology and Neurosurgery Forum
Topic: Speech
Subject: Complicated migraine or TIA



Posted by ccf neuro M.D. on April 14, 1997 at 22:55:10:


In Reply to: Complicated migraine or TIA posted by Debbie M on April 09, 1997 at 15:38:35:


: My 12 year old daughter had what was first Dx. as a TIA
in Sept/96. She had marked weakness on one side, vision
field was reduced in one eye, confusion, slurred speech,
and was dragging her left foot, she also did not know her
name could not identify objects, and was not able to write.
when she left the hospital she was dx. as having a TIA.
Since that time she has had about 4 migraines but not at all
like the first one. They are now calling the first attack
a complicated migraine. Why the difference now? Thanks
for any help.
=============================================================
A TIA, or transient ischemic attack, occurs when a part of the brain is temporarlily, usually briefly, deprived of blood flow, resulting in the temporary loss of function of that part of the brain in which the blood flow is temporarily lost. Migraine headaches result in an abnormal constriction or narrowing of one of the arteries in the brain, followed subsequently by abnormal dilation or widening of the same or nearby arteries, which generates the pounding, throbbing pain of the migraine. On occasion, the initial portion of the migraine where the blood vessel is CONSTRICTING is so severe that it causes a large enough reduction in blood flow to the part of the brain the artery supplies to produce neurologic symptoms very similar to those caused by a TIA. The term "TIA", however, is restricted to describing instances where the temporary loss of blood flow is caused by a blood clot temporarily clogging the affected artery before it busts up in its own into smaller pieces. The lack of blood flow in the case of
migraines that are "complicated" by neurologic symptoms, by contrast, is due to SPASM or narrowing of the artery rather than by a blood clot. Typically, also, the duration of symptoms in complicated migraines is an hour, whereas for a TIA the duration is 5 minutes or less. You should be aware that the diagnosis of "complicated migraine" can only be made after excluding other more serious illnesses such as tumors or arteriovenous malformations (abnormal tangles of blood vessels in the brain), that can produce remarkably similar symptoms. Presumably, your daughter has already had an MRI scan, or at least a CAT scan with contrast to rule out these more sinister but rarer possibilities. Complicated migraines often but not always run in families and are often controllable by the same drugs used to prevent regular migraines. Sometimes, the patient has the neurologic symptoms WITH a headache, in which case the episode is called a "complicated migraine." Other times, theneurologic symptoms may occur WITHOUT the
headache, in which case the spell is called a TRANSIENT MIGRAINOUS ACCOMPANIMENT, or "TMA"--- note the similarity to "TIA", which is appropriate since both episodes are produced by diminished blood flow to a portion of the brain. On rare occasions, the spasm or narrowing of the artery may become so severe that the artery clots off--- in which case you get a STROKE. If your daughter EVER has neurologic symptoms lasting more than about 45 minutes, you should bring her to the nearest emergency room IMMEDIATELY---- DO NOT WAIT beyond that time interval, because if you do and she has had a stroke, she will miss out on the opportunity to have the stroke reversed by clot-buster drugs that must be administered within 3 hours of stroke onset in order to have a chance of working. I would suggest that you have either a pediatric neurologist or a headache doctor treat your daughter's complicated migraines/TMAs as prompt control of these is desirable. I hope this information answers your question in a way you can
understand, and helps you understand why the episode your daughter initially had (a TMA) was easily misinterpreted as a TIA, as her history of migraine headaches was not known at the time and, by coincidence, her first migraine symtpom just happened to be a TMA.





Reply by: ccf neuro M.D. on 04/14/1997

11 steps to a healthier brain

Book page

From: http://www.newscientist.com/article.ns?id=mg18625011.900&print=true

11 steps to a better brain - Features | Print | New Scientist

11 steps to a better brain

  • 28 May 2005
  • NewScientist.com news service
  • Kate Douglas
  • Alison George
  • Bob Holmes
  • Graham Lawton
  • John McCrone
  • Alison Motluk
  • Helen Phillips
Bionic Brains
You must remember this

It doesn't matter how brainy you are or how much education you've had - you can still improve and expand your mind. Boosting your mental faculties doesn't have to mean studying hard or becoming a reclusive book worm. There are lots of tricks, techniques and habits, as well as changes to your lifestyle, diet and behaviour that can help you flex your grey matter and get the best out of your brain cells. And here are 11 of them.

Smart drugs

Does getting old have to mean worsening memory, slower reactions and fuzzy thinking?

AROUND the age of 40, honest folks may already admit to noticing changes in their mental abilities. This is the beginning of a gradual decline that in all too many of us will culminate in full-blown dementia. If it were possible somehow to reverse it, slow it or mask it, wouldn't you?

A few drugs that might do the job, known as "cognitive enhancement", are already on the market, and a few dozen others are on the way. Perhaps the best-known is modafinil. Licensed to treat narcolepsy, the condition that causes people to suddenly fall asleep, it has notable effects in healthy people too. Modafinil can keep a person awake and alert for 90 hours straight, with none of the jitteriness and bad concentration that amphetamines or even coffee seem to produce.

In fact, with the help of modafinil, sleep-deprived people can perform even better than their well-rested, unmedicated selves. The forfeited rest doesn't even need to be made good. Military research is finding that people can stay awake for 40 hours, sleep the normal 8 hours, and then pull a few more all-nighters with no ill effects. It's an open secret that many, perhaps most, prescriptions for modafinil are written not for people who suffer from narcolepsy, but for those who simply want to stay awake. Similarly, many people are using Ritalin not because they suffer from attention deficit or any other disorder, but because they want superior concentration during exams or heavy-duty negotiations.

The pharmaceutical pipeline is clogged with promising compounds - drugs that act on the nicotinic receptors that smokers have long exploited, drugs that work on the cannabinoid system to block pot-smoking-type effects. Some drugs have also been specially designed to augment memory. Many of these look genuinely plausible: they seem to work, and without any major side effects.

So why aren't we all on cognitive enhancers already? "We need to be careful what we wish for," says Daniele Piomelli at the University of California at Irvine. He is studying the body's cannabinoid system with a view to making memories less emotionally charged in people suffering from post-traumatic stress disorder. Tinkering with memory may have unwanted effects, he warns. "Ultimately we may end up remembering things we don't want to."

Gary Lynch, also at UC Irvine, voices a similar concern. He is the inventor of ampakines, a class of drugs that changes the rules about how a memory is encoded and how strong a memory trace is - the essence of learning (see New Scientist, 14 May, p 6). But maybe the rules have already been optimised by evolution, he suggests. What looks to be an improvement could have hidden downsides.

Still, the opportunity may be too tempting to pass up. The drug acts only in the brain, claims Lynch. It has a short half-life of hours. Ampakines have been shown to restore function to severely sleep-deprived monkeys that would otherwise perform poorly. Preliminary studies in humans are just as exciting. You could make an elderly person perform like a much younger person, he says. And who doesn't wish for that?

Food for thought

You are what you eat, and that includes your brain. So what is the ultimate mastermind diet?

YOUR brain is the greediest organ in your body, with some quite specific dietary requirements. So it is hardly surprising that what you eat can affect how you think. If you believe the dietary supplement industry, you could become the next Einstein just by popping the right combination of pills. Look closer, however, and it isn't that simple. The savvy consumer should take talk of brain-boosting diets with a pinch of low-sodium salt. But if it is possible to eat your way to genius, it must surely be worth a try.

First, go to the top of the class by eating breakfast. The brain is best fuelled by a steady supply of glucose, and many studies have shown that skipping breakfast reduces people's performance at school and at work.

But it isn't simply a matter of getting some calories down. According to research published in 2003, kids breakfasting on fizzy drinks and sugary snacks performed at the level of an average 70-year-old in tests of memory and attention. Beans on toast is a far better combination, as Barbara Stewart from the University of Ulster, UK, discovered. Toast alone boosted children's scores on a variety of cognitive tests, but when the tests got tougher, the breakfast with the high-protein beans worked best. Beans are also a good source of fibre, and other research has shown a link between a high-fibre diet and improved cognition. If you can't stomach beans before midday, wholemeal toast with Marmite makes a great alternative. The yeast extract is packed with B vitamins, whose brain-boosting powers have been demonstrated in many studies.

A smart choice for lunch is omelette and salad. Eggs are rich in choline, which your body uses to produce the neurotransmitter acetylcholine. Researchers at Boston University found that when healthy young adults were given the drug scopolamine, which blocks acetylcholine receptors in the brain, it significantly reduced their ability to remember word pairs. Low levels of acetylcholine are also associated with Alzheimer's disease, and some studies suggest that boosting dietary intake may slow age-related memory loss.

A salad packed full of antioxidants, including beta-carotene and vitamins C and E, should also help keep an ageing brain in tip-top condition by helping to mop up damaging free radicals. Dwight Tapp and colleagues from the University of California at Irvine found that a diet high in antioxidants improved the cognitive skills of 39 ageing beagles - proving that you can teach an old dog new tricks.

Round off lunch with a yogurt dessert, and you should be alert and ready to face the stresses of the afternoon. That's because yogurt contains the amino acid tyrosine, needed for the production of the neurotransmitters dopamine and noradrenalin, among others. Studies by the US military indicate that tyrosine becomes depleted when we are under stress and that supplementing your intake can improve alertness and memory.

Don't forget to snaffle a snack mid-afternoon, to maintain your glucose levels. Just make sure you avoid junk food, and especially highly processed goodies such as cakes, pastries and biscuits, which contain trans-fatty acids. These not only pile on the pounds, but are implicated in a slew of serious mental disorders, from dyslexia and ADHD (attention deficit hyperactivity disorder) to autism. Hard evidence for this is still thin on the ground, but last year researchers at the annual Society for Neuroscience meeting in San Diego, California, reported that rats and mice raised on the rodent equivalent of junk food struggled to find their way around a maze, and took longer to remember solutions to problems they had already solved.

It seems that some of the damage may be mediated through triglyceride, a cholesterol-like substance found at high levels in rodents fed on trans-fats. When the researchers gave these rats a drug to bring triglyceride levels down again, the animals' performance on the memory tasks improved.

Brains are around 60 per cent fat, so if trans-fats clog up the system, what should you eat to keep it well oiled? Evidence is mounting in favour of omega-3 fatty acids, in particular docosahexaenoic acid or DHA. In other words, your granny was right: fish is the best brain food. Not only will it feed and lubricate a developing brain, DHA also seems to help stave off dementia. Studies published last year reveal that older mice from a strain genetically altered to develop Alzheimer's had 70 per cent less of the amyloid plaques associated with the disease when fed on a high-DHA diet.

Finally, you could do worse than finish off your evening meal with strawberries and blueberries. Rats fed on these fruits have shown improved coordination, concentration and short-term memory. And even if they don't work such wonders in people, they still taste fantastic. So what have you got to lose?

The Mozart effect

Music may tune up your thinking, but you can't just crank up the volume and expect to become a genius

A DECADE ago Frances Rauscher, a psychologist now at the University of Wisconsin at Oshkosh, and her colleagues made waves with the discovery that listening to Mozart improved people's mathematical and spatial reasoning. Even rats ran mazes faster and more accurately after hearing Mozart than after white noise or music by the minimalist composer Philip Glass. Last year, Rauscher reported that, for rats at least, a Mozart piano sonata seems to stimulate activity in three genes involved in nerve-cell signalling in the brain.

This sounds like the most harmonious way to tune up your mental faculties. But before you grab the CDs, hear this note of caution. Not everyone who has looked for the Mozart effect has found it. What's more, even its proponents tend to think that music boosts brain power simply because it makes listeners feel better - relaxed and stimulated at the same time - and that a comparable stimulus might do just as well. In fact, one study found that listening to a story gave a similar performance boost.

There is, however, one way in which music really does make you smarter, though unfortunately it requires a bit more effort than just selecting something mellow on your iPod. Music lessons are the key. Six-year-old children who were given music lessons, as opposed to drama lessons or no extra instruction, got a 2 to 3-point boost in IQ scores compared with the others. Similarly, Rauscher found that after two years of music lessons, pre-school children scored better on spatial reasoning tests than those who took computer lessons.

Maybe music lessons exercise a range of mental skills, with their requirement for delicate and precise finger movements, and listening for pitch and rhythm, all combined with an emotional dimension. Nobody knows for sure. Neither do they know whether adults can get the same mental boost as young children. But, surely, it can't hurt to try.

Bionic brains

If training and tricks seem too much like hard work, some technological short cuts can boost brain function

(See graphic, above)
Gainful employment

Put your mind to work in the right way and it could repay you with an impressive bonus

UNTIL recently, a person's IQ - a measure of all kinds of mental problem-solving abilities, including spatial skills, memory and verbal reasoning - was thought to be a fixed commodity largely determined by genetics. But recent hints suggest that a very basic brain function called working memory might underlie our general intelligence, opening up the intriguing possibility that if you improve your working memory, you could boost your IQ too.

Working memory is the brain's short-term information storage system. It's a workbench for solving mental problems. For example if you calculate 73 - 6 + 7, your working memory will store the intermediate steps necessary to work out the answer. And the amount of information that the working memory can hold is strongly related to general intelligence.

A team led by Torkel Klingberg at the Karolinska Institute in Stockholm, Sweden, has found signs that the neural systems that underlie working memory may grow in response to training. Using functional magnetic resonance imaging (fMRI) brain scans, they measured the brain activity of adults before and after a working-memory training programme, which involved tasks such as memorising the positions of a series of dots on a grid. After five weeks of training, their brain activity had increased in the regions associated with this type of memory (Nature Neuroscience, vol 7, p 75).

Perhaps more significantly, when the group studied children who had completed these types of mental workouts, they saw improvement in a range of cognitive abilities not related to the training, and a leap in IQ test scores of 8 per cent (Journal of the American Academy of Child and Adolescent Psychiatry, vol 44, p 177). It's early days yet, but Klingberg thinks working-memory training could be a key to unlocking brain power. "Genetics determines a lot and so does the early gestation period," he says. "On top of that, there is a few per cent - we don't know how much - that can be improved by training."

Memory marvels

Mind like a sieve? Don't worry. The difference between mere mortals and memory champs is more method than mental capacity

AN AUDITORIUM is filled with 600 people. As they file out, they each tell you their name. An hour later, you are asked to recall them all. Can you do it? Most of us would balk at the idea. But in truth we're probably all up to the task. It just needs a little technique and dedication.

First, learn a trick from the "mnemonists" who routinely memorise strings of thousands of digits, entire epic poems, or hundreds of unrelated words. When Eleanor Maguire from University College London and her colleagues studied eight front runners in the annual World Memory Championships they did not find any evidence that these people have particularly high IQs or differently configured brains. But, while memorising, these people did show activity in three brain regions that become active during movements and navigation tasks but are not normally active during simple memory tests.

This may be connected to the fact that seven of them used a strategy in which they place items to be remembered along a visualised route (Nature Neuroscience, vol 6, p 90). To remember the sequence of an entire pack of playing cards for example, the champions assign each card an identity, perhaps an object or person, and as they flick through the cards they can make up a story based on a sequence of interactions between these characters and objects at sites along a well-trodden route.

Actors use a related technique: they attach emotional meaning to what they say. We always remember highly emotional moments better than less emotionally loaded ones. Professional actors also seem to link words with movement, remembering action-accompanied lines significantly better than those delivered while static, even months after a show has closed.

Helga Noice, a psychologist from Elmhurst College in Illinois, and Tony Noice, an actor, who together discovered this effect, found that non-thesps can benefit by adopting a similar technique. Students who paired their words with previously learned actions could reproduce 38 per cent of them after just 5 minutes, whereas rote learners only managed 14 per cent. The Noices believe that having two mental representations gives you a better shot at remembering what you are supposed to say.

Strategy is important in everyday life too, says Barry Gordon from Johns Hopkins University in Baltimore, Maryland. Simple things like always putting your car keys in the same place, writing things down to get them off your mind, or just deciding to pay attention, can make a big difference to how much information you retain. And if names are your downfall, try making some mental associations. Just remember to keep the derogatory ones to yourself.

Sleep on it

Never underestimate the power of a good night's rest

SKIMPING on sleep does awful things to your brain. Planning, problem-solving, learning, concentration,working memory and alertness all take a hit. IQ scores tumble. "If you have been awake for 21 hours straight, your abilities are equivalent to someone who is legally drunk," says Sean Drummond from the University of California, San Diego. And you don't need to pull an all-nighter to suffer the effects: two or three late nights and early mornings on the trot have the same effect.

Luckily, it's reversible - and more. If you let someone who isn't sleep-deprived have an extra hour or two of shut-eye, they perform much better than normal on tasks requiring sustained attention, such taking an exam. And being able to concentrate harder has knock-on benefits for overall mental performance. "Attention is the base of a mental pyramid," says Drummond. "If you boost that, you can't help boosting everything above it."

These are not the only benefits of a decent night's sleep. Sleep is when your brain processes new memories, practises and hones new skills - and even solves problems. Say you're trying to master a new video game. Instead of grinding away into the small hours, you would be better off playing for a couple of hours, then going to bed. While you are asleep your brain will reactivate the circuits it was using as you learned the game, rehearse them, and then shunt the new memories into long-term storage. When you wake up, hey presto! You will be a better player. The same applies to other skills such as playing the piano, driving a car and, some researchers claim, memorising facts and figures. Even taking a nap after training can help, says Carlyle Smith of Trent University in Peterborough, Ontario.

There is also some evidence that sleep can help produce moments of problem-solving insight. The famous story about the Russian chemist Dmitri Mendeleev suddenly "getting" the periodic table in a dream after a day spent struggling with the problem is probably true. It seems that sleep somehow allows the brain to juggle new memories to produce flashes of creative insight. So if you want to have a eureka moment, stop racking your brains and get your head down.

Body and mind

Physical exercise can boost brain as well as brawn

IT'S a dream come true for those who hate studying. Simply walking sedately for half an hour three times a week can improve abilities such as learning, concentration and abstract reasoning by 15 per cent. The effects are particularly noticeable in older people. Senior citizens who walk regularly perform better on memory tests than their sedentary peers. What's more, over several years their scores on a variety of cognitive tests show far less decline than those of non-walkers. Every extra mile a week has measurable benefits.

It's not only oldies who benefit, however. Angela Balding from the University of Exeter, UK, has found that schoolchildren who exercise three or four times a week get higher than average exam grades at age 10 or 11. The effect is strongest in boys, and while Balding admits that the link may not be causal, she suggests that aerobic exercise may boost mental powers by getting extra oxygen to your energy-guzzling brain.

There's another reason why your brain loves physical exercise: it promotes the growth of new brain cells. Until recently, received wisdom had it that we are born with a full complement of neurons and produce no new ones during our lifetime. Fred Gage from the Salk Institute in La Jolla, California, busted that myth in 2000 when he showed that even adults can grow new brain cells. He also found that exercise is one of the best ways to achieve this.

In mice, at least, the brain-building effects of exercise are strongest in the hippocampus, which is involved with learning and memory. This also happens to be the brain region that is damaged by elevated levels of the stress hormone cortisol. So if you are feeling frazzled, do your brain a favour and go for a run.

Even more gentle exercise, such as yoga, can do wonders for your brain. Last year, researchers at the University of California, Los Angeles, reported results from a pilot study in which they considered the mood-altering ability of different yoga poses. Comparing back bends, forward bends and standing poses, they concluded that the best way to get a mental lift is to bend over backwards.

And the effect works both ways. Just as physical exercise can boost the brain, mental exercise can boost the body. In 2001, researchers at the Cleveland Clinic Foundation in Ohio asked volunteers to spend just 15 minutes a day thinking about exercising their biceps. After 12 weeks, their arms were 13 per cent stronger.

Nuns on a run

If you don't want senility to interfere with your old age, perhaps you should seek some sisterly guidance

THE convent of the School Sisters of Notre Dame on Good Counsel Hill in Mankato, Minnesota, might seem an unusual place for a pioneering brain-science experiment. But a study of its 75 to 107-year-old inhabitants is revealing more about keeping the brain alive and healthy than perhaps any other to date. The "Nun study" is a unique collaboration between 678 Catholic sisters recruited in 1991 and Alzheimer's expert David Snowdon of the Sanders-Brown Center on Aging and the University of Kentucky in Lexington.

The sisters' miraculous longevity - the group boasts seven centenarians and many others well on their way - is surely in no small part attributable to their impeccable lifestyle. They do not drink or smoke, they live quietly and communally, they are spiritual and calm and they eat healthily and in moderation. Nevertheless, small differences between individual nuns could reveal the key to a healthy mind in later life.

Some of the nuns have suffered from Alzheimer's disease, but many have avoided any kind of dementia or senility. They include Sister Matthia, who was mentally fit and active from her birth in 1894 to the day she died peacefully in her sleep, aged 104. She was happy and productive, knitting mittens for the poor every day until the end of her life. A post-mortem of Sister Matthia's brain revealed no signs of excessive ageing. But in some other, remarkable cases, Snowdon has found sisters who showed no outwards signs of senility in life, yet had brains that looked as if they were ravaged by dementia.

How did Sister Matthia and the others cheat time? Snowdon's study, which includes an annual barrage of mental agility tests and detailed medical exams, has found several common denominators. The right amount of vitamin folate is one. Verbal ability early in life is another, as are positive emotions early in life, which were revealed by Snowdon's analysis of the personal autobiographical essays each woman wrote in her 20s as she took her vows. Activities, crosswords, knitting and exercising also helped to prevent senility, showing that the old adage "use it or lose it" is pertinent. And spirituality, or the positive attitude that comes from it, can't be overlooked. But individual differences also matter. To avoid dementia, your general health may be vital: metabolic problems, small strokes and head injuries seem to be common triggers of Alzheimer's dementia.

Obviously, you don't have to become a nun to stay mentally agile. We can all aspire to these kinds of improvements. As one of the sisters put it, "Think no evil, do no evil, hear no evil, and you will never write a best-selling novel."

Attention seeking

You can be smart, well-read, creative and knowledgeable, but none of it is any use if your mind isn't on the job

PAYING attention is a complex mental process, an interplay of zooming in on detail and stepping back to survey the big picture. So unfortunately there is no single remedy to enhance your concentration. But there are a few ways to improve it.

The first is to raise your arousal levels. The brain's attentional state is controlled by the neurotransmitters dopamine and noradrenalin. Dopamine encourages a persistent, goal-centred state of mind whereas noradrenalin produces an outward-looking, vigilant state. So not surprisingly, anything that raises dopamine levels can boost your powers of concentration.

One way to do this is with drugs such as amphetamines and the ADHD drug methylphenidate, better known as Ritalin. Caffeine also works. But if you prefer the drug-free approach, the best strategy is to sleep well, eat foods packed with slow-release sugars, and take lots of exercise. It also helps if you are trying to focus on something that you find interesting.

The second step is to cut down on distractions. Workplace studies have found that it takes up to 15 minutes to regain a deep state of concentration after a distraction such as a phone call. Just a few such interruptions and half the day is wasted.

Music can help as long as you listen to something familiar and soothing that serves primarily to drown out background noise. Psychologists also recommend that you avoid working near potential diversions, such as the fridge.

There are mental drills to deal with distractions. College counsellors routinely teach students to recognise when their thoughts are wandering, and catch themselves by saying "Stop! Be here now!" It sounds corny but can develop into a valuable habit. As any Zen meditator will tell you, concentration is as much a skill to be lovingly cultivated as it is a physiochemical state of the brain.

Positive feedback

Thought control is easier than you might imagine

IT SOUNDS a bit New Age, but there is a mysterious method of thought control you can learn that seems to boost brain power. No one quite knows how it works, and it is hard to describe exactly how to do it: it's not relaxation or concentration as such, more a state of mind. It's called neurofeedback. And it is slowly gaining scientific credibility.

Neurofeedback grew out of biofeedback therapy, popular in the 1960s. It works by showing people a real-time measure of some seemingly uncontrollable aspect of their physiology - heart rate, say - and encouraging them to try and change it. Astonishingly, many patients found that they could, though only rarely could they describe how they did it.

More recently, this technique has been applied to the brain - specifically to brain wave activity measured by an electroencephalogram, or EEG. The first attempts were aimed at boosting the size of the alpha wave, which crescendos when we are calm and focused. In one experiment, researchers linked the speed of a car in a computer game to the size of the alpha wave. They then asked subjects to make the car go faster using only their minds. Many managed to do so, and seemed to become more alert and focused as a result.

This early success encouraged others, and neurofeedback soon became a popular alternative therapy for ADHD. There is now good scientific evidence that it works, as well as some success in treating epilepsy, depression, tinnitus, anxiety, stroke and brain injuries.

And to keep up with the times, some experimenters have used brain scanners in place of EEGs. Scanners can allow people to see and control activity of specific parts of the brain. A team at Stanford University in California showed that people could learn to control pain by watching the activity of their pain centres (New Scientist, 1 May 2004, p 9).

But what about outside the clinic? Will neuro feedback ever allow ordinary people to boost their brain function? Possibly. John Gruzelier of Imperial College London has shown that it can improve medical students' memory and make them feel calmer before exams. He has also shown that it can improve musicians' and dancers' technique, and is testing it out on opera singers and surgeons.

Neils Birbaumer from the University of T�bingen in Germany wants to see whether neurofeedback can help psychopathic criminals control their impulsiveness. And there are hints that the method could boost creativity, enhance our orgasms, give shy people more confidence, lift low moods, alter the balance between left and right brain activity, and alter personality traits. All this by the power of thought.

Keep it clean in 19 minutes

Book page

From: http://www.realsimple.com/realsimple/content/print/0,22304,1020737,00.html

Real Simple | The Keep-It-Clean Plan

The Keep-It-Clean Plan

With a plan of attack, you can maintain a sparkling house in just 19 minutes a day

KITCHEN, 4 1/2 minutes daily
Always start with the sink. "Keep it empty and shining," says Marla Cilley, author of Sink Reflections (Bantam, $15) and creator of www.FlyLady.net, a housekeeping website. A sparkling sink becomes your kitchen's benchmark for hygiene and tidiness, inspiring you to load the dishwasher immediately and keep counters, refrigerator doors, and the stove top spick-and-span, too.
  • Wipe down the sink after doing the dishes or loading the dishwasher (30 seconds).
  • Wipe down the stove top (one minute).
  • Wipe down the counters (one minute).
  • Sweep, Swiffer, or vacuum the floor (two minutes).


BATHROOM, 2 minutes daily
Make cleaning the basin as routine as washing your hands. But don't stop there. Get the most out of your premoistened wipe by using it to clean around the edges of the tub and then the toilet before tossing it.
  • Wipe out the sink (30 seconds). Wipe the toilet seat and rim (15 seconds).
  • Swoosh the toilet bowl with a brush (15 seconds).
  • Wipe the mirror and faucet (15 seconds).
  • Squeegee the shower door (30 seconds).
  • Spray the entire shower and the curtain liner with shower mist after every use (15 seconds).


BEDROOM, 6 1/2 minutes daily
Make your bed right before or after your morning shower. A neat bed with inspire you to deal with other messes immediately. Although smoothing sheets and plumping pillows might not seen like a high priority as you're rushing to work, the payoff comes at the end of the day, when you slip back under the unruffled covers.
  • Make the bed (two minutes).
  • Fold or hang clothing and put away jewelry (four minutes).
  • Straighten out the night-table surface (30 seconds).


FAMILY ROOM, LIVING ROOM, FOYER, 6 minutes daily
Start with the sofa — as long as it's in disarray, your living room will never look tidy. Once you've fluffed the pillows and folded the throws, you're halfway home. If you pop in a CD while you dust, you should be able cover the whole room by the end of the third track.
  • Pick up crumbs and dust bunnies with a handheld vacuum (one minute).
  • Fluff the cushions and fold throws after use (two minutes).
  • Wipe tabletops and spot-clean cabinets when you see fingerprints (one minute).
  • Straighten coffee-table books and magazines. Throw out newspapers. Put away CDs and videos. (Two minutes.)

Pages