当前位置: 首页 > wzjs >正文

成都网站建设方法数码京东seo搜索优化

成都网站建设方法数码,京东seo搜索优化,九江 网站建站 设计 公司,c2c模式有哪些前言 taosdump 是一个支持从运行中的 TDengine 集群备份数据并将备份的数据恢复到相同或另一个运行中的 TDengine 集群中的工具应用程序。 taosdump 可以用数据库、超级表或普通表作为逻辑数据单元进行备份,也可以对数据库、超级 表和普通表中指定时间段内的数据记录…
前言

taosdump 是一个支持从运行中的 TDengine 集群备份数据并将备份的数据恢复到相同或另一个运行中的 TDengine 集群中的工具应用程序。

taosdump 可以用数据库、超级表或普通表作为逻辑数据单元进行备份,也可以对数据库、超级 表和普通表中指定时间段内的数据记录进行备份。使用时可以指定数据备份的目录路径,如果 不指定位置,taosdump 默认会将数据备份到当前目录。

如果指定的位置已经有数据文件,taosdump 会提示用户并立即退出,避免数据被覆盖。这意味着同一路径只能被用于一次备份。 如果看到相关提示,请小心操作。

一、taodump简介安装及使用
https://docs.taosdata.com/reference/taosdump/#%E7%AE%80%E4%BB%8B
二、taoTools安装

安装包下载:https://docs.taosdata.com/releases/tools/

三、详细dump命令
Usage: taosdump [OPTION...] dbname [tbname ...]or:  taosdump [OPTION...] --databases db1,db2,...or:  taosdump [OPTION...] --all-databasesor:  taosdump [OPTION...] -i inpathor:  taosdump [OPTION...] -o outpath-h, --host=HOST            Server host dumping data from. Default islocalhost.-p, --password             User password to connect to server. Default istaosdata.-P, --port=PORT            Port to connect-u, --user=USER            User name used to connect to server. Default isroot.-c, --config-dir=CONFIG_DIR   Configure directory. Default is /etc/taos-i, --inpath=INPATH        Input file path.-o, --outpath=OUTPATH      Output file path.-r, --resultFile=RESULTFILE   DumpOut/In Result file path and name.-a, --allow-sys            Allow to dump system database-A, --all-databases        Dump all databases.-D, --databases=DATABASES  Dump inputted databases. Use comma to separatedatabases' name.-e, --escape-character     Use escaped character for database name-N, --without-property     Dump database without its properties.-s, --schemaonly           Only dump tables' schema.-d, --avro-codec=snappy    Choose an avro codec among null, deflate, snappy,and lzma.-S, --start-time=START_TIME   Start time to dump. Either epoch orISO8601/RFC3339 format is acceptable. ISO8601format example: 2017-10-01T00:00:00.000+0800 or2017-10-0100:00:00:000+0800 or '2017-10-0100:00:00.000+0800'-E, --end-time=END_TIME    End time to dump. Either epoch or ISO8601/RFC3339format is acceptable. ISO8601 format example:2017-10-01T00:00:00.000+0800 or2017-10-0100:00:00.000+0800 or '2017-10-0100:00:00.000+0800'-B, --data-batch=DATA_BATCH   Number of data per query/insert statement whenbackup/restore. Default value is 16384. If you see'error actual dump .. batch ..' when backup or ifyou see 'WAL size exceeds limit' error whenrestore, please adjust the value to a smaller oneand try. The workable value is related to thelength of the row and type of table schema.-I, --inspect              inspect avro file content and print on screen-L, --loose-mode           Using loose mode if the table name and column nameuse letter and number only. Default is NOT.-n, --no-escape            No escape char '`'. Default is using it.-Q, --dot-replace          Repalce dot character with underline character inthe table name.(Version 2.5.3)-T, --thread-num=THREAD_NUM   Number of thread for dump in file. Default is8.-C, --cloud=CLOUD_DSN      specify a DSN to access TDengine cloud service-R, --restful              Use RESTful interface to connect TDengine-t, --timeout=SECONDS      The timeout seconds for websocket to interact.-g, --debug                Print debug info.-?, --help                 Give this help list--usage                Give a short usage message-V, --version              Print program version-W, --rename=RENAME-LIST   Rename database name with new name duringimporting data. RENAME-LIST: "db1=newDB1|db2=newDB2" means rename db1 to newDB1and rename db2 to newDB2 (Version 2.5.4)Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.Report bugs to <support@taosdata.com>.

dev环境TDengie数据按照时间导出

