title: Migrate relational table to Redis
body: <p>Currently, I have a system that record records at oracle database, a specific table. I'm want change to Redis, but I'm with some doubts.</p>
  <p>Field's table:</p>
  <pre><code>BRAS_INTERFACE  VARCHAR2(30 BYTE)   No      1   
  CLVAN   NUMBER(10,0)    No      2   
  NAS_IDENTIFIER  VARCHAR2(100 BYTE)  No      3   
  NAS_IP_ADDRESS  VARCHAR2(15 BYTE)   No      4   
  SVLAN   NUMBER(10,0)    No      5   
  FRAMED_IP_ADDRESS   VARCHAR2(15 BYTE)   Yes     6   
  CLASS   VARCHAR2(100 BYTE)  Yes     7   
  MAC_ADDRESS VARCHAR2(20 BYTE)   Yes     8   
  PROFILE VARCHAR2(100 BYTE)  Yes     9   
  TIME_STAMP  TIMESTAMP(6)    Yes     10  
  TYPE_TICKET VARCHAR2(10 BYTE)   Yes     11  
  SMART_INTERFACE VARCHAR2(100 BYTE)  Yes     12  
  CVLAN   NUMBER(10,0)    Yes     13  
  </code></pre>
  <p>Constraint's table:</p>
  <pre><code>&quot;BRAS_INTERFACE&quot; IS NOT NULL
  &quot;CLVAN&quot; IS NOT NULL
  &quot;NAS_IDENTIFIER&quot; IS NOT NULL
  &quot;NAS_IP_ADDRESS&quot; IS NOT NULL
  &quot;SVLAN&quot; IS NOT NULL
  </code></pre>
  <p>The table keep PPPoE sessions, when a subscriber go to up, then insert a record, when a subscriber go to down, then delete a record, both cases, the fields: BRAS_INTERFACE, CLVAN, NAS_IDENTIFIER, NAS_IP_ADDRESS and SVLAN useds as constraint.</p>
  <p>I do querys at table by constraints or by any another field.</p>
  <p>With Redis how I can to do some thing like relational table?</p>