perfsonar-user - Re: [perfsonar-user] reg. measurement database's location
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Andrew Lake <>
- To: Srivatsan Rajagopalan <>
- Cc: Aaron Brown <>,
- Subject: Re: [perfsonar-user] reg. measurement database's location
- Date: Tue, 16 Aug 2011 09:00:34 -0400
Hi Srivatsan, Aaron is out of the office for a few days but i can help you look at the tables. First of all, I would not recommend trying to look at the raw database files. MySQL is not really designed for this type of use of the database. Its much easier to use the mysql program and look at the tables that way. When you SSH into the machine you can run the following command to connect to the database: mysql -u root bwctl Once you connect you's see a "mysql>" prompt where you can enter SQL commands. I'd recommend trying to find a SQL reference online if you are not familiar with it. Here's the basic set of command you'll probably need to run: You can enter "SHOW TABLES;" to get a list of the tables in the database. You should see three tables for each month of data. For example, if you only have data for this month: mysql> SHOW TABLES; +-----------------+ | Tables_in_bwctl | +-----------------+ | 201108_DATA | | 201108_NODES | | 201108_TESTSPEC | | DATES | +-----------------+ 4 rows in set (0.00 sec) The tables ending with TESTSPEC contains the parameters of the test, the NODES table contains information about the endpoints, and the DATA table contains the individual measurements. If you run "SELECT * FROM table_name;" where you replace the table_name with the table you want to look at then you'll be able to see the data (e.g. SELECT * FROM 201108_DATA;). At the top of the result it will label the columns which help interpret what each value means. As aaron said, most of them are reasonably straight forward, so without going through every column, I'll let you take a look. Hopefully that helps you get started. Thanks, Andy On Aug 16, 2011, at 2:00 AM, Srivatsan Rajagopalan wrote: Hi Aaron, |
- Re: [perfsonar-user] reg. measurement database's location, Srivatsan Rajagopalan, 08/16/2011
- Re: [perfsonar-user] reg. measurement database's location, Andrew Lake, 08/16/2011
- Re: [perfsonar-user] reg. measurement database's location, Srivatsan Rajagopalan, 08/17/2011
- Re: [perfsonar-user] reg. measurement database's location, Andrew Lake, 08/17/2011
- Re: [perfsonar-user] reg. measurement database's location, Srivatsan Rajagopalan, 08/17/2011
- Re: [perfsonar-user] reg. measurement database's location, Andrew Lake, 08/16/2011
Archive powered by MHonArc 2.6.16.