Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. One table is growing very fast

One table is growing very fast

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 35.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    Marcin
    wrote on last edited by
    #1

    Hi,

    Could you help to identify why table TDATA_ROWS_1178 is growing very fast?

    SQL> select count(*) from TDATA_ROWS_1178;

      COUNT(*)
    ----------
      18189554

    Yesterday there was 10 million rows, today it is 18 millions rows.
    This table grow by 300MB since yesterday and consumed all available space in tablespace.

    SEGMENT_NAME                                                                      SEGMENT_TYPE      size_in_MB
    --------------------------------------------------------------------------------- ------------------ ----------
    SYS_C0034271                                                                      INDEX                    746
    TDATA_ROWS_1178                                                                  TABLE                    624
    SNMP_TRAP_LOG                                                                    TABLE                  511.1
    SYS_C0034093                                                                      INDEX                    499
    TDATA_ROWS_100                                                                    TABLE                    464

    Best regards,
    Marcin

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Hello

      This table hold rows for table DCI (with large result set). Check DCI settings – how often it's collected and retention time.
      1178 in table name is DCI id, you can either find it in user interface by looking at ID column in last values, or query database directly:

      select op.name,d.name from dc_tables d join object_properties op on op.object_id=d.node_id where d.item_id=1178
      
      1 Reply Last reply
      0
      • M
        M
        Marcin
        wrote on last edited by
        #3

        Hello,

        I tried query database directly:
        SQL> select op.name,d.name from dc_tables d join object_properties op on op.object_id=d.node_id where d.item_id=1178;

        no rows selected

        How can I check it in user interface? For which object I should look for DCI id in Data Collection Configuration or Last Values?
        I don't have ID's higher than 220.

        Best regards,
        Marcin

        1 Reply Last reply
        0
        • M
          M
          Marcin
          wrote on last edited by
          #4

          Ok. I found. 1178 is node_id (object_id), not item_id.
          And this helped me solving the problem (frequent fetching the list of open files) for node 1178.

          Thank you,
          Marcin

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups