A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of...

26
A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge

Transcript of A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of...

Page 1: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

A PPARC funded project

AstroGrid and OGSA-DAI: Early experiences

Kona AndrewsGuy Rixon

Institute of Astronomy University of Cambridge

Page 2: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Data Set Access: The DataCenter

DataCenter component

DataAccessPlug-in

Data

Web Services

Tomcat / Axis

Page 3: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

DataCenter JDBC plug-in

DataCenter component

JDBC

DBMS

Web Services

Tomcat / Axis

Page 4: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

DataCenter custom plug-in

DataCenter component

File querier

FITS files

Web Services

Tomcat / Axis

Page 5: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

DataCenter proxy plug-in

DataCenter component

Service proxy

Vizier

Web Services

Tomcat / Axis

Page 6: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

What we imagined

OGSA-DAI

Web Services

DataCenter Component

OGSA-DAI client plug-in

Tomcat / Axis

Grid Service Ports

Tomcat / OGSA

Page 7: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Problem

OGSA-DAI

Web Services

DataCenter Component

OGSA-DAI client plug-in

Tomcat / Axis

Grid Service Ports

Tomcat / OGSA

Page 8: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Problem

OGSA-DAI

Web Services

DataCenter Component

OGSA-DAI client plug-in

Tomcat / Axis

Grid Service Ports

Tomcat / OGSA

Page 9: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Nasty solution

OGSA-DAI

Web Services

DataCenter Component

OGSA-DAI “client” plug-in

Tomcat / Axis

Grid Ports

Tomcat / OGSA

OGSA-DAIclient

Separate JVM

Page 10: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMSADQL

Page 11: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQLADQL

SQL

Page 12: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQL

sqlQueryStatement

ADQL

SQL SQL

Page 13: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQL

sqlQueryStatement

ADQL

SQL

Result rows

SQL

(to XML RowSet)

Page 14: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQL

sqlQueryStatement

deliverFromURL

(to XML RowSet)

ADQL

SQL

Result rows

SQL

Page 15: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQL

sqlQueryStatement

xslTransform

deliverFromURL

(to XML RowSet)

ADQL

SQL

Result rows

SQL

VOTable

Page 16: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQL

sqlQueryStatement

xslTransform

deliverToFile / deliverToGFTP

deliverFromURL

(to XML RowSet)

ADQL

SQL

VOTable

Result rows

SQL

Page 17: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Current use of OGSA-DAI activities

DataCenter

OGSA-DAI

PostgresDBMS

ADQL to

SQL

sqlQueryStatement

xslTransform

deliverToFile / deliverToGFTP

deliverFromURL

(to XML RowSet)

ADQL

SQL

VOTable

Result rows

SQL

Deliver results

Page 18: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Comments

Astronomers often need LARGE result sets

Thousands to millions of rows

Memory usage is a big issue

OGSA-DAI 3.1 much better than 3.0

xslTransform activity hogging memory

Page 19: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

OGSA-DAI speed penalty

0

10

20

30

40

1e3 1e4 1e5 2e5 4e5 1e6 2e6

Number of result rows

Rough figures only

Measured without xslTransform activity

Will likely vary with available memory

Page 20: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Planned extension: User tables

OGSA-DAI

DBMSDataCenter

R/ODatasets

Query Query results

Page 21: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Planned extension: User tables

OGSA-DAI

DBMSDataCenter

R/ODatasets

Usertables

Query Query results Data flow

GDS to GDS transfer

Bulk load

OGSA-DAI

Page 22: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

DBMS

Planned extension: User tables

OGSA-DAI

DBMSDataCenter

DataCenter

OGSA-DAI

Table Manager

R/ODatasets

Usertables

Query Query results Data flow

Page 23: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

DBMS

Planned extension: User tables

OGSA-DAI

DBMSDataCenter

DataCenter

OGSA-DAI

Table Manager

Client

User data

R/ODatasets

Usertables

Query Query results Data flow

Page 24: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Comments

Will be relying on sqlBulkLoadRowSet (!)

Table management facilities currently thin

Not using X.509 auth at user granularity

Still require W/S-based access to G/S

Page 25: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

Our needs

Ability to handle very large result sets - Don’t rely on loading whole result set into memory!

Suite of DB/table management activities- List tables in DB

- Describe table column types / space usage

- Last access/modification time

- Etc etc etc

Ability to create and delete indices on tables

Ultra-simple installation procedures

Page 26: A PPARC funded project AstroGrid and OGSA-DAI: Early experiences Kona Andrews Guy Rixon Institute of Astronomy University of Cambridge.

OGSA-DAI UG Meeting AstroGrid and OGSA-DAI: Early experiences 07-04-2004

The End

www.astrogrid.org