You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh-4.4$ /home/yashan/bin/yasboot sql -d sys/yasdb_123@10.108.8.69:1688
YashanDB SQL Personal Edition Release 23.1.1.100 x86_64
Connected to:
YashanDB Server Personal Edition Release 23.1.1.100 x86_64 - X86 64bit Linux
SQL> create table test5(c1 int, c2 int, c3 int);
begin
for i in 1..10000 loop
insert into test5 values (i,i,i);
end loop;
commit ;
end;
/create table test5(c1 int, c2 int, c3 int);
begin
for i in 1..10000 loop
insert into test5 values (i,i,i);
end loop;
commit ;
end;
Succeed.
SQL> 2 3 4 5 6 7
/
PL/SQL Succeed.
SQL> select count(*) from test5;
select count(*) from test5;
COUNT(*)
---------------------
10000
1 row fetched.
SQL>
Restart cluster with kbcli
➜ ~ kbcli cluster restart yashantest
Please type the name again(separate with white space when more than one): yashantest
OpsRequest yashantest-restart-lbp24 created successfully, you can view the progress:
kbcli cluster describe-ops yashantest-restart-lbp24 -n default
the table lost
➜ ~ kubectl exec -it yashantest-yashandb-compdef-0 sh
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
sh-4.4$ /home/yashan/bin/yasboot sql -d sys/yasdb_123@10.108.8.69:1688
YashanDB SQL Personal Edition Release 23.1.1.100 x86_64
Connected to:
YashanDB Server Personal Edition Release 23.1.1.100 x86_64 - X86 64bit Linux
SQL> select count(*) from test5;
select count(*) from test5;
[1:22]YAS-02012 table or view does not exist
I also tried with shutdown, encountered following problem
SQL> create table test5(c1 int, c2 int, c3 int);
begin
for i in 1..10000 loop
insert into test5 values (i,i,i);
end loop;
commit ;
end;
/create table test5(c1 int, c2 int, c3 int);
begin
for i in 1..10000 loop
insert into test5 values (i,i,i);
end loop;
commit ;
end;
Succeed.
SQL> 2 3 4 5 6 7
/
PL/SQL Succeed.
SQL> select count(*) from test5;
select count(*) from test5;
COUNT(*)
---------------------
10000
1 row fetched.
SQL> shutdown immediate;
shutdown immediate;
Succeed.
SQL> command terminated with exit code 137
➜ ~ kubectl exec -it yashantest-yashandb-compdef-0 sh
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
sh-4.4$ /home/yashan/bin/yasdb open &
[1] 247
sh-4.4$ /home/yashan/bin/yasdb: error while loading shared libraries: libyas_server.so.0: cannot open shared object file: No such file or directory
[1]+ Done(127) /home/yashan/bin/yasdb open
sh-4.4$
sh-4.4$ /home/yashan/bin/yasboot sql -d sys/yasdb_123@10.108.8.69:1688
YashanDB SQL Personal Edition Release 23.1.1.100 x86_64
Connected to:
YashanDB Server Personal Edition Release 23.1.1.100 x86_64 - X86 64bit Linux
SQL> select count(*) from test5;
select count(*) from test5;
[1:22]YAS-02012 table or view does not exist
SQL>
The text was updated successfully, but these errors were encountered:
install db:
I also tried with shutdown, encountered following problem
The text was updated successfully, but these errors were encountered: