You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by geeky2 <ge...@hotmail.com> on 2012/07/11 20:00:36 UTC

need help understanding times used in dataimport?command=status

hello all,

i noticed something in one of our logs that periodically polls the status of
an data import.

can someone help me understand where / how the "times" for "Full Dump
Started" are derived?

here it shows the dataimport dump starting at 1:32


<?xml version="1.0" encoding="UTF-8"?>
<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">0</int>
  </lst>
  <lst name="initArgs">
    <lst name="defaults">
      <str name="config">db-data-config.xml</str>
    </lst>
  </lst>
  <str name="command">status</str>
  <str name="status">busy</str>
  <str name="importResponse">A command is still running...</str>
  <lst name="statusMessages">
    <str name="Time Elapsed">0:0:8.182</str>
    <str name="Total Requests made to DataSource">2</str>
    <str name="Total Rows Fetched">18834</str>
    <str name="Total Documents Processed">18818</str>
    <str name="Total Documents Skipped">0</str>
    *<str name="Full Dump Started">2012-07-11 01:32:18</str>*
  </lst>
  <str name="WARNING">This response format is experimental. It is likely to
change in the future.</str>
</response>



however - here is shows the dump starting at 2:17

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">0</int>
  </lst>
  <lst name="initArgs">
    <lst name="defaults">
      <str name="config">db-data-config.xml</str>
    </lst>
  </lst>
  <str name="command">status</str>
  <str name="status">busy</str>
  <str name="importResponse">A command is still running...</str>
  <lst name="statusMessages">
    <str name="Time Elapsed">0:45:8.373</str>
    <str name="Total Requests made to DataSource">3</str>
    <str name="Total Rows Fetched">8138060</str>
    <str name="Total Documents Skipped">0</str>
    *<str name="Full Dump Started">2012-07-11 02:17:11</str>*
  </lst>
  <str name="WARNING">This response format is experimental. It is likely to
change in the future.</str>
</response>




<?xml version="1.0" encoding="UTF-8"?>
<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">0</int>
  </lst>
  <lst name="initArgs">
    <lst name="defaults">
      <str name="config">db-data-config.xml</str>
    </lst>
  </lst>
  <str name="command">status</str>
  <str name="status">idle</str>
  <str name="importResponse"/>
  <lst name="statusMessages">
    <str name="Total Requests made to DataSource">3</str>
    <str name="Total Rows Fetched">8528239</str>
    <str name="Total Documents Skipped">0</str>
    *<str name="Full Dump Started">2012-07-11 02:17:11</str>*
    <str name="">Indexing completed. Added/Updated: 8464051 documents.
Deleted 0 documents.</str>
    *<str name="Committed">2012-07-11 02:21:17</str>*
    *<str name="Optimized">2012-07-11 02:21:17</str>*
    <str name="Total Documents Processed">8464051</str>
    *<str name="Time taken ">0:48:58.712</str>*
  </lst>
  <str name="WARNING">This response format is experimental. It is likely to
change in the future.</str>
</response>



--
View this message in context: http://lucene.472066.n3.nabble.com/need-help-understanding-times-used-in-dataimport-command-status-tp3994437.html
Sent from the Solr - User mailing list archive at Nabble.com.