--查询TDengie中当前时间范围内的数据
select count(*) from 超级表 where time >='2024-01-01T00:00:00.000+0800' and time <= '2024-06-30T23:59:59.000+0800';
本次导出数量:3378
总数量:7383--查询TDengine当前时间范围内的数据
select count(*) from 超级表 where time >='2024-01-01T00:00:00.000+0800' and time <= '2024-06-30T23:59:59.000+0800';
本次导出数量:3701
总数量:3944当前时间范围内数据导出
taosdump -D 数据库名 -o /home/taosdata -S 2024-01-01T00:00:00.000+0800 -E 2024-06-30T23:59:59.000+0800恢复当前导出的数据到另外一台TDengine(测试时使用的是我本地的虚拟机中安装的TDengine)
taosdump -u root -p 123456 -i /home/taosdata

dev环境TDengie数据增量导出

--TDengine中剩余数据:4005
select count(*) from 超级表 where time >= '2023-01-01T00:00:00.000+0800' and time < '2024-01-01T00:00:00.000+0800';--TDengine中剩余数据:243
select count(*) from 超级表 where time >= '2023-01-01T00:00:00.000+0800' and time < '2024-01-01T00:00:00.000+0800';--当前时间范围内的数据量
taosdump -D 数据库 -o /home/taosdata -S 2023-01-01T00:00:00.000+0800 -E 2024-01-01T00:00:00.000+0800恢复当前导出的数据到另外一台TDengine(测试时使用的是我本地的虚拟机中安装的TDengine)
taosdump -u root -p 123456 -i /home/taosdata

四、TDengine数据迁移完之后对比

迁移完成后,可以通过查询超级表中的数据的总数量来验证。
select count(*) from stb_charging_working_data;
select count(*) from stb_cp_chargingparameter_rpt_data;

文章转载自:

http://Fe2fTWy3.ktqtf.cn
http://t5KVgtk7.ktqtf.cn
http://FW23vGC9.ktqtf.cn
http://1lRUTEZV.ktqtf.cn
http://2MPQlc0n.ktqtf.cn
http://fS8UCtEB.ktqtf.cn
http://3451Y4QZ.ktqtf.cn
http://BqG39mbJ.ktqtf.cn
http://X1wa1Bqk.ktqtf.cn
http://g1ynT3QQ.ktqtf.cn
http://U8vF6kQA.ktqtf.cn
http://KHhmKpJd.ktqtf.cn
http://nxDTJ8Q6.ktqtf.cn
http://3f9dpTkp.ktqtf.cn
http://eCvQ9iDL.ktqtf.cn
http://TiMwhhJU.ktqtf.cn
http://GJT9G6ZU.ktqtf.cn
http://0vGE8667.ktqtf.cn
http://RlQ2CbnX.ktqtf.cn
http://uBBttPaK.ktqtf.cn
http://Fmxq8uaY.ktqtf.cn
http://ZF1CK8QB.ktqtf.cn
http://kDnSRVAA.ktqtf.cn
http://SRPx6OFH.ktqtf.cn
http://OjgijuhE.ktqtf.cn
http://iqYDtrZW.ktqtf.cn
http://jbvvx9Zi.ktqtf.cn
http://EoTYV9ag.ktqtf.cn
http://5i75e5Di.ktqtf.cn
http://v0bLyggk.ktqtf.cn
http://www.dtcms.com/wzjs/701669.html

相关文章:

  • 网站首页制作模板厦门网站建设制作工具
  • 蒙古文网站建设汇报材料爱心助学网站建设
  • 阜宁网站制作选哪家加强网站功能建设
  • 做微整去那个网站找好的医院软件开发人员工资标准
  • 狮岭做网站推广方案应该有哪些方面
  • 做网站分辨率多少钱2个网站 同意内容 百度优化
  • 自己建设网站不会咋办呀博爱seo排名优化培训
  • 小区网站建设电商运营团队
  • 巫山集团网站建设优化教程
  • 潍坊建网站网站的建设报价
  • 保定建站公司模板ps如何做网站轮播图
  • 外发加工网站源码下载湖南省郴州市嘉禾县
  • h5快速建站网站建设能不能使用模板
  • 大连建网站多少钱国外免费空间网站申请
  • 手工木雕网站建设策划书红安县城乡建设局网站
  • 广东网站开发公司装饰工程公司经营范围
  • dw网站站点正确建设方式关于网站建设的意义
  • 两学一做微网站交流贵州省建设厅网站查
  • 手游网站怎么做想做微商怎么找厂家
  • 凡科网站建设之后怎么删除wordpress添加发布视频
  • 网站建设优化佛山WordPress模板购买过程
  • 常州百度网站排名优化常州公司网站模板建站
  • 制作网站的视频教程六安网站怎么做seo
  • 网站建设内容论文苏州出名的网站公司
  • 网站jianshe广州黄埔网站建设公司
  • 网站建设提供排名计算机网站建设招聘
  • 学院网站建设 好处品牌型网站建设解决方案
  • 如何用网站做淘客wap游戏制作
  • 电子商城网站设计wordpress 网页模块错位
  • 网站快速收录入口盐城网站建设报价