摘要:
查看当前数据库 postgres=# select current_database(); current_database postgres (1 row) 查看数据库用户列表 postgres=# select * from pg_roles; rolname | rolsuper | roli 阅读全文
摘要:
json-c是最主流的json c库。[root@hs-10-20-30-193 build]# cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. -- The C compiler identification is GNU 4.8.5 -- Check for 阅读全文
摘要:
lightdb内置函数可生成 [zjh@hs-10-20-30-193 data]$ ltsql -p9999 ltsql (13.3-22.2) Type "help" for help. zjh@postgres=# select round(random() * 10000000,2); ro 阅读全文
摘要:
有些时候,我们需要在测试时进行sleep,以便判断tps,oracle中如下: SELECT count(1) FROM scott.users; BEGIN DBMS_LOCK.sleep (1); END; / SELECT count(1) FROM scott.users; 需要sys登录先 阅读全文