Advertisement
Spoth

Untitled

Feb 2nd, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. 0: jdbc:ignite:thin://127.0.0.1/> CREATE TABLE Test (
  2. . . . . . . . . . . . . . . . .)> Key CHAR(10),
  3. . . . . . . . . . . . . . . . .)> Value CHAR(10),
  4. . . . . . . . . . . . . . . . .)> PRIMARY KEY (Key)
  5. . . . . . . . . . . . . . . . .)> ) WITH "BACKUPS=2";
  6. No rows affected (0.553 seconds)
  7. 0: jdbc:ignite:thin://127.0.0.1/> CREATE TABLE Test2 (
  8. . . . . . . . . . . . . . . . .)> Key CHAR(10),
  9. . . . . . . . . . . . . . . . .)> Value CHAR(10),
  10. . . . . . . . . . . . . . . . .)> PRIMARY KEY (Key)
  11. . . . . . . . . . . . . . . . .)> ) WITH "BACKUPS=2,TEMPLATE=REPLICATED";
  12. No rows affected (0.168 seconds)
  13. 0: jdbc:ignite:thin://127.0.0.1/> INSERT INTO Test VALUES ('Sven','Demo');
  14. 1 row affected (0.269 seconds)
  15. 0: jdbc:ignite:thin://127.0.0.1/> INSERT INTO Test2 VALUES ('Sven','Demo');
  16. 1 row affected (0.091 seconds)
  17. 0: jdbc:ignite:thin://127.0.0.1/> commit;
  18. No rows affected (0.014 seconds)
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement