笠井啓太
2017-08-03 05:58:42 UTC
Execution of Excise does not reduce the disk size.
How can I reduce the disk size?
version: datomic-pro-0.9.5561
backstorage: dynamodb
The code is as follows.
package datomic.samples;
import datomic.Connection;
import datomic.Database;
import datomic.Peer;
import datomic.Util;
import java.util.concurrent.ExecutionException;
public class ExcisionData {
public static void main(String[] args) throws ExecutionException,
InterruptedException {
String uri =
"datomic:ddb://{aws-region}/{dynamodb-table}/{db-name}";
Connection conn = Peer.connect(uri);
conn.transact(Util.list(Util.map(":db/id",
Peer.tempid(":db.part/user"),
":db/excise", ":excisiontest/number",
":db/excise", ":excisiontest/comment"))).get();
conn.gcStrage(new Date());
Peer.shutdown(true);
}
}
How can I reduce the disk size?
version: datomic-pro-0.9.5561
backstorage: dynamodb
The code is as follows.
package datomic.samples;
import datomic.Connection;
import datomic.Database;
import datomic.Peer;
import datomic.Util;
import java.util.concurrent.ExecutionException;
public class ExcisionData {
public static void main(String[] args) throws ExecutionException,
InterruptedException {
String uri =
"datomic:ddb://{aws-region}/{dynamodb-table}/{db-name}";
Connection conn = Peer.connect(uri);
conn.transact(Util.list(Util.map(":db/id",
Peer.tempid(":db.part/user"),
":db/excise", ":excisiontest/number",
":db/excise", ":excisiontest/comment"))).get();
conn.gcStrage(new Date());
Peer.shutdown(true);
}
}
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.