Ad Widget

Collapse

Using partitioning in database schema

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Danila
    Junior Member
    • May 2006
    • 21

    #1

    Using partitioning in database schema

    Dear developers, don't you think that it is a time to start using partitionings in Mysql & Postgresql database schemas?

    I have 50000 items, (10 sec snmp delay), and zabbix generates about 11 GBytes of data in database and database adds about 7 Gbytes of index per 24 hours!

    To backup and delete data from history_uint and trends_uint I have to use partitioning (don't tell me about housekeeper, it's useless with large databases) on these tables.

    I think, that using partitions "by default" in database schemas would be very much useful for people, who have to operate with large databases.

    Thnx!
    Last edited by Danila; 10-11-2009, 12:25.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by Danila
    Dear developers, don't you think that's it is a time to start using partitionings in Mysql & Postgresql database schemas?
    Feel free to use it, we already strongly recommend use of table partitions for large MySQL/Oracle/PostgreSQL databases.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • xsbr
      Junior Member
      Zabbix Certified Specialist
      • Oct 2009
      • 25

      #3
      Originally posted by sersad
      А как это сделать?
      sersad, try this:

      Comment

      • sersad
        Senior Member
        • May 2009
        • 518

        #4
        Originally posted by xsbr
        Thanks! My database is postgres, this manual for mysql

        Comment

        • sire
          Senior Member
          • Jul 2010
          • 210

          #5
          See this thread: http://www.zabbix.com/forum/showthread.php?t=14208
          And this article: http://www.zabbix.com/wiki/howto/db/postgres/partition
          Last edited by sire; 28-06-2011, 17:22. Reason: Added link to wiki
          Regards,
          Sergey Syreskin

          Monitored hosts: 2646 / Active items: 23604 / Server performance: 765.74

          Temporary out of Zabbix business

          Comment

          Working...