6

dolphindb怎么看一个表一共占用了多少磁盘空间?

 3 years ago
source link: https://www.oschina.net/question/4940892_2322025
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

dolphindb怎么看一个表一共占用了多少磁盘空间?

想想这道菜该怎么做 发布于 昨天 17:09

我创建一个表,并写入了数据库,代码如下:

db=database("dfs://db1",VALUE,1 2 3)
timestamp = [09:34:07,09:36:42,09:36:51,09:36:59,09:32:47,09:35:26,09:34:16,09:34:26,09:38:12]
sym = `C`MS`MS`MS`IBM`IBM`C`C`C
price= 49.6 29.46 29.52 30.02 174.97 175.23 50.76 50.32 51.29                        
qty = 2200 1900 2100 3200 6800 5400 1300 2500 8800                                
t = table(timestamp, sym, qty, price)
dt=db.createTable(t,`dt).append!(t)

怎么看这个表dt一共占用了多少磁盘空间?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK