Comments (6)
@brunoinds, could you please let us know what version of SQLite you are running on the server?
from pulse.
Could you also try running the following two commands directly against the database and let us know if any of them succeed or fail?
Original...
select (select "key" from "pulse_entries" as "keys" where "keys"."key_hash" = "aggregated"."key_hash" limit 1) as "key", "cache_hit", "cache_miss" from (select "key_hash", sum("cache_hit") as "cache_hit", sum("cache_miss") as "cache_miss" from (select * from (select "key_hash", count(case when ("type" = cache_hit) then true else null end) as "cache_hit", count(case when ("type" = cache_miss) then true else null end) as "cache_miss" from "pulse_entries" where "type" in (cache_hit, cache_miss) and "timestamp" >= 1711483641 and "timestamp" <= 1711483679 group by "key_hash") union all select * from (select "key_hash", sum(case when ("type" = cache_hit) then "value" else null end) as "cache_hit", sum(case when ("type" = cache_miss) then "value" else null end) as "cache_miss" from "pulse_aggregates" where "period" = 60 and "type" in (cache_hit, cache_miss) and "aggregate" = count and "bucket" >= 1711483680 group by "key_hash")) as "results" group by "key_hash" order by "cache_hit" desc limit 101) as "aggregated"
Modified...
select (select "key" from "pulse_entries" as "keys" where "keys"."key_hash" = "aggregated"."key_hash" limit 1) as "key", "cache_hit", "cache_miss" from (select "key_hash", sum("cache_hit") as "cache_hit", sum("cache_miss") as "cache_miss" from (select * from (select "key_hash", count(case when ("type" = cache_hit) then 1 else null end) as "cache_hit", count(case when ("type" = cache_miss) then 1 else null end) as "cache_miss" from "pulse_entries" where "type" in (cache_hit, cache_miss) and "timestamp" >= 1711483641 and "timestamp" <= 1711483679 group by "key_hash") union all select * from (select "key_hash", sum(case when ("type" = cache_hit) then "value" else null end) as "cache_hit", sum(case when ("type" = cache_miss) then "value" else null end) as "cache_miss" from "pulse_aggregates" where "period" = 60 and "type" in (cache_hit, cache_miss) and "aggregate" = count and "bucket" >= 1711483680 group by "key_hash")) as "results" group by "key_hash" order by "cache_hit" desc limit 101) as "aggregated"
from pulse.
@brunoinds, could you please let us know what version of SQLite you are running on the server?
SQLite version: 3.7.17
from pulse.
Could you also try running the following two commands directly against the database and let us know if any of them succeed or fail?
Original...
select (select "key" from "pulse_entries" as "keys" where "keys"."key_hash" = "aggregated"."key_hash" limit 1) as "key", "cache_hit", "cache_miss" from (select "key_hash", sum("cache_hit") as "cache_hit", sum("cache_miss") as "cache_miss" from (select * from (select "key_hash", count(case when ("type" = cache_hit) then true else null end) as "cache_hit", count(case when ("type" = cache_miss) then true else null end) as "cache_miss" from "pulse_entries" where "type" in (cache_hit, cache_miss) and "timestamp" >= 1711483641 and "timestamp" <= 1711483679 group by "key_hash") union all select * from (select "key_hash", sum(case when ("type" = cache_hit) then "value" else null end) as "cache_hit", sum(case when ("type" = cache_miss) then "value" else null end) as "cache_miss" from "pulse_aggregates" where "period" = 60 and "type" in (cache_hit, cache_miss) and "aggregate" = count and "bucket" >= 1711483680 group by "key_hash")) as "results" group by "key_hash" order by "cache_hit" desc limit 101) as "aggregated"Modified...
select (select "key" from "pulse_entries" as "keys" where "keys"."key_hash" = "aggregated"."key_hash" limit 1) as "key", "cache_hit", "cache_miss" from (select "key_hash", sum("cache_hit") as "cache_hit", sum("cache_miss") as "cache_miss" from (select * from (select "key_hash", count(case when ("type" = cache_hit) then 1 else null end) as "cache_hit", count(case when ("type" = cache_miss) then 1 else null end) as "cache_miss" from "pulse_entries" where "type" in (cache_hit, cache_miss) and "timestamp" >= 1711483641 and "timestamp" <= 1711483679 group by "key_hash") union all select * from (select "key_hash", sum(case when ("type" = cache_hit) then "value" else null end) as "cache_hit", sum(case when ("type" = cache_miss) then "value" else null end) as "cache_miss" from "pulse_aggregates" where "period" = 60 and "type" in (cache_hit, cache_miss) and "aggregate" = count and "bucket" >= 1711483680 group by "key_hash")) as "results" group by "key_hash" order by "cache_hit" desc limit 101) as "aggregated"
It returns:
SQLSTATE[HY000]: General error: 1 no such column: cache_hit (Connection: sqlite, SQL: select (select "key" from "pulse_entries" as "keys" where "keys"."key_hash" = "aggregated"."key_hash" limit 1) as "key", "cache_hit", "cache_miss" from (select "key_hash", sum("cache_hit") as "cache_hit", sum("cache_miss") as "cache_miss" from (select * from (select "key_hash", count(case when ("type" = cache_hit) then 1 else null end) as "cache_hit", count(case when ("type" = cache_miss) then 1 else null end) as "cache_miss" from "pulse_entries" where "type" in (cache_hit, cache_miss) and "timestamp" >= 1711483641 and "timestamp" <= 1711483679 group by "key_hash") union all select * from (select "key_hash", sum(case when ("type" = cache_hit) then "value" else null end) as "cache_hit", sum(case when ("type" = cache_miss) then "value" else null end) as "cache_miss" from "pulse_aggregates" where "period" = 60 and "type" in (cache_hit, cache_miss) and "aggregate" = count and "bucket" >= 1711483680 group by "key_hash")) as "results" group by "key_hash" order by "cache_hit" desc limit 101) as "aggregated")
from pulse.
SQLite version: 3.7.17
Do note that Laravel 10 requires 3.8.8
and Laravel 11 requires 3.35.0
as minimum.
https://laravel.com/docs/10.x/database
from pulse.
SQLite version: 3.7.17
Do note that Laravel 10 requires
3.8.8
and Laravel 11 requires3.35.0
as minimum.
Ok! I did not realized that. Thanks!
from pulse.
Related Issues (20)
- Change logo for the dark theme HOT 1
- Integrate Pulse into Nova? HOT 1
- TypeError in `Pulse::rememberUser()` (Logout Event) HOT 1
- 500 Server Error displaying HOT 1
- UI issue (supports-scrollbars:pr-3) HOT 1
- Unexpected Alpine.js Errors in Laravel Pulse Dashboard HOT 7
- Add supervisor configuration HOT 1
- Update the link in the About section HOT 2
- Please make Supervisor card HOT 1
- Laravel pulse returns 404 HOT 1
- Deadlocks on insert (in production) HOT 1
- Add table prefix on raw expressions when a table name is in the string HOT 1
- Rendering of very long slow SQL queries slows down the page HOT 2
- High Cpu Usage HOT 1
- Logical error with period/bucket calculations HOT 1
- Associate all data with originating server HOT 1
- Volt component in Volt route throws "htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given." in Slow Requests Card HOT 2
- Migration fails with database prefix longer than 3 chars HOT 2
- Could not publish migrations as per instructions HOT 2
- Gate is overwritten by package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulse.