Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Device IDs in Home Center - Reclaim or Cleanup unused IDs?


Question

Posted

After almost 2 years running Home Center 2 and a vast number of firmware releases, the device IDs have been sequentially increasing with every new inclusion of devices. In my setup, actual number of z-wave devices is around 40-50 (didn't actually count) but the device IDs now runs at 77x, largely due to many many inclusion and exclusion and re-inclusion of devices.

 

Is there anyway to clean up the unused device IDs and reclaim them for use?

Does the sequential device IDs, even unused ones, increase the database size or table size? If so, what is the performance impact?

 

While HC2 is significantly more powerful and the impact may not be significant, how about the same set of questions/assessments on HCL?

 

 

 

In my humble opinion, it may not be causing harm or hurt now but it is always good to be proactive and start thinking of a game plan for database housekeeping and optimisation - something typical programmers/developers are poor at or overlook while operational folks are familiar with.

5 answers to this question

Recommended Posts

  • 0
Posted

I agree with you that database housekeeping and optimization is important. I just hope that deleting of devices after making backup is not part of that optimization

Please login or register to see this image.

/emoticons/default_biggrin.png" alt=":D" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

  • 0
Posted

After almost 2 years running Home Center 2 and a vast number of firmware releases, the device IDs have been sequentially increasing with every new inclusion of devices. In my setup, actual number of z-wave devices is around 40-50 (didn't actually count) but the device IDs now runs at 77x, largely due to many many inclusion and exclusion and re-inclusion of devices.

 

Is there anyway to clean up the unused device IDs and reclaim them for use?

Does the sequential device IDs, even unused ones, increase the database size or table size? If so, what is the performance impact?

 

While HC2 is significantly more powerful and the impact may not be significant, how about the same set of questions/assessments on HCL?

 

 

 

In my humble opinion, it may not be causing harm or hurt now but it is always good to be proactive and start thinking of a game plan for database housekeeping and optimisation - something typical programmers/developers are poor at or overlook while operational folks are familiar with.

 

Hello,

 

There is no such tool to do reclaim the unused IDs. Only recover without backup would do the thing, but I assume that you do not want to do that. I can assure you that the fact that IDs seem to be scrambled it does not affect the devices, scenes, etc. Moreover, it does not affect the performance of the gateway.

  • 0
Posted

Still question remains why HC occasionally deletes devices, unfortunately those which actually work perfectly and are not dead?

  • 0
  • Inquirer
  • Posted

    Hello,

     

    There is no such tool to do reclaim the unused IDs. Only recover without backup would do the thing, but I assume that you do not want to do that. I can assure you that the fact that IDs seem to be scrambled it does not affect the devices, scenes, etc. Moreover, it does not affect the performance of the gateway.

     

    Yes, I understand there is no such tool at the moment. What I am pointing out is exactly that - no tool too housekeep the system and optimise the database or whatsoever to improve system stability and performance.

     

    Does Home Center has some form of a SQL database in the system?

     

    If so, any experienced DBA will know that over time, the database will become not optimal, sluggish, abnormal behaviour, etc and housekeep is required.

     

    Here is an example of some other product which has recently added a simple mechanism/ability to do some housekeep of the system as it has been found that over long period of running, there are bound to be build up of logs and database (whitespace or whatever terminology is called) is not optimal.

     

    Please login or register to see this attachment.

     

    Just some suggestion to Fibaro. Whether Fibaro wants to listen or not, it is not a choice I have right. 

    Please login or register to see this image.

    /emoticons/default_icon_rolleyes.gif" alt=":roll:" />

    • 0
    Posted

    Yes, I understand there is no such tool at the moment. What I am pointing out is exactly that - no tool too housekeep the system and optimise the database or whatsoever to improve system stability and performance.

     

    Does Home Center has some form of a SQL database in the system?

     

    If so, any experienced DBA will know that over time, the database will become not optimal, sluggish, abnormal behaviour, etc and housekeep is required.

     

    Here is an example of some other product which has recently added a simple mechanism/ability to do some housekeep of the system as it has been found that over long period of running, there are bound to be build up of logs and database (whitespace or whatever terminology is called) is not optimal.

     

    Please login or register to see this image.

    /public/style_images/master/attachicon.gif" alt="attachicon.gif">

    Please login or register to see this link.

     

    Just some suggestion to Fibaro. Whether Fibaro wants to listen or not, it is not a choice I have right.  :roll:

     

    Hello,

     

    Thank you for the suggestion. I'll make sure that someone from the software team will take a look at it.

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...