Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3066 (closed)

Opened 9 years ago

Closed 9 years ago

Scenario 21: Delete SPW

Reported by: jburel Owned by: cxallan
Priority: critical Milestone: OMERO-Beta4.2.1
Component: General Version: n.a.
Keywords: n.a. Cc: jamoore, atarkowska
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-11-25 (20)

Description (last modified by jmoore)

  • Delete Plate
  • Delete Plate Acquisition
  • Delete Screen

insight: possible to delete plate, plate acquisition, and screen


web:

  • plate acquisition not visible so not possible to delete.
  • Cannot delete plate Internal error

server:

  • primary issue is very slow deletes on nightshade. (see below for info)
  • possible solutions:
    • upgrade to 8.2.16 on nightshade
    • try rebuilding/recreating indexes on nightshade

Change History (19)

comment:1 Changed 9 years ago by jburel

  • Cc jmoore atarkowska added
  • Description modified (diff)

comment:2 Changed 9 years ago by jburel

  • Owner set to jburel
  • Status changed from new to assigned

comment:3 Changed 9 years ago by jburel

  • Sprint changed from 2010-09-30 (17) to 2010-10-28 (18)

Referencing ticket #3048 has changed sprint.

comment:4 Changed 9 years ago by jburel

  • Status changed from assigned to closed

comment:5 Changed 9 years ago by jmoore

  • Status changed from closed to assigned

comment:6 Changed 9 years ago by jmoore

  • Owner changed from jburel to cblackburn

comment:7 Changed 9 years ago by jmoore

  • Owner changed from cblackburn to cxallan

comment:8 Changed 9 years ago by jburel

  • Sprint changed from 2010-10-28 (18) to 2010-11-11 (19)

Moved from sprint 2010-10-28 (18)

comment:9 Changed 9 years ago by cxallan

OMERO.web: OMERO.web 4.2.1-DEV-r8430-trunk1169 tested fine apart from a similar display issue to #3092.

comment:10 Changed 9 years ago by cxallan

Details from delete performance testing:

lrwxrwxrwx  1 omero omero        38 2010-11-02 17:10 OMERO-CURRENT -> OMERO.server-4.2.1-DEV-r8481-trunk1190

omero@gretzky:~$ time OMERO-CURRENT/bin/omero -s localhost -u cxallan delete Plate:451
Using session 4ceb8e9b-f362-4eeb-8b9f-edf21e4f9676 (cxallan@localhost). Idle timeout: 10.0 min. Current group: default
Deleting Plate (451L,)... ok.

real	4m40.640s
user	0m0.350s
sys	0m0.120s

2010-11-03 12:01:35,327 INFO  [org.perf4j.TimingLogger] (l.Server-4) start[1288785415497] time[279830] tag[omero.delete.tx]


lrwxrwxrwx  1 jboss  jboss         38 Nov  2 22:11 OMERO-CURRENT -> OMERO.server-4.2.1-DEV-r8486-trunk1191

jboss@nightshade ~ $ time OMERO-CURRENT/bin/omero -s localhost -u cxallan delete Plate:54 
Password:
Created session 67dfe46b-4b60-46ae-aaa4-d26687fc0734 (cxallan@localhost). Idle timeout: 10.0 min. Current group: default
Deleting Plate (54L,)... ok.
Traceback (most recent call last):
  File "/usr/lib/python2.4/logging/__init__.py", line 737, in emit
    self.stream.write(fs % msg)
ValueError: I/O operation on closed file

real	26m51.814s
user	0m0.452s
sys	0m0.048s

2010-11-03 12:38:49,173 INFO  [org.perf4j.TimingLogger] (.Server-12) start[1288786328156] time[1601017] tag[omero.delete.tx]

comment:11 Changed 9 years ago by cxallan

Both tests done using gretzky:~jburel/16x24x3Plate.ome (16x24; 384-well; 3 field plate)

comment:12 Changed 9 years ago by jmoore

Major difference I see in diffing the two schemas is:

CREATE INDEX channel_logicalchannel ON channel USING btree (logicalchannel);
CREATE INDEX channel_pixels ON channel USING btree (pixels);
CREATE INDEX channel_statsinfo ON channel USING btree (statsinfo);

i.e. nightshade is missing these 3 indexes.

Nightshade has 255K logical channels, while gretzky has 33K.

A couple of things to try would be:

  • remove the indexes from gretzky and compare
  • add the indexes to nightshade and compare
  • load gretzky with a similar number of logical channels and compare

comment:13 Changed 9 years ago by jmoore

Performance Statistics   02:06:40 - 16:00:00
Tag                                                  Avg(ms)         Min         Max     Std Dev       Count
...
omero.delete.Channel                                     0.6           0          56         1.1        3456
omero.delete.ChannelBinding                              0.4           0          12         0.5        3456
omero.delete.DetectorSettings                          102.3           0         306       144.0           3
omero.delete.Image                                      33.0          32          44         0.8        1152
omero.delete.ImagingEnvironment                         69.1          41         122        23.5        1152
omero.delete.LightPath                                 145.0          64         304        70.1        3456
omero.delete.LightPathEmissionFilterLink                 0.5           0          18         0.6        3456
omero.delete.LightPathExcitationFilterLink               0.4           0          10         0.6        3456
omero.delete.LightSettings                             300.3         300         301         0.5           3
omero.delete.LogicalChannel                              0.6           0          37         0.8        3456
omero.delete.Pixels                                    195.5         113         353        70.9        1152
omero.delete.PlaneInfo                                   0.6           0          11         0.5        3456
omero.delete.Plate                                      56.0          56          56         0.0           1
omero.delete.QuantumDef                                 50.5          23         103        23.7        1152
omero.delete.RenderingDef                                0.8           0           8         0.5        1152
omero.delete.StageLabel                                 70.3          42         123        23.7        1152
omero.delete.StatsInfo                                   0.6           0           3         0.5        3456
omero.delete.Thumbnail                                   0.6           0           2         0.5        1152
omero.delete.Well                                        0.7           0          40         2.1         384
omero.delete.WellSample                                  0.4           0          17         0.8        1152

comment:14 Changed 9 years ago by jmoore

The indexes were probably a red-herring.

Other factors that may be involved:

  • nightshade 8.2.4 v. gretzky 8.4.4
  • vaccuuming?

comment:15 Changed 9 years ago by cxallan

Password:
Created session bca471a0-a230-4d0b-9df9-02ed0c374ce5 (cxallan@localhost). Idle timeout: 10.0 min. Current group: default
Deleting Plate (102L,)... ok.

real 6m24.265s
user 0m0.370s
sys 0m0.190s

Nightshade database, same Plate.

comment:16 Changed 9 years ago by cxallan

Woops.

omero@howe:~$ time OMERO-CURRENT/bin/omero -s localhost -u cxallan delete Plate:102
Password:
Created session bca471a0-a230-4d0b-9df9-02ed0c374ce5 (cxallan@localhost). Idle timeout: 10.0 min. Current group: default
Deleting Plate (102L,)... ok.

real	6m24.265s
user	0m0.370s
sys	0m0.190s

Nightshade database, same Plate.

comment:17 Changed 9 years ago by jmoore

  • Description modified (diff)

comment:18 Changed 9 years ago by jburel

  • Sprint changed from 2010-11-11 (19) to 2020-11-25 (20)

Moved from sprint 2010-11-11 (19)

comment:19 Changed 9 years ago by jburel

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.77371 sec.)

We're Hiring!