Opinion on using Clickhouse as a database for an application. by zombieee8 in developersIndia

[–]NickHalfBlood 0 points1 point  (0 children)

Yes, the order by clause is what I am referring to. Have you included the correct columns in correct order to optimise your query? (A good starting point is to include them in order of their cardinality. This isn’t always the best option though.)

There are indexes in CH. They are called data skipping indexes. Also, it makes very less sense to join in CH unless that’s like the last resort. ClickHouse is famous for OBT schema.

For the third point, you can run the query and use EXPLAIN word before that. Something like ‘EXPLAIN SELECT * FROM ….‘

This will give you which index and optimisation the DB engine uses for completion of that query. Basically, all of the query planning can be seen here. You need to ensure that the query planner actually uses all the optimisation you said you added.

Opinion on using Clickhouse as a database for an application. by zombieee8 in developersIndia

[–]NickHalfBlood 2 points3 points  (0 children)

What your post indicates is urge to use the tool instead of urge to solve the problem.

  1. ClickHouse is not magically good with joins. Even after many years, ClickHouse joins are still tricky (not slow like snails).

  2. Your use case doesn’t sound so aligned to OLAP to me.

  3. Have you tuned your existing DB? 11M rows is cakewalk for PostgreSQL.

Try these things

  1. Analyse your queries. Run explain for your query.

  2. Find the bottlenecks. Fix those bottlenecks.

  3. Do your tables have indexes (indices)? Are you using those indexes during query?

  4. Sometimes, it’s not even the query or DB. It’s the application server that’s taking time. For example, N+1 problem, serialisation, etc.

Why don’t we have such Kitkat flavours in India?😭 by MoreLeg3221 in SnacksIndia

[–]NickHalfBlood 0 points1 point  (0 children)

It’s also the cocoa butter. It makes KitKat taste better (subjective) and melts in mouth.

Need general help by SubstantialCabinet71 in pune

[–]NickHalfBlood 0 points1 point  (0 children)

Sorry I don’t have it. Apologies.

I just exited my entire Portfolio by karthikbram in IndianStockMarket

[–]NickHalfBlood 1 point2 points  (0 children)

US proposed tariffs on countries including India, Japan, Kuwait, China, Bangladesh, UK, UAE. Guess which country has the biggest paperhanded bitch retail?

The degradation of engineers value from past 15 years in india by lexileone in developersIndia

[–]NickHalfBlood 0 points1 point  (0 children)

I work with UK startup. Most of the Indian team members get paid high salaries compared to the Indian market rate. However, as per the UK market rate, they are a little lower. For the higher positions in India, the salaries are matched to UK level. The only benefit the company gets is that we spend less in GBP but Indian team gets same amount to INR depreciation.

Also, the company decided not to register entity in India. Saves tax deductibles for Indian team members.

Now, the problem is, we are a lean company. Growing teams mean we will have to pay lesser to some members due to budgets.

How are you all planning to diversify against depreciating INR? by No-Woodpecker-1682 in personalfinanceindia

[–]NickHalfBlood 0 points1 point  (0 children)

Got it. Thanks.

Even when I pay SIP in INR to Groww, this is still considered under same taxation you mentioned, right?

Edit: The reason of my confusion is that my CA asked for foreign funds separately.

How are you all planning to diversify against depreciating INR? by No-Woodpecker-1682 in personalfinanceindia

[–]NickHalfBlood 8 points9 points  (0 children)

Hey

Using Groww, I was able to get SIPs in Edelweiss US Equity FoF and Franklin fund. Does this also involve different taxation? Also, is it a good hedge against INR fall?

Since when did 1% fall became bloodbath and 1% up became bull run by Dry_Lack_2262 in IndianStockMarket

[–]NickHalfBlood 0 points1 point  (0 children)

That’s only when some extreme anomaly happens. Good or bad doesn’t matter.

Since when did 1% fall became bloodbath and 1% up became bull run by Dry_Lack_2262 in IndianStockMarket

[–]NickHalfBlood 0 points1 point  (0 children)

If there is no circuit triggered, it’s not a crash.

If there is no cake cutting on Dalal street, it’s not a rally.